Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!uwvax!rutgers!clyde!cbatt!ukma!sean From: sean@ukma.ms.uky.csnet (Sean Casey) Newsgroups: comp.sys.amiga Subject: Re: More bugs in DBW's VT100 (OR ANY VT100 and another system) Message-ID: <5261@ukma.ms.uky.csnet> Date: Thu, 4-Dec-86 17:09:57 EST Article-I.D.: ukma.5261 Posted: Thu Dec 4 17:09:57 1986 Date-Received: Fri, 5-Dec-86 06:11:09 EST References: <3131@ece-csc.UUCP> <341@pttesac.UUCP> <6478@ut-sally.UUCP> <782@mips.UUCP> Reply-To: sean@ukma.UUCP (Sean Casey) Organization: The Leaning Tower of Patterson Office @ The Univ. of KY Lines: 34 In article <782@mips.UUCP> rick@mips.UUCP (Rick Frazier) writes: >> I compiled with Lattice (version ?.??). If I keep pressing any of the arrow >> keys in vi, a lot of lines with just one character (usually "C") get inserted >> in the in the file. > >I'm sure that many of the "netlanders" out there have seen this particular >"symptom" before , especially those working on *nix systems. It seems to be >a result of the control codes that the vt100 sends for the arrow keys, >with interaction due to character buffering: The explanation is a good one. I have experienced the same problem on both VT100s and VT102s (real ones from DEC). Considering that can be both a mode switch for vi AND an arrow key sequence, vi does quite well in differentiating the two. The solution: Don't use arrow keys in vi! Use 'h','j','k', and 'l'. This way you (1) don't have the problem with holding down the keys, (2) have your fingers much closer to the home keys, (3) can move much quicker because your fingers don't have to leave the keys, and (4) will be ready to play games that use the hjkl keys :-). If you need to move rapidly right and left, use 'w', and 'b' to move forward and back words, and use '0', and '$' to move to the beginning and end of a line. To move up and down quickly, use ^F, ^B, ^D, and ^U. Almost any vi command can be prefixed with a repeat count. Happy editing! Sean -- =========================================================================== Sean Casey UUCP: cbosgd!ukma!sean CSNET: sean@ms.uky.csnet ARPA: ukma!sean@anl-mcs.arpa BITNET: sean@UKMA.BITNET