Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!sco!timr From: timr@sco.COM (Tim Ruckle) Newsgroups: comp.unix.sysv386 Subject: Re: vi and rlogin Summary: arrow key problems--use telnet (or upgrade TCP/IP version) Message-ID: <17523@scorn.sco.COM> Date: Fri, 07 Jun 91 18:55:39 GMT References: <852@tiamat.fsc.com> Sender: news@sco.COM Organization: The Santa Cruz Operation, Inc. Lines: 27 In article <852@tiamat.fsc.com> jim@tiamat.fsc.com ( IT Manager) writes: } When using "vi" under SCO Unix (or Xenix) after making a "rlogin" } connection (i.e. the SCO box is the remote machine), using the arrow } keys is a pain. I know that running "stty min 3 time 10" helps } make the problem go away, but I can't figure out how to get "vi" to } honor the changes. This is a known problem, and the easiest work-around is to use telnet instead of rlogin. The issue is resolved in SCO TCP/IP version 1.1.3 (for SCO UNIX) which is now shipping, and in SCO TCP/IP version 1.2.0 (for SCO XENIX) which is soon to be released. The problem is that rlogin sends the characters one packet at a time, and the arrow keys are actually sending a series of characters. The way vi tells whether you've hit the arrow key or typed in those characters separately is by how fast they come in--since they're coming in one per packet there can be problems with the timing. -timr -- Usenet: !{uunet,ucbvax!ucscc,decvax!microsof}!sco!timr, ...!mcsun!ukc!scol!timr Internet: [MX handlers] timr@sco.COM [others] timr%sco.COM@ucscc.UCSC.EDU USPS: Santa Cruz Operation, 400 Encinal St.,P.O. Box 1900, Santa Cruz, CA 95061 PSDN: [voice] (408) 425-7222 [fax] (408) 458-4227 [twx] 910-598-4510 SCO SACZ