🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1766

Bug with termcap entry name

#1766
From: Guy T. Schafer
Date: Thu, 14 Dec 1989 20:26
49 lines
1886 bytes
To Whom It May Concern:

A section of our /etc/termcap file looks like this:

#----------------
vs|xterm|vs100:cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\E[H:co#80:li#56:\
	:cl=\E[H\E[2J:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:\
	:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:md=\E[1m:mr=\E[7m:me=\E[m:\
	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:k1=\EOP:k2=\EOQ:k3=\EOR:\
	:k4=\EOS:ta=^I:pt:sf=\n:sr=\EM:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
	:MT:ks=\E[?1h\E=:ke=\E[?1l\E>:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:\
	:rs=\E[r\E<\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:am:xn:AL=\E[%dL:DL=\E[%dM:\
	:IC=\E[%d@:DC=\E[%dP:ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:hs:\
	:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:
VS|vix19|vt100-x19|Visual X-19:\
	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:tc=xterm:
#-----------------

when these commands are performed (c-shell):

	set term=vix19
	emacs

the arrow keys (ku, kd, kr, kl) do not work.  Checking the bindings with:

	M-x describe-bindings

shows that the arrow keys HAVE NOT BEEN MAPPED.

However, when these commands are performed (c-shell):

	set term=vt100-x19
	emacs

the arrow keys work fine.  They are bound correctly.

M-x emacs-version  reveals:
GNU Emacs 18.52.4 of Tue Aug 1 1989 on rags (berkeley-unix).

My only guess is that emacs is making some internal assumptions based on
seeing the characters 'vt100' as the term type.  Naughty emacs.

Guy T. Schafer
Burlington Coat Factory Warehouse
Data Processing Center
HC 61, Box 1B
Lebanon, NH 03766

...!dartvax!coat!guy
Technical Details
Message-ID: <8912142026.AA14119@rags.coat.com>
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!coat.com!guy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!coat.com!guy
From: guy@coat.com (Guy T. Schafer)
Newsgroups: gnu.emacs.bug
Subject: Bug with termcap entry name
Message-ID: <8912142026.AA14119@rags.coat.com>
Date: 14 Dec 89 20:26:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 49