1 .\" $NetBSD: wscons.conf.5,v 1.19 2008/11/22 23:08:31 reed Exp $
3 .\" Copyright (c) 2000-2008 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Hubert Feyrer <hubert@feyrer.de>.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd workstation console config file
41 file defines parameters regarding to the workstation console (wscons).
42 The file consists of lines starting with a keyword, and one or more arguments.
43 Empty lines and lines starting with a hash
47 This configuration file is used by the
59 for details on enabling the rc.d script.
61 The following keywords and arguments are recognized:
62 .Bl -tag -width keyboard
63 .It Sy font Ar name Ar width Ar height Ar enc Ar file
64 Used to load a font via
67 gives a font name that can be used later,
69 can be used to specify the width of a font character in pixel,
71 is the same, just for the font characters' height.
73 is used to declare the font's encoding, see the description on
74 .Xr wsfontload 8 Ns 's
76 option for more detail.
78 gives the absolute path to the font file.
83 .It Sy screen Ar idx Ar scr Ar emul
84 Add and configure virtual console number
86 using a screen type of
90 terminal emulation (e.g. vt100). See
92 for further parameter description.
94 .It Sy keyboard Ar kbd
95 Attach and configure keyboard
98 .Dq Li "wsconscfg -k" .
105 the first free keyboard will be used.
108 for more information.
110 .It Sy encoding Ar enc
111 Set the keyboard map to the given language code
114 .Dq Li "wsconsctl -w encoding=enc" .
115 The map must be supported by the keyboard driver in use and must be
116 compiled into the kernel.
117 See the keyboard driver's manpage (e.g.,
122 .It Sy mapfile Ar file
123 Parses the contents of
125 which contains a keyboard map per line, and calls
126 .Dq Li "wsconsctl -w map+="
133 Used to attach and configure keyboard/mouse multiplexors, using
134 .Dq Li "wsconscfg -m idx" .
137 for more information.
139 .It Sy setvar Ar dev Ar var Ar val
140 Set arbitrary wscons variable
144 for specified control device
146 Can be used for direct modification of
148 variables, when no other keywords are suitable.
151 for more information.
154 Command arguments can be specified as
156 which makes default values come into effect as described in the
157 documentation of the utilities.
159 .Bl -tag -width /etc/wscons.conf -compact
160 .It Pa /etc/wscons.conf