From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c0609305a2415f12,start X-Google-Attributes: gid111c93,public From: Rolf Hemmerling Subject: How does Emacs really use /etc/termcap ? Date: 1998/02/09 Message-ID: <34DEA42E.126DE40F@geocities.com>#1/1 X-Deja-AN: 323350266 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Reply-To: hemmerling@geocities.com Content-Type: text/plain; charset=us-ascii Organization: Hemmerling Newsgroups: comp.os.linux.alpha How does Emacs really use /etc/termcap ? If I add a definition (with a new name, e.g. "myterm"), reboot, and after executing the shell command "export TERM=myterm", Emacs still claims that it does not know this terminal definition. If I rename an original TERMCAP definition (e.g. vt220) to myterm and even add another incompatible terminal definition (e.g. wy50) with the name vt220, or not, Emacs still uses the proper escape sequences for terminal display setup, instead of the wrong escape sequences (or instead of refusing to work if there is no vt220 definition left). The same for the main screen with its virtual displays ! Of course with all this, I reboot my system after a modification of /etc/termcap, and after running LINUX again I export properly the wanted terminal type by "export TERM=myterm" or "export TERM=vt220" I know about the special terminal files of emacs, at the directory /usr/share/emacs/19.34/lisp/term But if there is a file for a terminal or not, it does not matter with my system. And for many terminal entries of /etc/termcap, there are no Lisp files. The same with the vi (or vim) editor. There is not terminfo file on my LINUX system, vi uses the /etc/termcap: A new terminal definition is not found !!! The built-in terminal definitions of vi are ansi,xterm,iris-ansi and dumb, by the way. O.k., there is the CURSES terminal library, how does it play in this game ? My system: S.U.S.E. Linux 5.1 of Nov 1997 (Linux 2.0.32) Any help ? Please answer to the newsgroups and to me *personally* by E-Mail, too, in german or english language ! Sincerely Rolf / / / Alone on the data highway... / / like on an allee in Hannover-Herrenhausen / / / Rolf Hemmerling, Germany / / http://home.pages.de/~rolf.hemmerling/