Subject: "wscons" termcap entry?
To: None <tech-userlevel@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-userlevel
Date: 10/18/2000 00:56:52
The current "wsvt25" termcap entry does not handle the function (and
other "fancy") keys, on at least a peecee.  The following termcap entry
is a modified vt220 entry with some bits removed and new function key
entries added.  Should we add something like this to our termcap file?
I haven't finished double checking all the old vt220 entries yet, so
this entry could be improved...

# do we want/need vt#3 ??
wscons|NetBSD wscons:\
	:Co#16:NC#32:pa#256:ut:ms:\
	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:\
	:co#80:li#25:\
	:am:bs:mi:pt:\
	:vt#3:\
	:RA=\E[?7l:SA=\E[?7h:\
	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
	:if=/usr/share/tabset/vt100:im=\E[4h:\
	:is=\E[1;24r\E[24;1H:\
	:le=^H:mb=\E[5m:\
	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:\
	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
	:rf=/usr/share/tabset/vt100:\
	:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
	:sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:\
	:ks=\E[?1h\E=:\
	:kb=^H:\
	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
	:kI=\E[2~:kD=\E[3~:kh=\E[7~:@7=\E[8~:kN=\E[6~:kP=\E[5~:\
	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Sales, Support and Service:  http://www.wasabisystems.com/