Path: utzoo!utgpu!water!watmath!clyde!rutgers!super.upenn.edu!eecae!upba!unocss!hdr!mcmi!denny From: denny@mcmi.UUCP (Dennis Page) Newsgroups: comp.emacs Subject: Re: Using Emacs terminal mode w/SYSV Message-ID: <175@mcmi.UUCP> Date: 5 Jan 88 20:21:14 GMT References: <1821609@ncrcpx.UUCP> <126@axcess.UUCP> Reply-To: denny@mcmi.UUCP (Dennis Page) Organization: Medical Computer Management, Omaha, NE Lines: 30 In article <126@axcess.UUCP> allbery@axcess.UUCP (Brandon S. Allbery) writes: >[...] but, you need to create a >unique terminal entry for every terminal-mode window (termcap doesn't need >this, as it won't look in /etc/termcap if there's a valid termcap entry in >$TERMCAP). Actually, it's not quite as bad as that. First, you write (and tic) a terminfo entry for the fixed data like: emacs-virtual, bel=^P^G, clear=^P\f, cr=^P^A, cub1=^P^B, cud1=\n, 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, ich=^P_%p1%'\s'%+%c, ich1=^P_!, il=^P^O%p1%'\s'%+%c, il1=^P^O!, ind=\n, nel=\n, Then you set environment variables "TERM", "LINES" and "COLUMNS" to "emacs-virtual", te-height, and te-width respectively. You can do this by hand, in your .cshrc, or (feeling adventurous?) by hacking on terminal.el. If anyone does the mods to terminal.el, please send me a copy. It is on my list of things to do, but rather far down. You still have the problem of no pty drivers... If anyone has source to pty drivers (especially sysV), please, please, send me a copy! I'm willing to port! -- Denny Page Martha, the Clones are loose again!