🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1774

Re: Bug with termcap entry name

#1774
From: Alan Bishop
Date: Sun, 17 Dec 1989 20:05
28 lines
1569 bytes
In article <8912142026.AA14119@rags.coat.com> guy@coat.com (Guy T. Schafer) writes:
>A section of our /etc/termcap file looks like this:
[...]
>VS|vix19|vt100-x19|Visual X-19:\
>	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:tc=xterm:
[...]
>the arrow keys (ku, kd, kr, kl) do not work.
[...]
>However, when these commands are performed (c-shell):
>	set term=vt100-x19
>	emacs
>the arrow keys work fine.
[...]
>My only guess is that emacs is making some internal assumptions based on
>seeing the characters 'vt100' as the term type.  Naughty emacs.

You are correct that emacs does special processing for certain kinds
of terminals.  However, it is not done in a 'naughty' way.  Please
look under 'Terminal Init' in Info.  (found under node 'Init File').

A quick solution is to make a link from <terminal-type>.elc to
vt100.elc in either your lisp/term directory or in a personal
lisp/term directory pointed to with EMACSLOADPATH (which should point
to the lisp directory, not lisp/term).  Note that the terminal-type
should be the value of TERM with everything past the first "-"
discarded.

alan
Technical Details
Message-ID: <1989Dec17.200540.16866@ncsuvx.ncsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu-cs!ncsuvx!news
References: <8912142026.AA14119@rags.coat.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu-cs!ncsuvx!news
From: agb@cscosl.ncsu.edu (Alan Bishop)
Newsgroups: gnu.emacs.bug
Subject: Re: Bug with termcap entry name
Message-ID: <1989Dec17.200540.16866@ncsuvx.ncsu.edu>
Date: 17 Dec 89 20:05:40 GMT
References: <8912142026.AA14119@rags.coat.com>
Reply-To: agb@cscosl.UUCP (Alan Bishop)
Distribution: gnu
Organization: NCSU (Student)
Lines: 28