Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!cbatt!neoucom!wtm From: wtm@neoucom.UUCP (Bill Mayhew) Newsgroups: comp.sys.amiga Subject: Re: More bugs in DBW's VT100 Message-ID: <331@neoucom.UUCP> Date: Wed, 3-Dec-86 09:29:18 EST Article-I.D.: neoucom.331 Posted: Wed Dec 3 09:29:18 1986 Date-Received: Wed, 3-Dec-86 22:50:55 EST Organization: Northeastern Ohio Universities College of Medicine Lines: 42 Summary: garbage due to vi timeout In article <6478@ut-sally.UUCP>, srinivas@ut-sally.UUCP (Srinivasan Sankaran) 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. > > -srinivas I sounds like you are getting bitten by the timeout in vi that differntiates terminal generated escape sequences from the the user pressing the escape key, then after n milliseconds typing some command. On the VT100, the right arrow generates ^[ [ C, and in the keypad mode generates ^[ O c, which means that if things are going slow, and vi has you in keypad mode (which it does for the "normal" vt100 termcap or terminfo) that you are going to exit from insert mode, and then suddenly find yourself with a capital C on the line above the one you were working on. Here, we run over ethernet servers to the Vax and occasionally, an arrow escape sequence gets broken up between two ethernet packets and results in an unwanted insetion of A,B,C, or D depending on the arrow pushed. That's how I first encountered this on a real vt100. I'm not a vi expert; perhaps, you could change the durration of the timeout, or else operate at a lower baud rate, as the timeouts are calculated proportional to the baud rate. You also might try recompiling under Aztec rather than Lattice, as the stdio functions are faster in Lattice, so I'm told. I have a version of DBW's vt100 version 2.3 that was compiled under Lattice that our vax seems to believe is a real vt100 without problems. BTW: thanks DBW. vt100 is really nice, especially the kermit. Bill Mayhew Division of Basic Medical Sciences Northeastern Ohio Universities' College of Medicine Rootstown, OH 44272 USA phone: 216-325-2511 (...!cbatt!neoucom!wtm wtm@neoucom.UUCP)