Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!hcx1!hcx3!shirono From: shirono@hcx3.SSD.HARRIS.COM Newsgroups: comp.emacs Subject: Re: running vi inside GNU emacs vs. ftp Message-ID: <94600029@hcx3> Date: 15 May 89 15:01:00 GMT References: <39714@bbn.COM> Lines: 37 Nf-ID: #R:bbn.COM:39714:hcx3:94600029:000:2037 Nf-From: hcx3.SSD.HARRIS.COM!shirono May 15 11:01:00 1989 **> comp.emacs dsill@RELAY.NSWC.NAVY.MIL May 10, 1989 <** > But the real problem is that one would like to be able to run an > arbitrary screen-oriented program while telnet'ed inside emacs. > Running vi is just one of many possibilities. > > The terminal-emulator is close to a real solution, but isn't very > clean. Does anyone have a real vt100 emulator? Some time ago I started thinking about something similar. I decided that it would be nice if GNU Emacs had an ANSI X3.64 terminal emulator. I looked at terminal.el long and hard. I analyzed what it took to do things. I decided against it, basically because it seemed to me it would take an inordinate amount of time to process ANSI X3.64 escape sequences. The correct solution would be to create a terminfo entry for the GNU Emacs terminal emulator. This need not be as hard as it sounds. If you are lucky, somewhere you might have a termcap to terminfo conversion package. If so, stuff your emulator termcap entry (should be in environment variable TERMCAP) in a file and run your conversion package. If you have access to no such tool, then I'm afraid you'll have to create the entry by hand. In case you might have a problem in stuffing new terminfo entries in the system-wide files, I believe it is standard procedure for individual users to be able to specify alternate paths for terminal definition entries. It is probably the environment variable TERMINFO. --Roberto ______________________________________________________________________________ || Internet: shirono@ssd.harris.com Roberto Shironoshita || Harris Corporation || ...!novavax-\ Computer Systems Division || UUCP: -!hcx1!shirono || ...!uunet---/ ------------------------------------------------------------------------------ DISCLAIMER: The opinions expressed here are my own; they in no way reflect the opinion or policies of Harris Corporation.