Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!aurora!labrea!russell!rustcat From: rustcat@russell.STANFORD.EDU (Vallury Prabhakar) Newsgroups: comp.emacs Subject: Re: vt-100 function keys and GNU Emacs Message-ID: <2015@russell.STANFORD.EDU> Date: 28 Jan 88 10:36:43 GMT References: <4228@utai.UUCP> Reply-To: rustcat@russell.UUCP (Vallury Prabhakar) Distribution: na Organization: Yonder, the Apocalyptic Horizons Lines: 32 In article <4228@utai.UUCP> eric@ai.toronto.edu (Eric Yu) writes: +-> +-> On the VT-100, the cursor (arrow) keys produce ESC [ followed by +-> one of A, B, C, or D. +-> +-> The shifted PF keys produce ESC O and A, B, C, or D. +-> +-> Gosling Emacs seems to respect this convention. +-> But in GNU Emacs, both sets of keys produce the ESC O prefix, +-> to the effect that those keys are no longer distinguishable. +-> I don't know if this helps, but one of the problems I had when using my PC as a vt100 emulator for a Unix mainframe was: I tried binding the keys on the numeric keypad to some obvious cursor functions. It didn't work at first. Well, not completely. For example, the up-arrow would move the cursor to the previous line, BUT along with that some other characters would get inserted. I fixed this problem, by using the NUM-LOCK key in conjunction with the numeric keypad. That works fine. ^[Ox = NUM-LOCK + UP-ARROW ^[[A = UP-ARROW (sans NUM-LOCK) => The A would get inserted. -- Vallury Prabhakar -- [I have doubts about the above reply path. Please use `rustcat@russell.stanford.edu'.]