Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!lll-tis!ptsfa!cogent!mark From: mark@cogent.UUCP (Captain Neptune) Newsgroups: comp.emacs Subject: Re: key bindings for Micro-EMACS Message-ID: <262@cogent.UUCP> Date: Tue, 25-Aug-87 13:40:36 EDT Article-I.D.: cogent.262 Posted: Tue Aug 25 13:40:36 1987 Date-Received: Thu, 27-Aug-87 02:30:51 EDT References: <449@cimcor.UUCP> <295@mundoe.mu.oz> Reply-To: mark@cogent.UUCP (Mark Steven Jeghers) Organization: Cogent Software Solutions, Stockton, CA Lines: 31 In article <295@mundoe.mu.oz> glf@mundoe.mu.oz (Giuseppe Fiusco) writes: >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. Sorry, I see this in a different light: There is a simple reason why one *could* use 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, thus employing LOTS of #ifdef structures so that it can run on lots of systems (not just UNIX). By putting the terminal definition stuff in the appropriate #ifdef's, the terminal description package *would* allow for a consistant, usable implementation across the different systems. -- ############################################################################## # Mark ###################### Ernie: Gee, Bert! Where'd all your files go ? # # Steven #################### Bert: My files! Er-r-r-r-r-r-rnie-e-e-e-e !! # # Jeghers ########## {ihnp4,cbosgd,lll-lcc,lll-crg}|{dual,ptsfa}!cogent!mark # ############################################################################## # Standard Disclaimer: Don't sue me. Sue my company. They have more money. # ##############################################################################