Hello.

There are pccon* terminal descriptions for AMD/Intel PC consoles
in /etc/termcap.I have been using them on various computers
since 2011 without problems.

I suggest to use pccon0 instead of vt220 by default
for amd64 and i386because vt220 has not good support
of navigation and function keys oftypical PC keyboard.

History of pccon*:
http://marc.info/?l=ncurses-bug&m=131825802104588&w=2
http://marc.info/?l=openbsd-misc&m=132125411729722&w=2


--
Alexei Malinin


diff -dur src.orig/etc/etc.amd64/ttys src/etc/etc.amd64/ttys
--- src.orig/etc/etc.amd64/ttys Wed Jan  9 20:39:42 2008
+++ src/etc/etc.amd64/ttys      Wed Jul 15 16:14:29 2015
@@ -3,19 +3,19 @@
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC0  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC1  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC2  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC3  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC4  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC5  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC6  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC7  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC8  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC9  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyCa  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyCb  "/usr/libexec/getty std.9600"   vt220   off secure
+console        "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC0  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC1  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC2  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC3  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC4  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC5  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC6  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC7  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC8  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC9  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyCa  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyCb  "/usr/libexec/getty std.9600"   pccon0  off secure
 tty00  "/usr/libexec/getty std.9600"   unknown off
 tty01  "/usr/libexec/getty std.9600"   unknown off
 tty02  "/usr/libexec/getty std.9600"   unknown off
diff -dur src.orig/etc/etc.i386/ttys src/etc/etc.i386/ttys
--- src.orig/etc/etc.i386/ttys  Wed Jan  9 20:39:42 2008
+++ src/etc/etc.i386/ttys       Wed Jul 15 16:14:42 2015
@@ -3,19 +3,19 @@
 #
 # name getty                           type    status          comments
 #
-console        "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC0  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC1  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC2  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC3  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC4  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC5  "/usr/libexec/getty std.9600"   vt220   on  secure
-ttyC6  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC7  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC8  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyC9  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyCa  "/usr/libexec/getty std.9600"   vt220   off secure
-ttyCb  "/usr/libexec/getty std.9600"   vt220   off secure
+console        "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC0  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC1  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC2  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC3  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC4  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC5  "/usr/libexec/getty std.9600"   pccon0  on  secure
+ttyC6  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC7  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC8  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyC9  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyCa  "/usr/libexec/getty std.9600"   pccon0  off secure
+ttyCb  "/usr/libexec/getty std.9600"   pccon0  off secure
 tty00  "/usr/libexec/getty std.9600"   unknown off
 tty01  "/usr/libexec/getty std.9600"   unknown off
 tty02  "/usr/libexec/getty std.9600"   unknown off

Reply via email to