Randall R Schulz wrote: > > At 20:49 2003-01-25, Doug VanLeuven wrote: > > >Randall R Schulz wrote: > > > > > > At 15:39 2003-01-25, Max Bowsher wrote: > > > >Larry Hall (RFK Partners, Inc) wrote: > > > > > At 07:24 PM 1/24/2003, Max Bowsher wrote: > > > > >> First, I'd like to say thanks for fixing a long-standing bug in vim: > > > > >> Using the arrow keys in insert mode cancelled it. > > > > > > > > > > Hm, a quick check here with cygwin 1.3.17 and vim 6.1 doesn't show > > > > > this problem. Maybe I'm misunderstanding what you're doing? > > > > > > > >I doubt it. I don't have an old Cygwin around to verify this, but > > since the > > > >bug is gone now, it doesn't matter really. > > > > > > > > > > > >Max. > > > > > > Max, > > > > > > There is (or was) more to this than the simple unconditional, uniform > > > occurrence of the symptom you report, since I've never seen them either > > > (in any version of Cygwin or Vim), and I use arrow keys in insert > > mode plenty. > > > > > > Randall Schulz > > > > >I didn't see it either until I set up a new installation where > >there was no vimrc in any of the places vim looks. > >Seems it only happened when vim is in vi compatibility mode. > > > >... > > > > > >Try it out. > >Run vim. set compatible. Either command window or rxvt although they > >each behave slightly differently. > > > >vim in cygwin TERM insert mode leftarrow yeilds E388: Definition not > >found upkey just breaks out of insert mode. > > > >vim in rxvt yeilds an inserted line above plus A or B or C or D > >depending on which arrow. > > > >then put back vim. set nocompatible. vim will be ok. > > Doug, > > I don't think there's a bug involved here. Vi didn't handle arrow keys > in insert mode, thus the ESC that signals the beginning of any arrow or > function key takes Vi (but not Vim) out of insert mode. > > Randy
Sorry for the faux paus. You are correct in that this is vim's behavior on all the platforms I could check out. How soon we forget. Jees. Is my memory going or did vi get past that stage with the introduction of SysV? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/