42704c41c9
correct oder of sections; even comment in some .Xr's in one case.
122 lines
3.9 KiB
Groff
122 lines
3.9 KiB
Groff
.\" $NetBSD: wscons.conf.5,v 1.7 2001/09/11 01:01:59 wiz Exp $
|
|
.\"
|
|
.\" Copyright 2000, 2001 Hubert Feyrer <hubertf@netbsd.org>
|
|
.\" All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by Hubert Feyrer
|
|
.\" for the NetBSD Project.
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
|
.\" derived from this software without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
.\"
|
|
.Dd September 2, 2000
|
|
.Dt WSCONS.CONF 5
|
|
.Os
|
|
.Sh NAME
|
|
.Nm wscons.conf
|
|
.Nd workstation console config file
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
file defines parameters regarding to the workstation console (wscons).
|
|
The file consists of lines starting with a keyword, and one or more arguments.
|
|
Empty lines and lines starting with a hash
|
|
.Pq Dq \&#
|
|
are ignored.
|
|
.Pp
|
|
The following keywords and arguments are recognized:
|
|
.Bl -tag -width keyboard -compact
|
|
.It Sy screen idx scr emul
|
|
Add and configure virtual console number
|
|
.Sy idx
|
|
using a screen type of
|
|
.Sy scr
|
|
(e.g. 80x25) and a
|
|
.Sy emul
|
|
terminal emulation (e.g. vt100). See
|
|
.Xr wsconscfg 8
|
|
for further parameter description.
|
|
.Pp
|
|
.It Sy font name width height enc file
|
|
Used to load a font via
|
|
.Xr wsfontload 8 .
|
|
.Sy name
|
|
gives a font name that can be used later,
|
|
.Sy width
|
|
can be used to specify the width of a font character in pixel,
|
|
.Sy height
|
|
is the same, just for the font characters' height.
|
|
.Sy enc
|
|
is used to declare the font's encoding, see the description on
|
|
.Xr wsfontload 8 's
|
|
.Fl e
|
|
option for more detail.
|
|
.Sy file
|
|
gives the absolute path to the font file.
|
|
See
|
|
.Xr wsfontload 8
|
|
for more information.
|
|
.Pp
|
|
.It Sy keyboard <wsconscfg -k args>
|
|
The given argument(s) are handed off to
|
|
.Dq Li "wsconscfg -k"
|
|
for attaching and configuration of keyboards. See
|
|
.Xr wsconscfg 8
|
|
for more information.
|
|
.Pp
|
|
.It Sy encoding <wsconsctl -w encoding=arg>
|
|
Set the keyboard map to the given language code. The map
|
|
must be supported by the keyboard driver in use and must be
|
|
compiled into the kernel. See the keyboard driver's manpage (eg.
|
|
.Xr pckbd 4 ,
|
|
.Xr ukbd 4 )
|
|
for details.
|
|
.Pp
|
|
.It Sy mapfile
|
|
Passes the contents of a file containing a keyboard map line by line to
|
|
.Dq wsconsctl -w map+=
|
|
See
|
|
.Xr wsconsctl 8
|
|
for details.
|
|
.Pp
|
|
.It Sy mux <wsconscfg -m args>
|
|
Used to attach and configure keyboard/mouse multiplexors. See
|
|
.Xr wsconscfg 8
|
|
for more information.
|
|
.Pp
|
|
.El
|
|
Command arguments can be specified as
|
|
.Dq -
|
|
which makes default values come into effect as described in the
|
|
documentation of the utilities.
|
|
.Sh FILES
|
|
.Bl -tag -width /etc/wscons.conf -compact
|
|
.It Pa /etc/wscons.conf
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr wscons 4 ,
|
|
.Xr wsconscfg 8 ,
|
|
.Xr wsfontload 8
|