Subject: Re: vi and/or Network troubles.
To: None <port-sparc@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc
Date: 09/29/2002 16:22:20
On Sun, Sep 29, 2002 at 09:12:18AM +0200, Bernd Sieker wrote:
> On 29.09.02, 01:41:14, Laurent FAILLIE wrote:
> > 
> > Everything works OK but when I'm trying to use vi :
> > sometime (randomly), when I use 'up' or 'down' key, vi
> > have strange reaction : for example, w/ the 'up' key,
> > vi switch to edition mode and insert 'B' at each key
> > press.
> 
> This is a known problem with vi. I don't know the correct solution, but
> it is not NetBSD specific, and is mentioned on several vi help pages.
> 
> A workaround is to use the h j k and l keys for cursor movement.
> 
> The problem is that the cursor keys send more than one character, and if
> the interval between the two is too big, they are interpreted as two
> different keystrokes.
> 
> It should be possible to set a line speed somewhere, but I can't
> remember where.

I have this in my .exrc, which seems to help, at last for local networks:
set keytime=10

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--