Change the default console from wsemul_sun/sun-ss5 to wsemul_vt100/wsvt25.

This allows for a colour console, fixes home/end keys not working and
works with the embedded wsvt25 description in libterminfo.
This commit is contained in:
roy 2010-03-12 14:50:54 +00:00
parent 4c7318c4d2
commit f4a46cfc64
2 changed files with 13 additions and 12 deletions

View File

@ -1,15 +1,15 @@
# $NetBSD: ttys,v 1.9 2008/10/07 10:00:02 abs Exp $
# $NetBSD: ttys,v 1.10 2010/03/12 14:50:54 roy Exp $
#
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
console "/usr/libexec/getty suncons" sun-ss5 on secure
constty "/usr/libexec/getty suncons" sun-ss5 off secure
ttyE0 "/usr/libexec/getty suncons" sun-ss5 off secure
ttyE1 "/usr/libexec/getty suncons" sun-ss5 off secure
ttyE2 "/usr/libexec/getty suncons" sun-ss5 off secure
ttyE3 "/usr/libexec/getty suncons" sun-ss5 off secure
console "/usr/libexec/getty suncons" wsvt25 on secure
constty "/usr/libexec/getty suncons" wsvt25 off secure
ttyE0 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE1 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE2 "/usr/libexec/getty suncons" wsvt25 off secure
ttyE3 "/usr/libexec/getty suncons" wsvt25 off secure
ttya "/usr/libexec/getty std.9600" unknown off secure
ttyb "/usr/libexec/getty std.9600" unknown off secure
ttyh0 "/usr/libexec/getty std.9600" unknown off secure

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.120 2010/03/10 03:11:49 macallan Exp $
# $NetBSD: GENERIC,v 1.121 2010/03/12 14:50:55 roy Exp $
#
# GENERIC machine description file
#
@ -22,7 +22,7 @@ include "arch/sparc64/conf/std.sparc64"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.120 $"
#ident "GENERIC-$Revision: 1.121 $"
maxusers 64
@ -901,7 +901,8 @@ wskbd0 at kbd0
# various options for wscons - we try to look as much like a standard
# sun console as possible
options WSEMUL_SUN # sun terminal emulation
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # allow us to be wsvt25
options WS_DEFAULT_FG=WSCOL_BLACK
options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options WSDISPLAY_COMPAT_USL # VT handling
@ -945,8 +946,8 @@ pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
pseudo-device pf # PF packet filter
pseudo-device pflog # PF log if
pseudo-device fss 4 # file system snapshot device
#pseudo-device bcsp # BlueCore Serial Protocol
#pseudo-device btuart # Bluetooth HCI UART (H4)