From 6e4e1ddc275b396b5fee44c38f368d50d8822f9f Mon Sep 17 00:00:00 2001 From: drochner Date: Sat, 15 May 1999 14:28:14 +0000 Subject: [PATCH] connect a keyboard to the display --- etc/rc.wscons | 15 ++++++++++++++- etc/wscons.conf | 4 +++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/etc/rc.wscons b/etc/rc.wscons index cfff2d223b65..276ae5f85729 100644 --- a/etc/rc.wscons +++ b/etc/rc.wscons @@ -1,4 +1,4 @@ -# $NetBSD: rc.wscons,v 1.2 1999/03/15 22:02:24 drochner Exp $ +# $NetBSD: rc.wscons,v 1.3 1999/05/15 14:28:14 drochner Exp $ wscfg=/usr/sbin/wsconscfg wsfld=/usr/sbin/wsfontload @@ -95,5 +95,18 @@ done cmd="$cmd $idx" eval $DOIT $cmd ;; + keyboard) + kbd=$arg1 + cmd=$wscfg + case $kbd in + -|auto) + cmd="$cmd -k" + ;; + *) + cmd="$cmd -k $kbd" + ;; + esac + eval $DOIT $cmd + ;; esac done ) < $config diff --git a/etc/wscons.conf b/etc/wscons.conf index 76f36189e765..744ef0a20ea1 100644 --- a/etc/wscons.conf +++ b/etc/wscons.conf @@ -1,4 +1,4 @@ -# $NetBSD: wscons.conf,v 1.2 1999/04/08 10:58:36 drochner Exp $ +# $NetBSD: wscons.conf,v 1.3 1999/05/15 14:28:14 drochner Exp $ # # workstation console configuration @@ -21,3 +21,5 @@ screen 3 - vt100 screen 4 - - #screen 4 80x25bf vt100 #screen 5 80x50 vt100 + +keyboard auto