Article View: gnu.emacs.bug
Article #99411terminal.el and terminfo
From: Hokey Stenn
Date: Fri, 21 Sep 1990 02:39
Date: Fri, 21 Sep 1990 02:39
45 lines
2064 bytes
2064 bytes
In GNU Emacs 18.55.2 of Tue Aug 7 1990 on mumps (RISC/os4.0) I think I have a reasonable way to handle terminal.el with terminfo. Unfortunately, my elisp is weak. If anybody is interested in getting this done faster than I'll be able to, please do so, and post your diffs to this list. Basically, find a "convenient" directory, and make sure `evt.ti' is in there. If not, create it and `tic' it. evt.ti is a terminfo file for emacs-virtual containing all the entries except for row, column, and ind@ (termcap's ns boolean). Whenever a request comes in for an emacs-virtual terminal, make sure the terminal is called something like emacs-virtual-79x22, and then see if there is an evt-79x22.ti file in the convienient directory. If so, assume it's been tic'ed. Otherwise, create the file with the following entries: evt-79x22|emacs-virtual-79x22, cols#79, lines#22, use=evt, evt-79x22-ns|emacs-virtual-79x22-ns, ind@, use=evt-79x22, and then run tic on the file. Voila. For what it's worth, here's evt.ti: evt|emacs-virtual, mir, xon, bel=^P^G, clear=^P\f, cr=^P^A, cub1=^P^B, cud1=^P\n, cuf1=^P^F, cup=^P=%p1%'\s'%+%c%p2%'\s'%+%c, dch=^Pd%p1%'\s'%+%c, dch1=^Pd!, dl=^P^K%p1%'\s'%+%c, dl1=^P^K!, ed=^PC, el=^Pc, home=^P=\s, ich=^P_%p1%'\s'%+%c, ich1=^P_!, il=^P^O%p1%'\s'%+%c, il1=^P^O!, ind=^P\n, nel=\n, If anybody has a less-bletcherous solution to this problem, I'd like to know about it. Regards, Hokey
Technical Details
Message-ID:
<9009210239.AA25978@mumps.plus5.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!mumps.plus5.com!hokeyShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,693d4f4deace5964,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-09-21 16:26:39 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!mumps.plus5.com!hokey From: hokey@mumps.plus5.com (Hokey Stenn) Newsgroups: gnu.emacs.bug Subject: terminal.el and terminfo Message-ID: <9009210239.AA25978@mumps.plus5.com> Date: 21 Sep 90 02:39:17 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 45 Posted: Fri Sep 21 03:39:17 1990