Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!maxim!prc From: prc@erbe.se (Robert Claeson) Newsgroups: comp.mail.elm Subject: Re: Arrow key bug in elm 2.2 PL14. Message-ID: <1030@maxim.erbe.se> Date: 30 Nov 89 11:57:10 GMT References: <1271@kuling.UUCP> <1989Nov28.152904.8745@DSI.COM> Organization: ERBE DATA AB, Jarfalla, Sweden Lines: 20 In article <1989Nov28.152904.8745@DSI.COM>, syd@DSI.COM (Syd Weinstein) writes: > >The command parsing in elm.c seems to presuppose that arrow key commands > >always start with ESC (\033). This is not true. A vt220 in 8 bit mode > >uses as the CSI (Command Seqeunce Introducer) the octal \233 to mean > >the same thing as ESC[ in 7 bit mode. > This one is not a bug, but a limitation. Elm was never designed to > handle arbitary cursor keys, only VT100 and HP. VT220's are common enough these days that it would be worth adding support for the 8-bit control characters as well. As for me, I use a VT220 in Multinational mode but with 7-bit controls. Too many (American) applications tend to strip the high-most data bit (what some people mistakenly believe is the parity bit that is part of the interface and never should be passed on to applications by the tty driver). -- Robert Claeson E-mail: rclaeson@erbe.se ERBE DATA AB