fix some bad .Xr

This commit is contained in:
fair 1998-04-29 20:11:30 +00:00
parent 42aff08cb4
commit 17ba539151
2 changed files with 97 additions and 51 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: loadfont.1,v 1.4 1998/01/09 08:04:18 perry Exp $
.\" $NetBSD: loadfont.1,v 1.5 1998/04/29 20:11:30 fair Exp $
.\"
.\" Copyright (c) 1992, 1995 Hellmuth Michaelis
.\"
@ -35,7 +35,7 @@
.Dt LOADFONT 1
.Sh NAME
.Nm loadfont
.Nd EGA/VGA fontloader for pcvt video driver.
.Nd EGA/VGA font loader for pcvt video driver.
.Sh SYNOPSIS
.Nm loadfont
.Op Fl c Ar charsetno
@ -45,28 +45,47 @@
.Op Fl s Ar scanlines
.Sh DESCRIPTION
The
.Nm loadfont
utility is used to load fonts needed for proper operation of the pcvt
VT220 driver on EGA and VGA boards into the font ram of this boards.
.Nm
utility is used to load fonts required for proper operation of the pcvt
.Tn VT220
driver on
.Tn EGA
and
.Tn VGA
boards into the font
.Tn RAM
of these boards.
.Pp
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
slots and VGA boards have eight slots available for downloading fonts.
Specifies the slot, the font is to load into.
.Tn EGA
boards have four slots and
.Tn VGA
boards have eight slots available for downloading fonts.
.It Fl d
Specifies the devicefile to use.
Specifies the device file to use.
.It Fl f
Specifies the file which contains the font to be downloaded.
.It Fl i
Gives information what type(s) of font do currently reside in which slot.
This is also the default behaviour if no options are specified on the commandline.
Gives information what type(s) of font currently reside in which slot.
This is also the default behaviour if no options are specified on
the command line.
.It Fl s
Specifies the number of scanlines of the display.
.El
.Pp
This utility is used only on EGA and VGA boards, as MDA, HCG and CGA boards
do not have downloadable charactersets available.
This utility is used only on
.Tn EGA
and
.Tn VGA
boards, as
.Tn MDA ,
.Tn HCG
and
.Tn CGA
boards do not have downloadable character sets available.
.Sh FILES
The following fontfiles are available in the pcvt distribution:
@ -83,11 +102,16 @@ The following fontfiles are available in the pcvt distribution:
.Sh EXAMPLES
The command
.Dq Li loadfont -c0 -f/usr/share/misc/pcvtfonts/vt220l.816
loads a 8x16 font containing the standard IBM characterset II into font slot
0 on a VGA or EGA board.
loads a 8x16 font containing the standard
.Tn IBM
character set II into font slot 0 on a
.Tn VGA
or
.Tn EGA
board.
.Sh BUGS
No known bugs
.Sh SEE ALSO
.Xr cursor 1 ,
.Xr scon 1 ,
.Xr pcvt 8
.Xr pcvt 4

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mcon.1,v 1.4 1998/01/09 08:04:19 perry Exp $
.\" $NetBSD: mcon.1,v 1.5 1998/04/29 20:11:30 fair Exp $
.\"
.\" Copyright (c) 1994, 1995 Joerg Wunsch
.\"
@ -37,7 +37,7 @@
.Nm mcon
.Nd controls pcvt mouse emulator
.Sh SYNOPSIS
.Nm mcon
.Nm
.Op Fl l Ar left-button-key
.Op Fl m Ar mid-button-key
.Op Fl r Ar right-button-key
@ -46,28 +46,39 @@
.Op Fl s Ar 1 | true | yes
.Ar device
.Sh DESCRIPTION
.Pp
The
.Nm mcon
.Nm
utility controls the configurable parameters for the mouse emulator of
.Xr pcvt 4 .
.br
.Em NB :
The mouse emulator is not configured in by default; the system's config
file needs to specify an option line
.Em options Dq PCVT_EMU_MOUSE
in order to get its functionality.
.Pp
.Em N.B. :
The mouse emulator is not configured in
.Nx
by default; the system's
.Xr config 8
file needs to specify an
.Xr options 4
line
.Bl -item -offset indent
.It
options
.Dv PCVT_EMU_MOUSE
.El
.Pp
in order to get
.Nm
functionality.
.Pp
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
usually the first device node of the
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
have configured eight virtual terminals
driver not being used as a virtual terminal device,
e.g. if you have configured eight virtual terminals
.Pq the default value ,
named
.Pa /dev/ttyv0
@ -75,14 +86,13 @@ through
.Pa /dev/ttyv7 ,
the mouse emulator would allocate
.Pa /dev/ttyv8 .
.Pp
If
.Nm
is called without any option, it will print the actual values of the
is called without any option, it will print the current values of the
configurable parameters.
If called with an option, the program attempts to set up the new value.
.Pp
If called with an option, the program attempts to set up the new value.
The options are as follows:
.Bl -tag -width Ds
.It Fl l Ar left-button-key
@ -92,12 +102,18 @@ 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
character they're labeled with, function keys are named
is the usual name for that key.
Normal
.Tn ASCII
keys are denoted by the character they're labeled with,
function keys are named
.Em f1
through
.Em f10 .
Note that the AT function keys
.Pp
Note that the
.Tn IBM AT
function keys
.Em f11
and
.Em f12
@ -109,10 +125,13 @@ 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
frequently will move the cursor accelerated by a factor of 6. Note that
despite of
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.
.Pp
Note that despite of
.Em milliseconds
being the unit of choice here, the time resolution is restricted by the
timer tick distance of the underlying operating system, usually to a
@ -122,11 +141,12 @@ 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
toggle-buttons: on first press, they become active, on second press,
they're deactivated. Pressing another button will deactivate any
other sticky button anyway.
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 other sticky button anyway.
.Pp
Sticky buttons might be more convenient since you don't need 20 fingers
at all; on the other hand, they make it virtually impossible to initiate
double or triple mouse clicks.
@ -135,7 +155,7 @@ double or triple mouse clicks.
The following example would install the default behaviour of the
mouse emulator:
.Nm mcon
.Nm
.Fl l Ar f1
.Fl m Ar f2
.Fl r Ar f3
@ -144,9 +164,9 @@ mouse emulator:
.Pa /dev/ttyv8
.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
cause any trouble since the
.Pq and vice versa
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
keyboard layout.
@ -154,8 +174,10 @@ keyboard layout.
The mouse emulator is a rude hack at all; its only purpose is to provide
a device to move the pointer within an X-windowing environment.
.Sh SEE ALSO
.Xr X 1 ,
.Xr options 4 ,
.Xr pcvt 4 ,
.Xr X 1x .
.Xr config 8
.Sh HISTORY
The
.Nm