svn commit: r268731 - stable/9/share/man/man4
Warren Block
wblock at FreeBSD.org
Wed Jul 16 00:39:59 UTC 2014
Author: wblock (doc committer)
Date: Wed Jul 16 00:39:58 2014
New Revision: 268731
URL: http://svnweb.freebsd.org/changeset/base/268731
Log:
MFC r268187:
Improve markup, change references to nonexistent vt_vga(4), remove some
language redundancy, and move the examples so sections are in the
standard order.
Modified:
stable/9/share/man/man4/vt.4
Directory Properties:
stable/9/share/man/man4/ (props changed)
Modified: stable/9/share/man/man4/vt.4
==============================================================================
--- stable/9/share/man/man4/vt.4 Wed Jul 16 00:36:55 2014 (r268730)
+++ stable/9/share/man/man4/vt.4 Wed Jul 16 00:39:58 2014 (r268731)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 27, 2014
+.Dd July 2, 2014
.Dt "VIRTUAL TERMINALS" 4
.Os
.Sh NAME
@@ -106,6 +106,15 @@ These kernel options control the
.Nm
driver.
.Bl -tag -width MAXCONS
+.It Dv TERMINAL_NORM_ATTR= Ns Pa attribute
+.It Dv TERMINAL_KERN_ATTR= Ns Pa attribute
+These options allow changing the default colors used for normal and kernel
+text.
+Available colors are defined in
+.In sys/terminal.h .
+See
+.Sx EXAMPLES
+below.
.It Dv VT_MAXWINDOWS=N
Set the number of virtual terminals to be created to
.Fa N .
@@ -151,13 +160,13 @@ is set, the system remains in text mode.
Otherwise,
.Nm
switches to 640x480x16 VGA mode using
-.Xr vt_vga 4 .
+.Cm vt_vga .
If a KMS
.Pq Kernel Mode Switching
video driver is available, the display is switched to high resolution
and the KMS driver takes over.
When a KMS driver is not available,
-.Xr vt_vga 4
+.Cm vt_vga
remains active.
.Sh LOADER TUNABLES
These settings can be entered at the
@@ -169,6 +178,18 @@ prompt or in
Set to 1 to use virtual terminals in text mode instead of graphics mode.
Features that require graphics mode, like loadable fonts, will be
disabled.
+.It Va kern.vty
+When both
+.Nm
+and
+.Xr sc 4 have been compiled into the kernel, the one to use for the
+system console can be selected by setting this value to
+.Ql vt
+or
+.Ql sc .
+If this value is not set,
+.Xr sc 4
+is used.
.El
.Sh FILES
.Bl -tag -width /usr/share/syscons/keymaps/* -compact
@@ -179,6 +200,19 @@ virtual terminals
.It Pa /etc/ttys
terminal initialization information
.El
+.Sh EXAMPLES
+This example changes the default color of normal text to green on a
+black background, or black on a green background when reversed.
+Note that white space cannot be used inside the attribute string
+because of the current implementation of
+.Xr config 8 .
+.Pp
+.Dl "options TERMINAL_NORM_ATTR=(FG_GREEN|BG_BLACK)"
+.Pp
+This line changes the default color of kernel messages to be bright red
+on a black background, or black on a bright red background when reversed.
+.Pp
+.Dl "options TERMINAL_KERN_ATTR=(FG_LIGHTRED|BG_BLACK)"
.Sh SEE ALSO
.Xr kbdcontrol 1 ,
.Xr login 1 ,
More information about the svn-src-stable-9
mailing list