From 4bb5f49662398b2c716ed1737fb2ad4ca436335d Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 27 Dec 2000 15:30:30 +0000 Subject: Prepare for mdoc(7)NG. --- usr.sbin/pcvt/ispcvt/ispcvt.8 | 1 + usr.sbin/pcvt/kcon/kcon.1 | 2 ++ usr.sbin/pcvt/keycap/man5/keycap.5 | 20 +++++++++----------- usr.sbin/pcvt/scon/scon.1 | 12 +++++------- usr.sbin/pcvt/vgaio/vgaio.8 | 38 +++++++++++++++----------------------- 5 files changed, 32 insertions(+), 41 deletions(-) (limited to 'usr.sbin/pcvt') 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 bool Disables key completely" - +.It " .It "m num specify key numbers for ALT keys .It "l num specify key numbers for ALTGR keys .It "h num specify key numbers for SHIFT keys @@ -75,19 +75,18 @@ upper case and blanks for readability. .It "sh num specify key number for the SHIFT LOCK key .It "nl num specify key number for the NUM LOCK key .It "sc num specify key number for the SCROLL LOCK key - +.It " .It "K str bind a string to a unshifted (normal) key .It "S str bind a string to a shifted key .It "C str bind a string to a control key .It "A str bind a string to a altgr key - +.It " .It "tc str Entry of similar map \- must be last." .El - +.Pp Parameter 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 , -- cgit v1.1