Grammar and spelling fixes, improved the wording a bit

A slightly different patch than the one from the PR was applied

PR:		38815
Submitted by:	Chris Pepper <pepper@guest.reppep.com>
MFC after:	3 days
This commit is contained in:
brueffer 2003-04-21 19:08:35 +00:00
parent 9e9aeab27a
commit 5b10a1bbb6

View File

@ -93,7 +93,7 @@ so that
.Xr getty 8 .Xr getty 8
will recognize them to be active and run will recognize them to be active and run
.Xr login 1 .Xr login 1
to let the user to login to the system. to let the user log in to the system.
By default, only the first eight virtual terminals are activated in By default, only the first eight virtual terminals are activated in
.Pa /etc/ttys . .Pa /etc/ttys .
.Pp .Pp
@ -117,7 +117,7 @@ You can also use the ``nscr'' key (usually the
key on the AT Enhanced keyboard) to cycle available virtual terminals. key on the AT Enhanced keyboard) to cycle available virtual terminals.
.Pp .Pp
The default number of available virtual terminals is 16. The default number of available virtual terminals is 16.
This can be changed by the kernel configuration option This can be changed with the kernel configuration option
.Dv MAXCONS .Dv MAXCONS
(see below). (see below).
.Pp .Pp
@ -157,10 +157,10 @@ command can be used to load a font file from
.Pa /usr/share/syscons/fonts . .Pa /usr/share/syscons/fonts .
.Pp .Pp
The font comes in various sizes: 8x8, 8x14 and 8x16. The font comes in various sizes: 8x8, 8x14 and 8x16.
The 8x16 font is typically used for the VGA card in the 80-column- The 8x16 font is typically used for the VGA card in the
by-25-line mode. 80-column-by-25-line mode.
Other video modes may require different size of font. Other video modes may require different font sizes.
It is better to always load these three sizes of the same font. It is better to always load all three sizes of the same font.
.Pp .Pp
You may set You may set
.Ar font8x8 , .Ar font8x8 ,
@ -168,43 +168,43 @@ You may set
and and
.Ar font8x16 .Ar font8x16
variables in variables in
.Pa /etc/rc.conf.local .Pa /etc/rc.conf
to the desired font files so that they will be automatically loaded to the desired font files so that they will be automatically loaded
when the system starts up. when the system starts up.
.Pp .Pp
Optionally you can make a particular font file as the default font. Optionally you can specify a particular font file as the default.
See the See the
.Dv SC_DFLT_FONT .Dv SC_DFLT_FONT
option below. option below.
.Ss Screen Map .Ss Screen Map
If your video card does not support software font, you may still be able If your video card does not support software fonts, you may still be able
to have similar effect by re-mapping font hard-wired in the video card. to achive a similar effect by re-mapping the font built into your video card.
Use Use
.Xr vidcontrol 1 .Xr vidcontrol 1
to load a screen map file which defines mapping between character codes. to load a screen map file which defines the mapping between character codes.
.Ss Mouse Support and Copy-and-Paste .Ss Mouse Support and Copy-and-Paste
You can use your mouse to copy text on the screen and paste it as if You can use your mouse to copy text on the screen and paste it as if
it is typed by hand. it was typed by hand.
You must be running the mouse daemon You must be running the mouse daemon
.Xr moused 8 .Xr moused 8
and enable the mouse cursor in the virtual terminal via and enable the mouse cursor in the virtual terminal via
.Xr vidcontrol 1 . .Xr vidcontrol 1 .
.Pp .Pp
Pressing the mouse button 1 (usually the left button) will start selection. Pressing mouse button 1 (usually the left button) will start selection.
Releasing the button 1 will end the selection process. Releasing button 1 will end the selection process.
The selected text will be marked by inverting foreground and The selected text will be marked by inverting foreground and
background colors. background colors.
You can press the button 3 (usually the right button) to extend You can press button 3 (usually the right button) to extend
the selected region. the selected region.
The selected text is placed in the copy buffer and can be pasted The selected text is placed in the copy buffer and can be pasted
at the cursor position by your pressing the button 2 (usually the at the cursor position by pressing button 2 (usually the
middle button) as many times as you like. middle button) as many times as you like.
.Pp .Pp
If your mouse has only two buttons, you may want to use the If your mouse has only two buttons, you may want to use the
.Dv SC_TWOBUTTON_MOUSE .Dv SC_TWOBUTTON_MOUSE
option below to make the right button to paste the text. option below to make the right button to paste the text.
Alternatively you can make the mouse daemon Alternatively you can make the mouse daemon
to emulate the middle button. emulate the middle button.
See the man page for See the man page for
.Xr moused 8 .Xr moused 8
for more details. for more details.
@ -212,33 +212,35 @@ for more details.
The The
.Nm .Nm
driver allows the user to browse the output which has ``scrolled off'' driver allows the user to browse the output which has ``scrolled off''
from the top of the screen. the top of the screen.
.Pp .Pp
Press the ``slock'' key (usually Press the ``slock'' key (usually
.Dv ScrllLock .Dv ScrllLock
and/or /
.Dv Scroll Lock
or
.Dv Pause .Dv Pause
keys on many AT Enhanced keyboards) and the terminal is on many keyboards) and the terminal is
in the ``back scrolling'' mode. in the ``scrollback'' mode.
It is indicated by the It is indicated by the
.Dv Scroll Lock .Dv Scroll Lock
LED. LED.
Use arrow keys, Use the arrow keys, the
.Dv Page Up/Down .Dv Page Up/Down
keys and keys and the
.Dv Home/End .Dv Home/End
keys to scroll buffered terminal output. keys to scroll buffered terminal output.
Press the ``slock'' key again to get back to the normal terminal mode. Press the ``slock'' key again to get back to the normal terminal mode.
.Pp .Pp
The size of the back-scroll buffer can be set by the The size of the scrollback buffer can be set by the
.Dv SC_HISTORY_SIZE .Dv SC_HISTORY_SIZE
option below. option described below.
.Ss Screen Saver .Ss Screen Saver
The The
.Nm .Nm
driver can be made to put up the screen saver if the current driver can be made to put up the screen saver if the current
virtual terminal is idle, that is, the user is not typing virtual terminal is idle, that is, the user is not typing
on the keyboard nor moving mouse. on the keyboard nor moving the mouse.
See See
.Xr splash 4 .Xr splash 4
and and
@ -257,8 +259,8 @@ The default value is 16.
.It Dv SC_ALT_MOUSE_IMAGE .It Dv SC_ALT_MOUSE_IMAGE
This option selects the alternative way of displaying the mouse cursor This option selects the alternative way of displaying the mouse cursor
in the virtual terminal. in the virtual terminal.
It may be vastly costly for some video cards to draw the arrow-shaped It may be expensive for some video cards to draw the arrow-shaped
cursor and you may want to try this option. cursor, and you may want to try this option.
However, the appearance of the alternative mouse cursor may not be However, the appearance of the alternative mouse cursor may not be
very appealing. very appealing.
Note that if you use the Note that if you use the
@ -277,12 +279,12 @@ when copying data into cut buffer.
This might be useful to preserve This might be useful to preserve
indentation when copying tab-indented text. indentation when copying tab-indented text.
.It Dv SC_DISABLE_DDBKEY .It Dv SC_DISABLE_DDBKEY
This option disables the ``debug'' key (by default, it is This option disables the ``debug'' key combination (by default, it is
.Dv Alt-Esc , .Dv Alt-Esc ,
or or
.Dv Ctl-PrintScreen ) . .Dv Ctl-PrintScreen ) .
It will prevent the user from It will prevent users from
entering the kernel debugger DDB by pressing the key combination. entering the kernel debugger (DDB) by pressing the key combination.
DDB will still be invoked when the kernel panics or hits a break point DDB will still be invoked when the kernel panics or hits a break point
if it is included in the kernel. if it is included in the kernel.
.It Dv SC_DISABLE_REBOOT .It Dv SC_DISABLE_REBOOT
@ -298,7 +300,6 @@ The default value is 100.
Unless the Unless the
.Dv SC_ALT_MOUSE_IMAGE .Dv SC_ALT_MOUSE_IMAGE
option above is specified, the option above is specified, the
The
.Nm .Nm
driver reserves four consecutive character codes in order to display the driver reserves four consecutive character codes in order to display the
mouse cursor in the virtual terminals in some systems. mouse cursor in the virtual terminals in some systems.
@ -338,8 +339,8 @@ cp866 and cp866u.
16-line, 14-line and 8-line font data will be compiled in. 16-line, 14-line and 8-line font data will be compiled in.
Without this option, the Without this option, the
.Nm .Nm
driver will use whatever font already loaded in the video card, driver will use whatever font is already loaded in the video card,
unless you explicitly load software font at startup. unless you explicitly load a software font at startup.
See See
.Sx EXAMPLES .Sx EXAMPLES
below. below.
@ -355,7 +356,7 @@ terminals.
.It Dv SC_NO_FONT_LOADING .It Dv SC_NO_FONT_LOADING
The The
.Nm .Nm
driver can load software font on some video cards. driver can load software fonts on some video cards.
This option removes this feature. This option removes this feature.
Note that if you still wish to use Note that if you still wish to use
the mouse with this option then you must also use the the mouse with this option then you must also use the
@ -404,7 +405,7 @@ or else at the loader prompt (see
.\"This option suppresses the bell, whether audible or visual, .\"This option suppresses the bell, whether audible or visual,
.\"if it is rung in a background virtual terminal. .\"if it is rung in a background virtual terminal.
.It 0x0080 (VESA800X600) .It 0x0080 (VESA800X600)
This option puts the video card in the VESA 800x600 dots, 16 color This option puts the video card in the VESA 800x600 pixel, 16 color
mode. mode.
It may be useful for laptop computers for which the 800x600 mode It may be useful for laptop computers for which the 800x600 mode
is otherwise unsupported by the X server. is otherwise unsupported by the X server.
@ -498,7 +499,7 @@ to the kernel.
.Pp .Pp
.\".Sh DIAGNOSTICS .\".Sh DIAGNOSTICS
.Sh CAVEATS .Sh CAVEATS
Amount of data that is possible to insert from the cut buffer is limited The Amount of data that is possible to insert from the cut buffer is limited
by the by the
.Brq Dv MAX_INPUT , .Brq Dv MAX_INPUT ,
a system limit on the number of bytes that may be stored in the terminal a system limit on the number of bytes that may be stored in the terminal