summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt')
-rw-r--r--usr.sbin/pcvt/cursor/cursor.13
-rw-r--r--usr.sbin/pcvt/ispcvt/ispcvt.89
-rw-r--r--usr.sbin/pcvt/kcon/kcon.118
-rw-r--r--usr.sbin/pcvt/keycap/man5/keycap.53
-rw-r--r--usr.sbin/pcvt/loadfont/loadfont.13
-rw-r--r--usr.sbin/pcvt/mcon/mcon.124
-rw-r--r--usr.sbin/pcvt/scon/scon.139
-rw-r--r--usr.sbin/pcvt/userkeys/vt220keys.16
-rw-r--r--usr.sbin/pcvt/vgaio/vgaio.89
9 files changed, 76 insertions, 38 deletions
diff --git a/usr.sbin/pcvt/cursor/cursor.1 b/usr.sbin/pcvt/cursor/cursor.1
index e396d33..88cb223 100644
--- a/usr.sbin/pcvt/cursor/cursor.1
+++ b/usr.sbin/pcvt/cursor/cursor.1
@@ -52,7 +52,8 @@ The options are as follows:
.It Fl d
Specifies a device for which the cursor shape is set.
.It Fl n
-Sets the virtual screen number to apply the following parameters to. Not
+Sets the virtual screen number to apply the following parameters to.
+Not
specifying this parameter implies the current virtual screen or the screen
referenced by the -d parameter.
.It Fl s
diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.8 b/usr.sbin/pcvt/ispcvt/ispcvt.8
index 19b46a1..d98c206 100644
--- a/usr.sbin/pcvt/ispcvt/ispcvt.8
+++ b/usr.sbin/pcvt/ispcvt/ispcvt.8
@@ -44,7 +44,8 @@
The
.Nm ispcvt
utility allows the user to check whether the current video driver compiled
-into the kernel is a pcvt driver. The major and minor release numbers of
+into the kernel is a pcvt driver.
+The major and minor release numbers of
the driver are also checked.
Furthermore
.Nm ispcvt
@@ -58,13 +59,15 @@ The options are as follows:
.It Fl d
Specifies a device for which the check is done.
.It Fl v
-Specifies being verbose. On success the name and revision is reported, on
+Specifies being verbose.
+On success the name and revision is reported, on
failure which comparison failed.
.It Fl c
This options prints out the values of all
.Dq Ar PCVT_XXXXXX
#defines which were given to the compiler at the time the currently running
-kernel was compiled. Specifying
+kernel was compiled.
+Specifying
.Fl v
with the
.Fl c
diff --git a/usr.sbin/pcvt/kcon/kcon.1 b/usr.sbin/pcvt/kcon/kcon.1
index 3f35193..6f60a40 100644
--- a/usr.sbin/pcvt/kcon/kcon.1
+++ b/usr.sbin/pcvt/kcon/kcon.1
@@ -56,7 +56,8 @@ The available options are:
.Bl -tag -width flag
.It Fl d Ar delay
Specifies the delay after which the last key entered will be repeated by the
-Keyboard. Valid values are 0..3 corresponding to delays of 250, 500, 750 and
+Keyboard.
+Valid values are 0..3 corresponding to delays of 250, 500, 750 and
1000 milliseconds.
.It Fl l
Displays the current keyboard map in use by the driver.
@@ -76,7 +77,8 @@ octal or hexadecimal and not as 'ESC'. To be used in conjunction with the
.Fl l
option.
.It Fl r Ar rate
-Specifies the character repetition rate. Valid argument values are 0...31
+Specifies the character repetition rate.
+Valid argument values are 0...31
corresponding to rates of 30 characters/second ... 2 characters/second.
.It Fl R
Reset the Keyboard.
@@ -92,7 +94,8 @@ Specify this option to enable (
Switches display of control codes to hexadecimal in the listing of the current map.
To be used in conjunction with the
.Fl l
-option. This is the default behaviour.
+option.
+This is the default behaviour.
.Sh FILES
.Bl -tag -width /usr/share/misc/keycap.pcvt -compact
.It Pa /usr/share/misc/keycap.pcvt
@@ -104,10 +107,13 @@ Keyboard raw device.
.Xr keycap 5
.Sh BUGS
.Nm kcon
-detects several inconsistencies in the keycap database. In case of errors
+detects several inconsistencies in the keycap database.
+In case of errors
.Nm kcon
-exits with an error message. If this happens, the keyboard may remain in
-an undefined state. To recover from such situation, execute
+exits with an error message.
+If this happens, the keyboard may remain in
+an undefined state.
+To recover from such situation, execute
.Nm kcon -m default
.Sh EXAMPLES
The command
diff --git a/usr.sbin/pcvt/keycap/man5/keycap.5 b/usr.sbin/pcvt/keycap/man5/keycap.5
index cb3342b..cb4dfbb 100644
--- a/usr.sbin/pcvt/keycap/man5/keycap.5
+++ b/usr.sbin/pcvt/keycap/man5/keycap.5
@@ -102,7 +102,8 @@ tt\||test\||Test entry which swaps y and z:\e
.Ed
.Pp
Entries may continue onto multiple lines by giving a \e as the last
-character of a line. Comments may be included on lines beginning with
+character of a line.
+Comments may be included on lines beginning with
.Dq # .
.Sh FILES
.Bl -tag -width /usr/share/misc/keycap.pcvt -compact
diff --git a/usr.sbin/pcvt/loadfont/loadfont.1 b/usr.sbin/pcvt/loadfont/loadfont.1
index 866f8ed..04e82a7 100644
--- a/usr.sbin/pcvt/loadfont/loadfont.1
+++ b/usr.sbin/pcvt/loadfont/loadfont.1
@@ -51,7 +51,8 @@ VT220 driver on EGA and VGA boards into the font ram of this boards.
The options are as follows:
.Bl -tag -width Ds
.It Fl c
-Specifies the slot, the font is to load into. EGA boards have four
+Specifies the slot, the font is to load into.
+EGA boards have four
slots and VGA boards have eight slots available for downloading fonts.
.It Fl d
Specifies the devicefile to use.
diff --git a/usr.sbin/pcvt/mcon/mcon.1 b/usr.sbin/pcvt/mcon/mcon.1
index 47581ba..11134ce 100644
--- a/usr.sbin/pcvt/mcon/mcon.1
+++ b/usr.sbin/pcvt/mcon/mcon.1
@@ -62,10 +62,12 @@ Either way, the
.Nm
program must be called with an argument
.Ar device
-that specifies the device node used for the mouse emulation. This is
+that specifies the device node used for the mouse emulation.
+This is
usually the first device node of the
.Xr pcvt 4
-driver not being used as a virtual terminal device. E.\ g., if you
+driver not being used as a virtual terminal device.
+E.\ g., if you
have configured eight virtual terminals
.Pq the default value ,
named
@@ -91,7 +93,8 @@ Maps the named
.Ar button key
to emulate either the left, middle, or right mouse button.
.Ar Button key
-is the usual name for that key. Normal ASCII keys are denoted by the
+is the usual name for that key.
+Normal ASCII keys are denoted by the
character they're labeled with, function keys are named
.Em f1
through
@@ -108,8 +111,10 @@ it only allows basic PC-scancode keys to be used.
.It Fl a Ar accel-time
Set the time limit for the internal accelerator to
.Ar accel-time
-milliseconds. Key events occurring after a longer time than this limit
-will move the mouse cursor in single steps. Key events arriving more
+milliseconds.
+Key events occurring after a longer time than this limit
+will move the mouse cursor in single steps.
+Key events arriving more
frequently will move the cursor accelerated by a factor of 6. Note that
despite of
.Em milliseconds
@@ -121,9 +126,11 @@ granularity of 10 milliseconds.
.It Fl s Ar 1 | true | yes
The first form disables, the second form enables the
.Em sticky
-behaviour of the mouse buttons. Sticky mouse keys behave much like
+behaviour of the mouse buttons.
+Sticky mouse keys behave much like
toggle-buttons: on first press, they become active, on second press,
-they're deactivated. Pressing another button will deactivate any
+they're deactivated.
+Pressing another button will deactivate any
other sticky button anyway.
Sticky buttons might be more convenient since you don't need 20 fingers
@@ -144,7 +151,8 @@ mouse emulator:
.Sh BUGS
The key names used to map the button-emulating keys to scan codes
.Pq and vica verse
-are based on the American keyboard layout. This would usually not
+are based on the American keyboard layout.
+This would usually not
cause any trouble since the
.Dq button-of-choice
is certainly some function key that should be equal for any national
diff --git a/usr.sbin/pcvt/scon/scon.1 b/usr.sbin/pcvt/scon/scon.1
index 6f8bc6e..d2511de 100644
--- a/usr.sbin/pcvt/scon/scon.1
+++ b/usr.sbin/pcvt/scon/scon.1
@@ -89,12 +89,15 @@ Specify the device filename (i.e. /dev/ttyv2) further operations specified on
the command line should be applied to.
.It Fl f
Some programs which silently assume 24 lines when they run on a VT220 show
-incorrect behaviour when the terminal has really 25 lines. To support full
+incorrect behaviour when the terminal has really 25 lines.
+To support full
VT220 behaviour, it is possible to force pcvt to select only 24 lines when
-it is running in 25-lines pure VT mode and/or in 28-lines HP-mode. The
+it is running in 25-lines pure VT mode and/or in 28-lines HP-mode.
+The
.Fl f
option requires one additional parameter, the string 'on' or 'off' to switch
-this mode for a virtual screen on or off respectively. This mode has no effect
+this mode for a virtual screen on or off respectively.
+This mode has no effect
if any other vertical resolutions are selected than the two above mentioned.
.It Fl h
Prints a usage/help text.
@@ -112,14 +115,17 @@ Specify verbose operation of the program.
Switch the specified/current screen into a pure VT220 mode without recognizing
any HP escape sequences and without displaying function key labels.
.It Fl H
-Switch the specified/current screen into a mixed HP/VT220 mode. That is, that
+Switch the specified/current screen into a mixed HP/VT220 mode.
+That is, that
in addition to the full VT220 emulation, the HP function key labels and the
escape sequences for handling the labels are available to the user.
.It Fl s
-Specify the number of character lines on the screen. Possible parameters are
+Specify the number of character lines on the screen.
+Possible parameters are
25, 28, 35, 40, 43 or 50. To use all this screen sizes, the fonts required
for proper operation of a desired size have to be downloaded to the EGA/VGA
-font ram. This option is available only for EGA and VGA boards.
+font ram.
+This option is available only for EGA and VGA boards.
.It Fl p
Modify VGA palette
.Pq DAC .
@@ -132,7 +138,8 @@ and
.Fl V .
Naturally, option
.Fl p
-is available only for VGA boards. Three flavors are available.
+is available only for VGA boards.
+Three flavors are available.
If used with argument
.Dq Ar default ,
@@ -143,13 +150,17 @@ as installed by VGA ROM BIOS after hardware reset
If used with argument
.Dq Ar list ,
-the current VGA DAC palette entries are listed. Each entry contains
+the current VGA DAC palette entries are listed.
+Each entry contains
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
+known name for this entry, the color name.
+Trailing empty table
slots (RGB values all zero) are omitted.
-Otherwise, four comma-separated arguments are expected. The first
-denotes the number of palette entry to be modified. This may be either
+Otherwise, four comma-separated arguments are expected.
+The first
+denotes the number of palette entry to be modified.
+This may be either
a number between 0 and 255, or the usual name of an associated color
.Pq case-insensitive .
The following values for red, green and blue are restricted to 0 through 63
@@ -166,11 +177,13 @@ options may be specified if unambiguous.
.It Fl t
Specifying
.Fl t
-will activate the screen saver. The behaviour depends on
+will activate the screen saver.
+The behaviour depends on
.Ar timeout :
if
.Ar timeout
-is given as 0, the screen saver is turned off. Otherwise,
+is given as 0, the screen saver is turned off.
+Otherwise,
.Ar timeout
is taken as a number of seconds to wait until activating the
screen saver.
diff --git a/usr.sbin/pcvt/userkeys/vt220keys.1 b/usr.sbin/pcvt/userkeys/vt220keys.1
index 65e596a..d4df9aa 100644
--- a/usr.sbin/pcvt/userkeys/vt220keys.1
+++ b/usr.sbin/pcvt/userkeys/vt220keys.1
@@ -13,7 +13,8 @@ vt220keys \- define SHIFTED function keys on VT220 terminal
.SH DESCRIPTION
.I Vt220keys
sets up a "vt220 terminal" in vt200 mode to allow user
-definition of the SHIFTED function keys. Each
+definition of the SHIFTED function keys.
+Each
\f2keyname\f1 specified on the command line will be loaded with
the corresponding \f2keystring\f1.
A \f2keyname\f1 is one of the following "words":
@@ -114,7 +115,8 @@ This will require you
to press the SHIFT key and ESC to generate the escape sequence.
.sp
Some editors, allow other character(s) to be substituted for the
-escape character. For example with
+escape character.
+For example with
.B emacs
include this line in your .emacs_pro:
.br
diff --git a/usr.sbin/pcvt/vgaio/vgaio.8 b/usr.sbin/pcvt/vgaio/vgaio.8
index 4736b57..d5d3285 100644
--- a/usr.sbin/pcvt/vgaio/vgaio.8
+++ b/usr.sbin/pcvt/vgaio/vgaio.8
@@ -61,8 +61,10 @@ Turn on the grammar parser debugger.
.Ss Command language
The command language of
.Nm
-constitutes of some very simple tokens and rules. Commands are executed
-line by line as they are entered. Each line may contain any number of
+constitutes of some very simple tokens and rules.
+Commands are executed
+line by line as they are entered.
+Each line may contain any number of
semicolon-separated input/output commands.
Symbolic register names look like:
@@ -115,7 +117,8 @@ 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.
+or any of the other tokens are ignored.
+They are not required anyway.
The
.Dq Em mi
OpenPOWER on IntegriCloud