From ae12d33852d7bba5400f8ceb94795bf2227f7c3b Mon Sep 17 00:00:00 2001 From: miod <> Date: Sun, 7 Mar 2010 21:10:22 +0000 Subject: [PATCH] Make the console terminal type default to `vt220' rather than `unknown'. If it is wrong you still have to change it, but it will be correct 99% of the time and thus you can simply press enter when tset asks for the terminal type and be done with it. This is already the standard for most platforms, but a few had been left in the dark. pointed to by and ok deraadt@ --- src/etc/etc.landisk/ttys | 4 ++-- src/etc/etc.mvme68k/ttys | 4 ++-- src/etc/etc.mvme88k/ttys | 4 ++-- src/etc/etc.mvmeppc/ttys | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/etc/etc.landisk/ttys b/src/etc/etc.landisk/ttys index 7e9e74e6..92e40a45 100644 --- a/src/etc/etc.landisk/ttys +++ b/src/etc/etc.landisk/ttys @@ -1,7 +1,7 @@ # -# $OpenBSD: ttys,v 1.3 2008/01/09 17:39:42 miod Exp $ +# $OpenBSD: ttys,v 1.4 2010/03/07 21:10:18 miod Exp $ # # name getty type status comments # -console "/usr/libexec/getty std.9600" unknown on secure +console "/usr/libexec/getty std.9600" vt220 on secure ttya "/usr/libexec/getty std.9600" unknown off secure diff --git a/src/etc/etc.mvme68k/ttys b/src/etc/etc.mvme68k/ttys index dbe7786d..ea5d5f98 100644 --- a/src/etc/etc.mvme68k/ttys +++ b/src/etc/etc.mvme68k/ttys @@ -1,11 +1,11 @@ # -# $OpenBSD: ttys,v 1.10 2009/03/01 22:08:12 miod Exp $ +# $OpenBSD: ttys,v 1.11 2010/03/07 21:10:22 miod Exp $ # # name getty type status comments # # If the console is marked insecure, single-user requires # the root password. -console "/usr/libexec/getty std.9600" unknown on secure +console "/usr/libexec/getty std.9600" vt220 on secure ttya "/usr/libexec/getty std.9600" unknown off secure # 147/162 console ttyb "/usr/libexec/getty std.9600" unknown off ttyc "/usr/libexec/getty std.9600" unknown off diff --git a/src/etc/etc.mvme88k/ttys b/src/etc/etc.mvme88k/ttys index 518fe7c1..1f32ec2f 100644 --- a/src/etc/etc.mvme88k/ttys +++ b/src/etc/etc.mvme88k/ttys @@ -1,11 +1,11 @@ # -# $OpenBSD: ttys,v 1.9 2008/01/09 17:39:42 miod Exp $ +# $OpenBSD: ttys,v 1.10 2010/03/07 21:10:22 miod Exp $ # # name getty type status comments # # If the console is marked insecure, single-user requires # the root password. -console "/usr/libexec/getty std.9600" unknown on secure +console "/usr/libexec/getty std.9600" vt220 on secure # MVME188 dart(4) serial ports ttya "/usr/libexec/getty std.9600" unknown off secure # console ttyb "/usr/libexec/getty std.9600" unknown off diff --git a/src/etc/etc.mvmeppc/ttys b/src/etc/etc.mvmeppc/ttys index ab4415bb..6b5e1540 100644 --- a/src/etc/etc.mvmeppc/ttys +++ b/src/etc/etc.mvmeppc/ttys @@ -1,9 +1,9 @@ # -# $OpenBSD: ttys,v 1.3 2008/01/09 17:39:42 miod Exp $ +# $OpenBSD: ttys,v 1.4 2010/03/07 21:10:22 miod Exp $ # # name getty type status comments # -console "/usr/libexec/getty std.9600" unknown on secure +console "/usr/libexec/getty std.9600" vt220 on secure tty00 "/usr/libexec/getty std.9600" unknown off secure tty01 "/usr/libexec/getty std.9600" unknown off tty02 "/usr/libexec/getty std.9600" unknown off