Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* bogus vt100 entry in termcap
@ 1993-09-16 15:31 Eiji Hirai
  0 siblings, 0 replies; only message in thread
From: Eiji Hirai @ 1993-09-16 15:31 UTC (permalink / raw)


DEC OSF/1 1.3.  The /usr/share/lib/termcap's vt100 entry has some characters
misssing.  In particular, the vt100's ks and ke entries are missing a few
characters, which makes the vt100 keypad keys to transmit just numerals
instead of the control sequences.

Ultrix 4.2 and 4.3's termcap files had the right entries.  Is there any
reason why the termcap entry changed for vt100 in OSF/1??  I assume this is
a bug and not a feature.

Here's a patch.

*** termcap.old	Fri Feb  5 09:15:21 1993
--- termcap	Thu Sep 16 11:24:55 1993
***************
*** 73,79 ****
  	:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
  	:ct=2\E[3g:st=2\EH:\
  	:rf=/usr/share/lib/tabset/vt100:\
! 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h:ke=\E[?1l:\
  	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
  	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:\
  	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\
--- 73,79 ----
  	:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
  	:ct=2\E[3g:st=2\EH:\
  	:rf=/usr/share/lib/tabset/vt100:\
! 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
  	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
  	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:\
  	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\

-- 
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA

"I post, therefore I am." -Rene Descartes on Usenet


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-09-16 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-16 15:31 bogus vt100 entry in termcap Eiji Hirai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox