summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-27 15:30:30 +0000
committerru <ru@FreeBSD.org>2000-12-27 15:30:30 +0000
commit4bb5f49662398b2c716ed1737fb2ad4ca436335d (patch)
treef1468f2d922f425fb0e1dc0ae9c5629ea3d7baf7 /usr.sbin/pcvt
parent6c6a7d37868897a158286c6ca08baf40fb719d09 (diff)
downloadFreeBSD-src-4bb5f49662398b2c716ed1737fb2ad4ca436335d.zip
FreeBSD-src-4bb5f49662398b2c716ed1737fb2ad4ca436335d.tar.gz
Prepare for mdoc(7)NG.
Diffstat (limited to 'usr.sbin/pcvt')
-rw-r--r--usr.sbin/pcvt/ispcvt/ispcvt.81
-rw-r--r--usr.sbin/pcvt/kcon/kcon.12
-rw-r--r--usr.sbin/pcvt/keycap/man5/keycap.520
-rw-r--r--usr.sbin/pcvt/scon/scon.112
-rw-r--r--usr.sbin/pcvt/vgaio/vgaio.838
5 files changed, 32 insertions, 41 deletions
diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.8 b/usr.sbin/pcvt/ispcvt/ispcvt.8
index 44cd75e..274a61f 100644
--- a/usr.sbin/pcvt/ispcvt/ispcvt.8
+++ b/usr.sbin/pcvt/ispcvt/ispcvt.8
@@ -72,6 +72,7 @@ Specifying
with the
.Fl c
option gives a verbose listing of the compile-time options.
+.El
.Sh DIAGNOSTICS
.Bl -tag -width Ds -compact
.Pp
diff --git a/usr.sbin/pcvt/kcon/kcon.1 b/usr.sbin/pcvt/kcon/kcon.1
index 900f81e..398cb64 100644
--- a/usr.sbin/pcvt/kcon/kcon.1
+++ b/usr.sbin/pcvt/kcon/kcon.1
@@ -93,12 +93,14 @@ To be used in conjunction with the
.Fl l
option.
This is the default behaviour.
+.El
.Sh FILES
.Bl -tag -width /usr/share/misc/keycap.pcvt -compact
.It Pa /usr/share/misc/keycap.pcvt
Keyboard capabilities data base file if nothing else was chosen during installation.
.It Pa /dev/console
Keyboard raw device.
+.El
.Sh SEE ALSO
.Xr keycap 3 ,
.Xr keycap 5
diff --git a/usr.sbin/pcvt/keycap/man5/keycap.5 b/usr.sbin/pcvt/keycap/man5/keycap.5
index 06d06ee..4de2765 100644
--- a/usr.sbin/pcvt/keycap/man5/keycap.5
+++ b/usr.sbin/pcvt/keycap/man5/keycap.5
@@ -63,10 +63,10 @@ upper case and blanks for readability.
.Sh CAPABILITIES
.Pp
.Bl -column indent indent
-.Sy Name Type Description
+.Sy "Name Type Description
.It "de bool Resets Keyboard mapping to compiled-in default"
.It "D<n> bool Disables key <n> completely"
-
+.It "
.It "m<n> num specify key numbers for ALT keys
.It "l<n> num specify key numbers for ALTGR keys
.It "h<n> num specify key numbers for SHIFT keys
@@ -75,19 +75,18 @@ upper case and blanks for readability.
.It "sh<n> num specify key number for the SHIFT LOCK key
.It "nl<n> num specify key number for the NUM LOCK key
.It "sc<n> num specify key number for the SCROLL LOCK key
-
+.It "
.It "K<n> str bind a string to a unshifted (normal) key
.It "S<n> str bind a string to a shifted key
.It "C<n> str bind a string to a control key
.It "A<n> str bind a string to a altgr key
-
+.It "
.It "tc str Entry of similar map \- must be last."
.El
-
+.Pp
Parameter <n> describing the key number can have values from 1 to 128.
-
+.Pp
A string parameter may have up to 15 characters.
-
.Pp
.Ss A Sample Entry
The following entry, which describes a test entry, is among the very
@@ -99,7 +98,6 @@ file as of this writing.
tt\||test\||Test entry which swaps y and z:\e
:K22=z:S22=Z:C22=\e032:\e
:K46=y:S46=Y:C46=\e031:
-
.Ed
.Pp
Entries may continue onto multiple lines by giving a \e as the last
@@ -118,15 +116,15 @@ File containing keyboard mapping descriptions.
The entry
.Dq Li l1#60
sets the keynumber for the ALTGR key to 60.
-
+.Pp
The entry
.Dq Li K100=hugo
binds the string 'hugo' to the key number 100.
-
+.Pp
The entry
.Dq Li K100=^D
binds the control character EOT (0x04) to the key number 100.
-
+.Pp
The entry
.Dq Li K100=\e000
binds the control character NUL (0x00) to the key number 100.
diff --git a/usr.sbin/pcvt/scon/scon.1 b/usr.sbin/pcvt/scon/scon.1
index 42f79e1..15a7cf7 100644
--- a/usr.sbin/pcvt/scon/scon.1
+++ b/usr.sbin/pcvt/scon/scon.1
@@ -134,14 +134,12 @@ Naturally, option
.Fl p
is available only for VGA boards.
Three flavors are available.
-
+.Pp
If used with argument
.Dq Ar default ,
this flag will restore the default palette
-.Po
-as installed by VGA ROM BIOS after hardware reset
-.Pc .
-
+(as installed by VGA ROM BIOS after hardware reset).
+.Pp
If used with argument
.Dq Ar list ,
the current VGA DAC palette entries are listed.
@@ -150,7 +148,7 @@ the table index, values for red, green, and blue, and if there's a
known name for this entry, the color name.
Trailing empty table
slots (RGB values all zero) are omitted.
-
+.Pp
Otherwise, four comma-separated arguments are expected.
The first
denotes the number of palette entry to be modified.
@@ -200,7 +198,7 @@ region is reset and the cursor is placed in the home position.
The command
.Dq Li scon Fl H s Ar 28
places the current screen into HP mode and sets the screen size to 28x80.
-
+.Pp
Invoking
.Do
.Li scon Fl p
diff --git a/usr.sbin/pcvt/vgaio/vgaio.8 b/usr.sbin/pcvt/vgaio/vgaio.8
index 87af495..87e498a 100644
--- a/usr.sbin/pcvt/vgaio/vgaio.8
+++ b/usr.sbin/pcvt/vgaio/vgaio.8
@@ -52,12 +52,10 @@ silly,
.Nm
cares of all the things necessary and allows the user to access the
registers of several register groups with their symbolic names.
-
.Ss Options
.Bl -tag -width 10n -offset indent
.It Fl d
Turn on the grammar parser debugger.
-
.El
.Ss Command language
The command language of
@@ -67,11 +65,11 @@ Commands are executed
line by line as they are entered.
Each line may contain any number of
semicolon-separated input/output commands.
-
+.Pp
Symbolic register names look like:
-
-.D1 Ao Em reggroup Ac Ao Em regnumber Ac
-
+.Pp
+.D1 Ao Em reggroup Ac Aq Em regnumber
+.Pp
with
.Aq Em regnumber
being any hexadecimal number
@@ -93,52 +91,46 @@ standing for the
or
.Em Timing sequencer ,
respectively.
-
+.Pp
An input instruction has the form
-
-.D1 Ao Em regname Ac ?
-
+.Pp
+.D1 Ao Em regname Ac \&?
+.Pp
and will cause
.Nm
to output a line like
-
.Bd -ragged -offset indent
-.Ao Em regname Ac \& = 0x Ns
-.Aq Em number
+.Aq Em regname
+.No = 0x Ns Aq Em number
.Ed
-
+.Pp
An output instruction looks like
-
.Bd -ragged -offset indent
.Ao Em regname Ac =
.Aq Em number
.Ed
-
+.Pp
Spaces or Tabs between the
.Aq Em reggroup ,
the
.Aq Em regnumber ,
or any of the other tokens are ignored.
They are not required anyway.
-
+.Pp
The
.Dq Em mi
needs a single unused argument to satisfy the syntax :-) (-hm).
-
-
.Ss Access control
The caller must have uid 0 in order to gain the required access to
the IO registers.
-
.Sh HISTORY
This program is considered
.Dq hackware .
It has been developed in order to simplify the process of developing other
software that needs to program the Video Graphics Array.
-
+.Pp
Remember, to use this program, your kernel has to be compiled with XSERVER
-being defined !
-
+being defined!
.Sh AUTHORS
The program has been contributed by
.An J\(:org Wunsch ,
OpenPOWER on IntegriCloud