Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!burl!codas!usfvax2!jc3b21!larry From: larry@jc3b21.UUCP Newsgroups: comp.emacs Subject: Re: key bindings for Micro-EMACS Message-ID: <146@jc3b21.UUCP> Date: Sun, 30-Aug-87 13:17:47 EDT Article-I.D.: jc3b21.146 Posted: Sun Aug 30 13:17:47 1987 Date-Received: Tue, 1-Sep-87 01:18:52 EDT References: <449@cimcor.UUCP> <295@mundoe.mu.oz> <262@cogent.UUCP> Organization: St. Petersburg Jr. College, FL Lines: 41 Summary: terminal description stuff done! In article <262@cogent.UUCP>, mark@cogent.UUCP (Captain Neptune) writes: > 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. > > Just thought I'd put in a quick nudge for the mods I've finished to the uemacs 3.9 code. These change 4 or 5 files (and include 2 new header files as well), and as a result support both cursor control and function keys on generic UNIX machines (including ansi terminals and vt100-style things). Support is for cursor for,back,up,down; home; page up/down; end (for AT like XENIX stuff) and function keys f1-f10 (f10 == f0). That was all that was supported by termcap (for terminfo, I could add up to 64 function keys if any- one is REALLY interested :-). The code works properly on 3b2 (Sys V), PC/AT XENIX, and SUN (BSD 4.2). That is all I have access to, but it should run other places. The diffs are about 18k long, so I have not posted (will if there is enough interest) and I'm trying to get the patches back to the original poster as well. There are still a few problems, including the fact that ansi terminals will still muck up transfer of cursor keys from time-to-time. At least one brand of terminal (Wyse 85) ABSOLUTELY REFUSES to send a ^S to the computer, so those keys have to be rebound. Color doesn't work (yet) for XENIX systems (emacs is too smart sometimes :-), and I had to remove the typeahead code to implement the cursor/function keys (I'm working on it). There hasn't been ANY mail in by mailbox about this (well, one letter), so let me know how y'all feel about posting the stuff or whatever... -l (BTW, return mail may have to go through ...gatech!codas!usfvax2... instead of the akgua route. It depends on the phase of the moon or something!) -- +-----------------------------------+-- St. Petersburg Junior College --+ | Lawrence F. Strickland P.O. Box 13489 | | ...akgua!usfvax2!jc3b21!larry | St. Petersburg, FL 33733 | +-----------------------------------+-- Phone: +1 813 341 4705 ---------+