Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/wsconscfg update for keyboard attachment



details:   https://anonhg.NetBSD.org/src/rev/0d5ee2460999
branches:  trunk
changeset: 472985:0d5ee2460999
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat May 15 14:45:06 1999 +0000

description:
update for keyboard attachment

diffstat:

 usr.sbin/wsconscfg/wsconscfg.8 |  28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)

diffs (73 lines):

diff -r 94aad35e009f -r 0d5ee2460999 usr.sbin/wsconscfg/wsconscfg.8
--- a/usr.sbin/wsconscfg/wsconscfg.8    Sat May 15 14:28:14 1999 +0000
+++ b/usr.sbin/wsconscfg/wsconscfg.8    Sat May 15 14:45:06 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wsconscfg.8,v 1.4 1999/04/06 04:54:21 cgd Exp $
+.\"    $NetBSD: wsconscfg.8,v 1.5 1999/05/15 14:45:06 drochner Exp $
 .\"
 .Dd January 12, 1999
 .Os
@@ -10,6 +10,7 @@
 .Nm
 .Op Fl f Ar <ctldev>
 .Op Fl d Op Fl F
+.Op Fl k
 .Op Fl t Ar <type>
 .Op Fl e Ar <emul>
 .Ar index
@@ -18,12 +19,16 @@
 .Nm
 tool allows to create and delete virtual terminals on display devices
 controlled by the wscons terminal framework if the underlying display hardware
-driver supports multiple screens.
+driver supports multiple screens. Further it controls the assignment of
+keyboards to displays.
 The
 .Ar index
 argument specifies which virtual terminal is to be configured; the allowed
 numbers are from 0 to an implementation-specified value (currently 7, allowing
 for 8 virtual terminals on a display).
+In keyboard configuration mode, it specifies the
+.Xr wskbd 8
+device to attach or detach.
 Without further option arguments, a virtual terminal is created with
 implementation specific properties and a default terminal emulation variant
 selected at kernel compile time.
@@ -39,9 +44,19 @@
 deleted unless the
 .Fl F
 option is applied. Terminals used by the operating system console or a
-graphics program (X server) cannot be deleted.
+graphics program (X server) cannot be deleted. With the
+.Fl k
+flag, the keyboard specified by
+.Dq index
+(or the currently connected one, if none is given) will be detached from
+the wscons display.
 .It Fl F
 Force deleting of a terminal even if it is in use by a user space program.
+.It Fl k
+Do keyboard related operations instead of virtual screen configuration.
+Without other flags, a keyboard will be attached to the display device. The
+.Dq index
+argument can be omitted, in this case the first free keyboard will be used.
 .It Fl t Ar type
 Specify a screen type to use. Screen types refer to display format, colour
 depth and other low-level display properties. Valid
@@ -75,10 +90,15 @@
 display driver. In this particular case, an 8x8-font must be loaded
 before to make the screen useful. See
 .Xr wsfontload 8 .)
+.Pp
+.Dl wsconscfg -k
+.Pp
+Connect the first unconnected keyboard to the display.
 .Sh BUGS
 There should be an easy way to get a list of the screen types available
 on a display, and of the emulations supported by the kernel.
 .Sh SEE ALSO
-.Xr wscons 4
+.Xr wscons 4 ,
+.Xr wskbd 8 ,
 .Xr wsconsctl 8 ,
 .Xr wsfontload 8



Home | Main Index | Thread Index | Old Index