Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!unido!pbinfo!corona!michael From: michael@pbinfo.UUCP (Michael Schmidt) Newsgroups: comp.emacs Subject: Re: key bindings for Micro-EMACS Message-ID: <108@corona.pb> Date: Tue, 25-Aug-87 04:09:20 EDT Article-I.D.: corona.108 Posted: Tue Aug 25 04:09:20 1987 Date-Received: Wed, 26-Aug-87 06:04:59 EDT References: <449@cimcor.UUCP> <295@mundoe.mu.oz> Organization: Uni-GH Paderborn, FB17/Informatik Lines: 28 Keywords: MicroGnu GNU Summary: arrow keys are possible Recently glf@mundoe.mu.oz (Giuseppe Fiusco) wrote: in article <449@cimcor.UUCP>, mike@cimcor.UUCP (Michael Grenier) says: > .................................. The terminfo library knows the > key sequences for each terminal, why not use curses which returns a > unique code for each arrow key, next page key, etc; like vi uses. There was a very simple reason for not using the terminal description library routines to do the key-bindings. If you look carefully at the source for MicroEMACS you will see that it is used on a large number of different systems (not just UNIX) so using the terminal description package would not allow for a consistant, usable implementation across the different systems. I really don't understand, what you're trying to say. I think, the real reason is, that for example the ansi cursor keys are starting with '\E[' and that is bound to a function in most emacses. GNU has the possibility to set it in the terminal dependent startup file and MicroGnuEmacs has a compile time option to include code to read the keys from terminfo/cap and it both works fine. Michael Schmidt -- UUCP: ...!seismo!unido!pbinfo!michael | Michael Schmidt or michael@pbinfo.UUCP | Universitaet-GH Paderborn, FB 17 CSNET: michael%pbinfo.uucp@Germany.CSNET | Warburger Str. 100 ARPA: michael%pbinfo.uucp@seismo.css.gov | D-4790 Paderborn, West Germany