NetBSD/share/man/man5/wscons.conf.5

154 lines
4.2 KiB
Groff
Raw Normal View History

2004-08-21 21:04:54 +04:00
.\" $NetBSD: wscons.conf.5,v 1.13 2004/08/21 17:04:54 hubertf Exp $
2000-09-06 02:41:53 +04:00
.\"
.\" Copyright 2000, 2001 Hubert Feyrer <hubertf@NetBSD.org>
2001-04-10 00:19:51 +04:00
.\" 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:
2004-08-21 21:04:54 +04:00
.\" This product includes software developed by Hubert Feyrer for
.\" the NetBSD Project.
2001-04-10 00:19:51 +04:00
.\" 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.
2000-09-06 02:41:53 +04:00
.\"
.Dd April 26, 2002
2000-09-06 02:41:53 +04:00
.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.
2000-11-17 13:14:16 +03:00
Empty lines and lines starting with a hash
.Pq Dq \&#
are ignored.
2000-09-06 02:41:53 +04:00
.Pp
The following keywords and arguments are recognized:
.Bl -tag -width keyboard
.It Sy font Xo
.Ar name Ar width Ar height
.Ar enc Ar file
.Xc
2000-09-06 02:41:53 +04:00
Used to load a font via
.Xr wsfontload 8 .
.Ar name
2000-09-06 02:41:53 +04:00
gives a font name that can be used later,
.Ar width
can be used to specify the width of a font character in pixel,
.Ar height
2000-09-06 02:41:53 +04:00
is the same, just for the font characters' height.
.Ar enc
2000-09-06 02:41:53 +04:00
is used to declare the font's encoding, see the description on
2003-06-28 02:43:37 +04:00
.Xr wsfontload 8 Ns 's
2000-11-17 13:14:16 +03:00
.Fl e
2000-09-06 02:41:53 +04:00
option for more detail.
.Ar file
2000-09-06 02:41:53 +04:00
gives the absolute path to the font file.
See
.Xr wsfontload 8
for more information.
.
.It Sy screen Ar idx Ar scr Ar emul
Add and configure virtual console number
.Ar idx
using a screen type of
.Ar scr
(e.g. 80x25) and a
.Ar emul
terminal emulation (e.g. vt100). See
.Xr wsconscfg 8
for further parameter description.
.
.It Sy keyboard Ar kbd
Attach and configure keyboard
.Ar kbd
using
.Dq Li "wsconscfg -k" .
If
.Ar kbd
is
.Sq Li -
or
.Sq Li auto ,
the first free keyboard will be used.
See
2000-09-06 02:41:53 +04:00
.Xr wsconscfg 8
for more information.
.
.It Sy encoding Ar enc
Set the keyboard map to the given language code
.Ar enc ,
using
.Dq Li "wsconsctl -w encoding=enc" .
The map must be supported by the keyboard driver in use and must be
compiled into the kernel.
See the keyboard driver's manpage (e.g.,
.Xr pckbd 4 ,
.Xr ukbd 4 )
for details.
.
.It Sy mapfile Ar file
Parses the contents of
.Ar file ,
which contains a keyboard map per line, and calls
.Dq Li "wsconsctl -w map+="
for each line.
See
.Xr wsconsctl 8
for details.
.
.It Sy mux Ar idx
Used to attach and configure keyboard/mouse multiplexors, using
.Dq Li "wsconscfg -m idx" .
See
2000-09-06 02:41:53 +04:00
.Xr wsconscfg 8
for more information.
.
.It Sy setvar Ar var Ns = Ns Ar val
Set wscons variable
.Ar var
to
.Ar val ,
using
.Dq Li "wsconsctl -w var=val" .
See
.Xr wsconsctl 8
for more information.
2000-09-06 02:41:53 +04:00
.El
.Pp
2000-09-12 13:53:41 +04:00
Command arguments can be specified as
.Dq -
which makes default values come into effect as described in the
documentation of the utilities.
2000-09-06 02:41:53 +04:00
.Sh FILES
.Bl -tag -width /etc/wscons.conf -compact
.It Pa /etc/wscons.conf
.El
.Sh SEE ALSO
.Xr wscons 4 ,
2000-09-06 02:41:53 +04:00
.Xr wsconscfg 8 ,
.Xr wsfontload 8