1 .\" $NetBSD: wsconscfg.8,v 1.19 2006/06/24 21:03:57 wiz Exp $
4 .\" Matthias Drochner. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nd configure and switch between virtual terminals on a wscons display
59 tool allows to create, delete and switch between virtual terminals
60 on display devices controlled by the wscons terminal framework if
61 the underlying display hardware driver supports multiple screens.
62 Further it controls the assignment of keyboards to displays.
65 argument specifies which virtual terminal is to be configured; the
66 allowed numbers are from 0 to an implementation-specified value
67 (currently 7, allowing for 8 virtual terminals on a display).
68 In keyboard configuration mode, it specifies the
70 device to attach or detach.
71 Without further option arguments, a virtual terminal is created
72 with implementation specific properties and a default terminal
73 emulation variant selected at kernel compile time.
76 .Bl -tag -width xxxxxxxxx
78 Delete the specified terminal.
79 A terminal opened by a program will not be deleted unless the
82 Terminals used by the operating system console or a graphics program
83 (X server) cannot be deleted.
86 flag, the keyboard specified by
88 will be detached from the wscons display.
91 flag, the multiplexor specified by
93 will be detached from the wscons display.
95 Specify the terminal emulation to use for the virtual terminal.
96 The set of available terminal emulations is determined at kernel
102 Force deleting of a terminal even if it is in use by a user space
105 Specify the control device of the wscons display to operate on.
109 Print the index of the current virtual terminal.
111 Do keyboard related operations instead of virtual screen configuration.
112 Without other flags, a keyboard will be attached to the display
116 argument can be omitted, in this case the first free keyboard will
119 Do multiplexor related operations instead of virtual screen
121 Without other flags, a multiplexor will be attached to the display
124 Switch to the specified virtual terminal.
126 Specify a screen type to use.
127 Screen types refer to display format, colour depth and other
128 low-level display properties.
131 arguments are defined by the underlying display device driver.
136 utility will be invoked in system startup by the
138 script, controlled by the
144 .Dl wsconscfg -t 80x50 -e vt100 1
146 Configure screen 1 (i.e., the second), it will get the type
148 and use the VT100 terminal emulation.
151 is a screen type offered by the
154 In this particular case, an 8\(mu8-font must be loaded before to
155 make the screen useful.
161 Connect the first unconnected keyboard to the display.
180 There should be an easy way to get a list of the screen types
181 available on a display, and of the emulations supported by the