Subject: Re: wscons termcap entry
To: None <>
From: Alan Barrett <>
List: tech-userlevel
Date: 07/02/2002 10:48:05
On Tue, 02 Jul 2002, Joerg Klemenz wrote:
> You may want to look at the wscons entry I created. It's not good, but its
> better than the others...
> If I understand termcap better I will make a new entry.

> wscons|NetBSD wscons in 25 line mode:\
> 	:ut:ms:kh=\E[7~:@7=\E[8~:\
> 	: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~:k0=\E[21~:\
> 	:F1=\E[23~:F2=\E[24~:co#80:li#25:tc=vt220:
> wscons-color|NetBSD wscons in 25 line mode with color:\
> 	:Co#16:NC#32:pa#256:\
> 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:\
> 	:tc=wscons:

I came up with the following termcap entries a couple of years ago,
with the assistance of a termcap-testing application whose name I have
forgotten, and cut and paste from various other sources.  (This was on
an i386 machine.)  The several chained entries instead of a single entry
are an artifact of the way I debugged them.

xx-wsvt25|A copy of the wsvt25 entry from NetBSD's default termcap file:\

wsvt25-fixedglitches|Fixed some bugs:\

wsvt25-colour|Added colour (note not spelled color to avoid a name collision):\

wsvt25-functionkeys|Fixed or added function keys F1-F12, insert, delete, home, end, PageUp, PageDown:\

wsvt25-kbsdel|Note that the backspace key sends a DEL code:\

wsvt25apb|Finally, this is what I use:\

--apb (Alan Barrett)