[Bug 89660] Re: cursor control regression in vim
downgrading libvte9 package to edgy fixed the problem for me. -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
It seems extremely likely to me that this is a bug with vte, rather than vim, so I'm reassigning. vim is expecting the same sequences it has always expected from xterm and xterm-emulating ttys. xterm normally sends ESC [ A for cursor up; when keypad send mode is on (vim activates this mode), it sends ESC O A instead. Regardless of mode, control-cursor-up is represented as ESC [ 1 ; 5 A. gnome-terminal and xfce4-terminal (both of which use vte to handle terminal emulation), are currently sending erroneous codes for control- cursor-up (and others) when keypad send mode is on: ESC O 1 ; 5 A (which is not a valid sequence). vim doesn't recognize it, and interprets it directly, which means it is interpreted as end input mode; open a new line above current position; start inserting 1;5A Compare the following commands; after each command I am typing as input, a line consisting of updownrightleft, followed by a line of the same keys with the control key held down, followed by Control-D (to terminate input to cat). Here's how it looks in xterm: schmendrick$ cat /dev/null ^[[A^[[B^[[C^[[D ^[[1;5A^[[1;5C^[[1;5B^[[1;5D schmendrick$ tput smkx; cat /dev/null; tput rmkx ^[OA^[OB^[OC^[OD ^[[1;5A^[[1;5B^[[1;5C^[[1;5D The tput smkx command places the terminal into keypad send mode; the second tput command resets that mode. Note that while the normal cursor keys emit different sequences in the two different modes, the control- cursor-keys emit exactly the same sequences. Here's the same thing as it looks in gnome-terminal and xfce4-terminal: schmendrick$ cat /dev/null ^[[A^[[B^[[C^[[D ^[[1;5A^[[1;5B^[[1;5C^[[1;5D schmendrick$ tput smkx; cat /dev/null; tput rmkx ^[OA^[OB^[OC^[OD ^[O1;5A^[O1;5B^[O1;5C^[O1;5D Note that for both the normal cursor keys and the control-cursor-key combos, the [ character in the sequence is replaced with an O. This is more consistent, but it breaks with previous behavior, and xterm's behavior, and there is no way for vim to understand how to process these sequences (other than as literal vim commands, which is what you've seen). ** Changed in: vte (Ubuntu) Sourcepackagename: vim = vte ** Changed in: vte (Fedora) Sourcepackagename: vim = vte ** Summary changed: - cursor control regression in vim + control-cursor-key regression in vim -- control-cursor-key regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi. I can comfirm this bug. I'm on Feisty, using vim 7.0.164 and gnome- terminal. I had the same problem in bash, but this was resolved by adding export INPUTRC=/etc/inputrc to /etc/bas.bashrc (see bug 89235). Although it works in the terminal, vi still gives the control codes. J -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
** Changed in: gnome-terminal (upstream) Status: Unconfirmed = Confirmed -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
** Changed in: gnome-terminal (upstream) Status: Unknown = Unconfirmed -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
I'm experiencing the same issue with Vim on Fedora 7. However, I only get the issue if I'm running Vim inside of Gnome Terminal. If I run Vim in xterm, the control+cursor keys move by word, as expected. ** Also affects: vim (Fedora) Importance: Undecided Status: Unconfirmed -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi again, after made some tests I realize that only under Gnome's graphical session the problem manifest itself. I installed on the same PC several times Ubuntu 7.04 (based on Gnome 2.18) and it's sister Kubuntu 7.04 (based on KDE), but only on the firsts Vim gone crazy! :) To be sure, I tried to install also an old Ubuntu 6.10 (based on Gnome 2.16) on that PC, and all works correctly. Graphical Vim (GVim) seems to be ok for each release and for each graphical manager, but this is completely a different software and I think it share only the name with Vi. I metioned only to knowledge. So, may be this problem related to Gnome 2.18 itself and not to Vi? Should we change board for this bug-report? Bye, J. -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
** Bug watch added: GNOME Bug Tracker #418732 http://bugzilla.gnome.org/show_bug.cgi?id=418732 ** Also affects: gnome-terminal (upstream) via http://bugzilla.gnome.org/show_bug.cgi?id=418732 Importance: Unknown Status: Unknown -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi. For general knowledge: today a new release of vim is came out (7.0-164+1ubuntu7.1), but the problems with gnome-terminal remains the same :( Cheers, J. -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi there. Same problem for me, but with some news. I've installed latest official relelase of Ubuntu Feisty 7.04 on an HP Pavilion dv5165 laptop, and with vi (vim) editor the combos CTRL or ALT + arrow keys result in the same text (probably a codification of the combination?) 1;5C or 1;5D etc. etc. The version of installed vim (and relative packages) is 7.0-164+1ubuntu7. On the same machine, with previous version of vim (7.0-164+1ubuntu6~edgy1, on Ubuntu Edgy 6.10), all still work correctly. The news is that if I connect remotely to my laptop from a machine wich not present this problem, vim works normally, and the combos gives the waited result (ex: jump to right/left word). So (at least for me) only in local vim present the abnormal behaviour. I hope this can help you! Regards, J. -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi, I've noticed that this bug is NOT present when using MRXVT as the underlying terminal. The MRXVT version i'm using is from apt, as is VIM, and both are at the latest feisty version. This workaround works on AMD64 and x86. hth --Robin -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Sorry about the double post, I forgot to mention this For people who install MRXVT, you can make it look much prettier by tweaking the command used to start the terminal. Here's the command I use: mrxvt -sl 65535 -sr -ss plain -xft -xftaa -xftmsz 10 -xftsz 10 -xftah -xftga -xftht This makes the terminal use anti-aliased fonts (among other things) and brings the look much closer to that of gnome-terminal. --Robin -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
It's still there :'( -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
I can confirm it. It worked like a charm on all previous ubuntu releases. This is a feisty primer. -- cursor control regression in vim https://bugs.launchpad.net/bugs/89660 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi, I just tried removing the apt version of vim and installing from source, and the results are that this makes no difference. I'm pretty sure that my new source-install is not picking up any of my old apt configs, as I purged all of my vim packages before compiling: sudo apt-get remove vim vim-common vim-full vim-gui-common vim-ruby vim-runtime sudo apt-get autoremove sudo dpkg --purge vim vim-common vim-full vim-gui-common vim-ruby vim-runtime sudo apt-get build-dep vim **Dowload, ./configure, make** sudo checkinstall -D make install Cheers, --Robin -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 89660] Re: cursor control regression in vim
Hi Brian, I tried these keystrokes on vt1, and they aren't bound to anything, either on the command line or in Vim. One thing to note is that this behavior works fine in the terminal (Gnome Terminal) itself; if you type a few words in to the terminal and use these keystrokes, you'll notice that the cursor moves one word per stroke. Maybe it's this behavior I was previously using? Many thanks, --Robin On 3/8/07, Brian Murray [EMAIL PROTECTED] wrote: I am curious to know what happens if you try this is in a text based virtual terminal i.e. vt[1-4]. As far as I know the Ctrl-left-arrow and Ctrl-right-arrow aren't key strokes supported by vim and I spent some time pouring through the manual looking for them too. -- cursor control regression in vim https://launchpad.net/bugs/89660 -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Hi Brian, I tried these keystrokes on vt1, and they aren't bound to anything, either on the command line or in Vim. One thing to note is that this behavior works fine in the terminal (Gnome Terminal) itself; if you type a few words in to the terminal and use these keystrokes, you'll notice that the cursor moves one word per stroke. Maybe it's this behavior I was previously using? Also, I've had the chance to double-check the results I'm getting on my home machine with another machine here at work, and the results are the same (work machine is an AMD64 running Feisty.) Many thanks, --Robin -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
I am curious to know what happens if you try this is in a text based virtual terminal i.e. vt[1-4]. As far as I know the Ctrl-left-arrow and Ctrl-right-arrow aren't key strokes supported by vim and I spent some time pouring through the manual looking for them too. -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
OK, I've compared the configs, and there is no discernable difference between the working and non-working versions. FYI, here are the configs I've compared: /etc/vim/vimrc - no difference /usr/share/vim/vim70/debian.vim - One new comment line in the feisty version I've also tried installing a different terminal (aterm), and the problem is similar in this terminal, but with the letters c and d being inserted in to the buffer instead of 1;2D and 1;5D. Many thanks, --Robin -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
[EMAIL PROTECTED]:~$ dpkg -l *vim* | grep ii ii vim-common 7.0-164+1ubuntu6 Vi IMproved - Common files ii vim-full 7.0-164+1ubuntu6 Vi IMproved - enhanced vi editor - full fled ii vim-gui-common 7.0-164+1ubuntu6 Vi IMproved - Common GUI files ii vim-ruby 7.0-164+1ubuntu6 Vi IMproved - enhanced vi editor - with Ruby ii vim-runtime7.0-164+1ubuntu6 Vi IMproved - Runtime files I've just upgraded (apt-get upgrade) and done a full replace of the vim packages, but still no different. I'll compare my work configs tomorrow, as these work fine (in edgy). Many thanks, --Robin -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 89660] Re: cursor control regression in vim
Thanks for taking the time to report this bug and helping to make Ubuntu better. I have been unable to reproduce this bug using vim version 7.0-164+1ubuntu6. What version do you have installed? Thanks in advance. ** Changed in: vim (Ubuntu) Assignee: (unassigned) = Brian Murray Status: Unconfirmed = Needs Info -- cursor control regression in vim https://launchpad.net/bugs/89660 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs