Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Change the default console from wsemul_sun/sun-ss5 to wsemul...



details:   https://anonhg.NetBSD.org/src/rev/a8f4a6e2e055
branches:  trunk
changeset: 752944:a8f4a6e2e055
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Mar 12 14:50:54 2010 +0000

description:
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.

diffstat:

 etc/etc.sparc64/ttys          |  14 +++++++-------
 sys/arch/sparc64/conf/GENERIC |  11 ++++++-----
 2 files changed, 13 insertions(+), 12 deletions(-)

diffs (65 lines):

diff -r 69bebce167b3 -r a8f4a6e2e055 etc/etc.sparc64/ttys
--- a/etc/etc.sparc64/ttys      Fri Mar 12 13:33:19 2010 +0000
+++ b/etc/etc.sparc64/ttys      Fri Mar 12 14:50:54 2010 +0000
@@ -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
diff -r 69bebce167b3 -r a8f4a6e2e055 sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC     Fri Mar 12 13:33:19 2010 +0000
+++ b/sys/arch/sparc64/conf/GENERIC     Fri Mar 12 14:50:54 2010 +0000
@@ -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 @@
 
 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 @@
 
 # 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  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)



Home | Main Index | Thread Index | Old Index