Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!bmc!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.mail.elm Subject: Arrow key bug in elm 2.2 PL14. Message-ID: <1271@kuling.UUCP> Date: 27 Nov 89 00:01:42 GMT Sender: news@kuling.UUCP Reply-To: irf@kuling.UUCP (Bo Thide') Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 21 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. A quick and dirty hack to fix this is to add, in the file elm.c, case '\233': before line 646 case ESCAPE: ... I hope someone in the development team will look at this bug more thoroughly than I am able to. There may be other problems of a similar nature elsewhere in the code. Bo ^ Bo Thide'-------------------------------------------------------------- | | Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden |I| [In Swedish: Institutet f|r RymdFysik, Uppsalaavdelningen (IRFU)] |R| Phone: (+46) 18-403000. Telex: 76036 (IRFUPP S). Fax: (+46) 18-403100 /|F|\ INTERNET: bt@irfu.se UUCP: ...!uunet!sunic!irfu!bt ~~U~~ -----------------------------------------------------------------sm5dfw