Subject: wscons termcap entry
To: None <tech-userlevel@netbsd.org>
From: Joerg Klemenz <joerg@gmx.net>
List: tech-userlevel
Date: 07/02/2002 02:00:09
--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
hi,
I noted that the termcap entry for wscons (wsvt25) is very incomplete.
Also the vt220 entry that is used by default gets some keys wrong, namly
home, end and the F keys
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.
The other solution is to make wscons be more like a real vt220...
One needs to change /etc/ttys to have TERM=wscons as default.
I am still using 1.5 so forgive me if that has already been fixed.
joerg
--
NO CHANGE SORRY
-- jk.
--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=termcap-wscons
# NetBSD console aka "wscons" (somewhat vt220 compatible)
# These are probably wrong and need to be redone for real
#
# I tested this only on i386, I *hope* the other ports give the same
# keycodes...
#
# You can use vt220 entry for NetBSD, but then home, end, and F1-F12 will
# not work.
# (jk)
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:
# Note: Some programs (slrn, jed) will not work in a color wscons
# for some weird reason.
#
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:
--fdj2RfSjLxBAspz7--