From owner-freebsd-questions Tue Sep 26 23:54:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 81FD637B423 for ; Tue, 26 Sep 2000 23:54:09 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 26 Sep 2000 23:52:51 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8R6s1l87757; Tue, 26 Sep 2000 23:54:01 -0700 (PDT) (envelope-from cjc) Date: Tue, 26 Sep 2000 23:54:00 -0700 From: "Crist J . Clark" To: j mckitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: weird inconsistent editing behavior Message-ID: <20000926235400.D81242@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20000926131753.A24573@dogma.freebsd-uk.eu.org> <20000926234520.B81242@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000926234520.B81242@149.211.6.64.reflexcom.com>; from cjclark@reflexnet.net on Tue, Sep 26, 2000 at 11:45:20PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 26, 2000 at 11:45:20PM -0700, Crist J . Clark wrote: > On Tue, Sep 26, 2000 at 01:17:53PM +0100, j mckitrick wrote: > > > > This one really has me going. For the past 2 days, when I am editing a > > document with vi or vim, after cursoring up several lines, the console beeps > > and inserts a capital 'A' and goes into insert mode. After cursoring down > > several times, I get a capital 'B', a newline, and insert mode again. > > > > AFAIK, the termcap on this machine has not changed, and the term type is > > xterm-color, which is also correct. This *has* to be a stupid mistake of > > some kind, but I am at a loss to figure out what. Meanwhile, I will keep > > trying to solve it myself. > > I only see this effect over network connections when I hold down and > repeat an arrow key. An arrow key acctually produces several > characters. Try doing, > > > ^[[A > > I believe that's an ESC followed by '[' and 'A.' Now you see where the > 'A's come from? =) (Try the others to find the 'B.') That is, vi(1) > loses the association of that group of characters actually being one > keyboard event. > > Of course, the way to prevent this is to use h-j-k-l to move around > the vi screen. Oops, I didn't finish. I've also noticed this when manuevering the messages list in mutt. However, I just get an annoying beep and a 'key is not bound' message. I think it would be interesting to see if the characters are getting broken up and placed into separate packets. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message