summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/vt.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/vt.4 3.html')
-rw-r--r--static/freebsd/man4/vt.4 3.html465
1 files changed, 465 insertions, 0 deletions
diff --git a/static/freebsd/man4/vt.4 3.html b/static/freebsd/man4/vt.4 3.html
new file mode 100644
index 00000000..ea8187d9
--- /dev/null
+++ b/static/freebsd/man4/vt.4 3.html
@@ -0,0 +1,465 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">VT(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">VT(4)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">vt</code> &#x2014; <span class="Nd">virtual
+ terminal system video console driver</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp"><code class="Cd">options
+ TERMINAL_KERN_ATTR=</code>&#x27E8;<var class="Ar">attribute</var>&#x27E9;
+ <br/>
+ <code class="Cd">options
+ TERMINAL_NORM_ATTR=</code>&#x27E8;<var class="Ar">attribute</var>&#x27E9;
+ <br/>
+ <code class="Cd">options
+ VT_MAXWINDOWS=</code>&#x27E8;<var class="Ar">N</var>&#x27E9;
+ <br/>
+ <code class="Cd">options VT_ALT_TO_ESC_HACK=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">options VT_TWOBUTTON_MOUSE</code>
+ <br/>
+ <code class="Cd">options
+ VT_FB_MAX_WIDTH=</code>&#x27E8;<var class="Ar">X</var>&#x27E9;
+ <br/>
+ <code class="Cd">options
+ VT_FB_MAX_HEIGHT=</code>&#x27E8;<var class="Ar">Y</var>&#x27E9;
+ <br/>
+ <code class="Cd">options SC_NO_CUTPASTE</code>
+ <br/>
+ <code class="Cd">device vt</code></p>
+<p class="Pp">In <a class="Xr">loader.conf(5)</a>:
+ <br/>
+ <code class="Cd">hw.vga.textmode=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">hw.vga.acpi_ignore_no_vga=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">kern.vty=</code><var class="Ar">vt</var>
+ <br/>
+ <code class="Cd">kern.vt.color.</code>&#x27E8;<var class="Ar">colornum</var>&#x27E9;.rgb=&#x27E8;<var class="Ar">colorspec</var>&#x27E9;
+ <br/>
+ <code class="Cd">kern.vt.fb.default_mode=</code>&#x27E8;<var class="Ar">X</var>&#x27E9;x&#x27E8;<var class="Ar">Y</var>&#x27E9;
+ <br/>
+ <code class="Cd">kern.vt.fb.modes.</code>&#x27E8;<var class="Ar">connector</var>&#x27E9;=&#x27E8;<var class="Ar">X</var>&#x27E9;x&#x27E8;<var class="Ar">Y</var>&#x27E9;
+ <br/>
+ <code class="Cd">kern.vt.slow_down=</code>&#x27E8;<var class="Ar">delay</var>&#x27E9;
+ <br/>
+ <code class="Cd">screen.font=</code>&#x27E8;<var class="Ar">X</var>&#x27E9;x&#x27E8;<var class="Ar">Y</var>&#x27E9;</p>
+<p class="Pp">In <a class="Xr">loader.conf(5)</a> or
+ <a class="Xr">sysctl.conf(5)</a>:
+ <br/>
+ <code class="Cd">kern.consmute=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">kern.vt.kbd_halt=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">kern.vt.kbd_poweroff=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">kern.vt.kbd_reboot=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">kern.vt.kbd_debug=</code><var class="Ar">1</var>
+ <br/>
+ <code class="Cd">kern.vt.kbd_panic=</code><var class="Ar">0</var>
+ <br/>
+ <code class="Cd">kern.vt.enable_altgr=</code><var class="Ar">0</var>
+ <br/>
+ <code class="Cd">kern.vt.enable_bell=</code><var class="Ar">1</var></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The <code class="Nm">vt</code> device provides multiple virtual
+ terminals with an extensive feature set:</p>
+<ul class="Bl-item Bd-indent">
+ <li>Unicode UTF-8 text with double-width characters.</li>
+ <li>Large font maps in graphics mode, including support for Asian character
+ sets.</li>
+ <li>Graphics-mode consoles.</li>
+ <li id="X">Integration with KMS (Kernel Mode Setting) video drivers for
+ switching between the <a class="permalink" href="#X"><i class="Em">X
+ Window System</i></a> and virtual terminals.</li>
+</ul>
+<section class="Ss">
+<h2 class="Ss" id="Virtual_Terminals"><a class="permalink" href="#Virtual_Terminals">Virtual
+ Terminals</a></h2>
+<p class="Pp">Multiple virtual terminals are provided on a single computer. Up
+ to sixteen virtual terminals can be defined. A single virtual terminal is
+ connected to the screen and keyboard at a time. Key combinations are used to
+ select a virtual terminal. Alt-F1 through Alt-F12 correspond to the first
+ twelve virtual terminals. If more than twelve virtual terminals are created,
+ Shift-Alt-F1 through Shift-Alt-F4 are used to switch to the additional
+ terminals.</p>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="Copying_and_Pasting_Text_with_a_Mouse"><a class="permalink" href="#Copying_and_Pasting_Text_with_a_Mouse">Copying
+ and Pasting Text with a Mouse</a></h2>
+<p class="Pp">Copying and pasting text from the screen with a mouse is
+ supported. Press and hold down mouse button 1, usually the left button,
+ while moving the mouse to select text. Selected text is highlighted with
+ reversed foreground and background colors. To select more text after
+ releasing mouse button 1, press mouse button 3, usually the right button. To
+ paste text that has been selected, press mouse button 2, usually the middle
+ button. The text is entered as if it were typed at the keyboard. The
+ <code class="Dv">VT_TWOBUTTON_MOUSE</code> kernel option can be used with
+ mice that only have two buttons. Setting this option makes the second mouse
+ button into the paste button. See <a class="Xr">moused(8)</a> for more
+ information.</p>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="Scrolling_Back"><a class="permalink" href="#Scrolling_Back">Scrolling
+ Back</a></h2>
+<p class="Pp">Output that has scrolled off the screen can be reviewed by
+ pressing the Scroll Lock key, then scrolling up and down with the arrow
+ keys. The Page Up and Page Down keys scroll up or down a full screen at a
+ time. The Home and End keys jump to the beginning or end of the scrollback
+ buffer. When finished reviewing, press the Scroll Lock key again to return
+ to normal use. Some laptop keyboards lack a Scroll Lock key, and use a
+ special function key sequence (such as Fn + K) to access Scroll Lock.</p>
+</section>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DRIVER_CONFIGURATION"><a class="permalink" href="#DRIVER_CONFIGURATION">DRIVER
+ CONFIGURATION</a></h1>
+<section class="Ss">
+<h2 class="Ss" id="Kernel_Configuration_Options"><a class="permalink" href="#Kernel_Configuration_Options">Kernel
+ Configuration Options</a></h2>
+<p class="Pp">These kernel options control the <code class="Nm">vt</code>
+ driver.</p>
+<dl class="Bl-tag">
+ <dt id="TERMINAL_NORM_ATTR="><a class="permalink" href="#TERMINAL_NORM_ATTR="><code class="Dv">TERMINAL_NORM_ATTR=</code></a>&#x27E8;<var class="Ar">attribute</var>&#x27E9;</dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt id="TERMINAL_KERN_ATTR="><a class="permalink" href="#TERMINAL_KERN_ATTR="><code class="Dv">TERMINAL_KERN_ATTR=</code></a>&#x27E8;<var class="Ar">attribute</var>&#x27E9;</dt>
+ <dd>These options change the default colors used for normal and kernel text.
+ Available colors are defined in
+ <code class="In">&lt;<a class="In">sys/terminal.h</a>&gt;</code>. See
+ <a class="Sx" href="#EXAMPLES">EXAMPLES</a> below.</dd>
+ <dt id="VT_MAXWINDOWS="><a class="permalink" href="#VT_MAXWINDOWS="><code class="Dv">VT_MAXWINDOWS=</code></a>&#x27E8;<var class="Ar">N</var>&#x27E9;</dt>
+ <dd>Set the number of virtual terminals to be created to
+ <var class="Fa">N</var>. The value defaults to 12.</dd>
+ <dt id="VT_ALT_TO_ESC_HACK="><a class="permalink" href="#VT_ALT_TO_ESC_HACK="><code class="Dv">VT_ALT_TO_ESC_HACK=</code></a><var class="Ar">1</var></dt>
+ <dd>When the Alt key is held down while pressing another key, send an ESC
+ sequence instead of the Alt key.</dd>
+ <dt id="VT_TWOBUTTON_MOUSE"><a class="permalink" href="#VT_TWOBUTTON_MOUSE"><code class="Dv">VT_TWOBUTTON_MOUSE</code></a></dt>
+ <dd>If defined, swap the functions of mouse buttons 2 and 3. In effect, this
+ makes the right-hand mouse button perform a paste. These options are
+ checked in the order shown.</dd>
+ <dt id="SC_NO_CUTPASTE"><a class="permalink" href="#SC_NO_CUTPASTE"><code class="Dv">SC_NO_CUTPASTE</code></a></dt>
+ <dd>Disable mouse support.</dd>
+ <dt>VT_FB_MAX_WIDTH=&#x27E8;<var class="Ar">X</var>&#x27E9;</dt>
+ <dd>Set the maximum width to <var class="Fa">X</var>.</dd>
+ <dt>VT_FB_MAX_HEIGHT=&#x27E8;<var class="Ar">Y</var>&#x27E9;</dt>
+ <dd>Set the maximum height to <var class="Fa">Y</var>.</dd>
+</dl>
+</section>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="BACKWARDS_COMPATIBILITY"><a class="permalink" href="#BACKWARDS_COMPATIBILITY">BACKWARDS
+ COMPATIBILITY</a></h1>
+<p class="Pp">Several options are provided for compatibility with the previous
+ console device, <a class="Xr">sc(4)</a>. These options will be removed in a
+ future <span class="Ux">FreeBSD</span> version.</p>
+<table class="Bl-column Bd-indent">
+ <tr id="vt">
+ <td><a class="permalink" href="#vt"><b class="Sy">vt Option
+ Name</b></a></td>
+ <td><a class="permalink" href="#sc"><b class="Sy" id="sc">sc Option
+ Name</b></a></td>
+ </tr>
+ <tr id="TERMINAL_KERN_ATTR">
+ <td><a class="permalink" href="#TERMINAL_KERN_ATTR"><code class="Dv">TERMINAL_KERN_ATTR</code></a></td>
+ <td><a class="permalink" href="#SC_KERNEL_CONS_ATTR"><code class="Dv" id="SC_KERNEL_CONS_ATTR">SC_KERNEL_CONS_ATTR</code></a></td>
+ </tr>
+ <tr id="TERMINAL_NORM_ATTR">
+ <td><a class="permalink" href="#TERMINAL_NORM_ATTR"><code class="Dv">TERMINAL_NORM_ATTR</code></a></td>
+ <td><a class="permalink" href="#SC_NORM_ATTR"><code class="Dv" id="SC_NORM_ATTR">SC_NORM_ATTR</code></a></td>
+ </tr>
+ <tr id="VT_TWOBUTTON_MOUSE~2">
+ <td><a class="permalink" href="#VT_TWOBUTTON_MOUSE~2"><code class="Dv">VT_TWOBUTTON_MOUSE</code></a></td>
+ <td><a class="permalink" href="#SC_TWOBUTTON_MOUSE"><code class="Dv" id="SC_TWOBUTTON_MOUSE">SC_TWOBUTTON_MOUSE</code></a></td>
+ </tr>
+ <tr id="VT_MAXWINDOWS">
+ <td><a class="permalink" href="#VT_MAXWINDOWS"><code class="Dv">VT_MAXWINDOWS</code></a></td>
+ <td><a class="permalink" href="#MAXCONS"><code class="Dv" id="MAXCONS">MAXCONS</code></a></td>
+ </tr>
+ <tr id="SC_NO_CUTPASTE~2">
+ <td>none</td>
+ <td><a class="permalink" href="#SC_NO_CUTPASTE~2"><code class="Dv">SC_NO_CUTPASTE</code></a></td>
+ </tr>
+</table>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="START-UP_OPERATION_WITH_X86_BIOS_SYSTEMS"><a class="permalink" href="#START-UP_OPERATION_WITH_X86_BIOS_SYSTEMS">START-UP
+ OPERATION WITH X86 BIOS SYSTEMS</a></h1>
+<p class="Pp">The computer BIOS starts in text mode, and the
+ <span class="Ux">FreeBSD</span> <a class="Xr">loader(8)</a> runs, loading
+ the kernel. If <var class="Va">hw.vga.textmode</var> is set, the system
+ remains in text mode. Otherwise, <code class="Nm">vt</code> switches to
+ 640x480x16 VGA mode using <code class="Cm">vt_vga</code>. If a KMS (Kernel
+ Mode Setting) video driver is available, the display is switched to high
+ resolution and the KMS driver takes over. When a KMS driver is not
+ available, <code class="Cm">vt_vga</code> remains active.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="LOADER_TUNABLES"><a class="permalink" href="#LOADER_TUNABLES">LOADER
+ TUNABLES</a></h1>
+<p class="Pp">These settings can be entered at the <a class="Xr">loader(8)</a>
+ prompt or in <a class="Xr">loader.conf(5)</a>.</p>
+<dl class="Bl-tag">
+ <dt id="hw.vga.textmode"><var class="Va">hw.vga.textmode</var></dt>
+ <dd>Set to 1 to use virtual terminals in text mode instead of graphics mode on
+ BIOS boot. Features that require graphics mode, like loadable fonts, will
+ be disabled.
+ <p class="Pp">If a KMS driver is loaded the console will switch to, and
+ remain in, graphics mode. Moreover this tunable has no effect with
+ <a class="Xr">UEFI(8)</a> boot because it does not use VGA mode.</p>
+ </dd>
+ <dt id="hw.vga.acpi_ignore_no_vga"><var class="Va">hw.vga.acpi_ignore_no_vga</var></dt>
+ <dd>Set to 1 to force the usage of the VGA driver regardless of whether ACPI
+ IAPC_BOOT_ARCH signals no VGA support. Can be used to workaround firmware
+ bugs in the ACPI tables. Note no VGA support is only acknowledged when
+ running virtualized. There is too many broken firmware that wrongly
+ reports no VGA support on physical hardware.</dd>
+ <dt id="kern.vty"><var class="Va">kern.vty</var></dt>
+ <dd>Set this value to &#x2018;<code class="Li">vt</code>&#x2019; or
+ &#x2018;<code class="Li">sc</code>&#x2019; to choose a specific system
+ console, overriding the default. The <span class="Pa">GENERIC</span>
+ kernel uses <code class="Nm">vt</code> when this value is not set. Note
+ that &#x2018;<code class="Li">sc</code>&#x2019; is not compatible with
+ <a class="Xr">UEFI(8)</a> boot.</dd>
+ <dt id="kern.vt.color"><var class="Va">kern.vt.color</var>.<var class="Ar">colornum</var>.<var class="Va">rgb</var></dt>
+ <dd>Set this value to override default palette entry for color
+ <var class="Ar">colornum</var> which should be in a range from 0 to 15
+ inclusive. The value should be either a comma-separated triplet of red,
+ green, and blue values in a range from 0 to 255 or HTML-like hex triplet.
+ See <a class="Sx" href="#EXAMPLES">EXAMPLES</a> below.
+ <p class="Pp">Note: The <code class="Nm">vt</code> VGA hardware driver does
+ not support palette configuration.</p>
+ </dd>
+ <dt id="kern.vt.fb.default_mode"><var class="Va">kern.vt.fb.default_mode</var></dt>
+ <dd>Set this value to a graphic mode to override the default picked by the
+ <code class="Nm">vt</code> backend. The mode is applied to all output
+ connectors. This is currently only supported by the
+ <code class="Cm">vt_fb</code> backend when it is paired with a KMS video
+ driver.</dd>
+ <dt id="kern.vt.fb.modes"><var class="Va">kern.vt.fb.modes</var>.&#x27E8;<var class="Ar">connector_name</var>&#x27E9;</dt>
+ <dd>Set this value to a graphic mode to override the default picked by the
+ <code class="Nm">vt</code> backend. This mode is applied to the output
+ connector <span class="Pa">connector_name</span> only. It has precedence
+ over <var class="Va">kern.vt.fb.default_mode</var>. The names of available
+ connector names can be found in <a class="Xr">dmesg(8)</a> after loading
+ the KMS driver. It will contain a list of connectors and their associated
+ tunables. This is currently only supported by the
+ <code class="Cm">vt_fb</code> backend when it is paired with a KMS video
+ driver.</dd>
+ <dt id="kern.vt.slow_down"><var class="Va">kern.vt.slow_down</var></dt>
+ <dd>When debugging the kernel on modern laptops, the screen is often the only
+ available console, and relevant information will scroll out of view before
+ it can be captured by eye or camera.
+ <p class="Pp">Setting <var class="Va">kern.vt.slow_down</var> to a non-zero
+ number will make console output synchronous (ie: not dependent on timers
+ and interrupts) and slow it down in proportion to the number.</p>
+ </dd>
+ <dt id="screen.font"><var class="Va">screen.font</var></dt>
+ <dd>Set this value to the base name of the desired font file located in
+ <span class="Pa">/boot/fonts</span>. The font must be specified in the
+ <span class="Pa">INDEX.fonts</span> file located there. Fonts can be
+ converted for use with <a class="Xr">vtfontcvt(8)</a>.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="KEYBOARD_SYSCTL_TUNABLES"><a class="permalink" href="#KEYBOARD_SYSCTL_TUNABLES">KEYBOARD
+ SYSCTL TUNABLES</a></h1>
+<p class="Pp">These settings control whether certain special key combinations
+ are enabled or ignored. The specific key combinations can be configured by
+ using a <a class="Xr">keymap(5)</a> file.</p>
+<p class="Pp">These settings can be entered at the <a class="Xr">loader(8)</a>
+ prompt or in <a class="Xr">loader.conf(5)</a> and can also be changed at
+ runtime with the <a class="Xr">sysctl(8)</a> command.</p>
+<dl class="Bl-tag">
+ <dt id="kern.vt.enable_altgr"><var class="Va">kern.vt.enable_altgr</var></dt>
+ <dd>Enable AltGr key (do not assume right Alt key as Alt).</dd>
+ <dt id="kern.vt.kbd_halt"><var class="Va">kern.vt.kbd_halt</var></dt>
+ <dd>Enable halt keyboard combination.</dd>
+ <dt id="kern.vt.kbd_poweroff"><var class="Va">kern.vt.kbd_poweroff</var></dt>
+ <dd>Enable power off key combination.</dd>
+ <dt id="kern.vt.kbd_reboot"><var class="Va">kern.vt.kbd_reboot</var></dt>
+ <dd>Enable reboot key combination, usually Ctrl+Alt+Del.</dd>
+ <dt id="kern.vt.kbd_debug"><var class="Va">kern.vt.kbd_debug</var></dt>
+ <dd>Enable debug request key combination, usually Ctrl+Alt+Esc.</dd>
+ <dt id="kern.vt.kbd_panic"><var class="Va">kern.vt.kbd_panic</var></dt>
+ <dd>Enable panic key combination.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="OTHER_SYSCTL_TUNABLES"><a class="permalink" href="#OTHER_SYSCTL_TUNABLES">OTHER
+ SYSCTL TUNABLES</a></h1>
+<p class="Pp">These settings can be entered at the <a class="Xr">loader(8)</a>
+ prompt, set in <a class="Xr">loader.conf(5)</a>, or changed at runtime with
+ <a class="Xr">sysctl(8)</a>.</p>
+<dl class="Bl-tag">
+ <dt id="kern.consmute"><var class="Va">kern.consmute</var></dt>
+ <dd>Disable printing kernel messages to the system console.</dd>
+ <dt id="kern.vt.enable_bell"><var class="Va">kern.vt.enable_bell</var></dt>
+ <dd>Enable the terminal bell.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
+<dl class="Bl-tag Bl-compact">
+ <dt><span class="Pa">/dev/console</span></dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt><span class="Pa">/dev/consolectl</span></dt>
+ <dd style="width: auto;">&#x00A0;</dd>
+ <dt><span class="Pa">/dev/ttyv*</span></dt>
+ <dd>virtual terminals</dd>
+ <dt><span class="Pa">/etc/ttys</span></dt>
+ <dd>terminal initialization information</dd>
+ <dt><span class="Pa">/usr/share/vt/fonts/*.fnt</span></dt>
+ <dd>console fonts</dd>
+ <dt><span class="Pa">/usr/share/vt/keymaps/*.kbd</span></dt>
+ <dd>keyboard layouts</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DEVCTL_MESSAGES"><a class="permalink" href="#DEVCTL_MESSAGES">DEVCTL
+ MESSAGES</a></h1>
+<table class="Bl-column">
+ <tr id="System">
+ <td><a class="permalink" href="#System"><b class="Sy">System</b></a></td>
+ <td><a class="permalink" href="#Subsystem"><b class="Sy" id="Subsystem">Subsystem</b></a></td>
+ <td><a class="permalink" href="#Type"><b class="Sy" id="Type">Type</b></a></td>
+ <td><a class="permalink" href="#Description"><b class="Sy" id="Description">Description</b></a></td>
+ </tr>
+ <tr id="VT">
+ <td><a class="permalink" href="#VT"><code class="Li">VT</code></a></td>
+ <td>BELL</td>
+ <td>RING</td>
+ <td>Notification that the console bell has rung.</td>
+ </tr>
+</table>
+<table class="Bl-column">
+ <tr id="Variable">
+ <td><a class="permalink" href="#Variable"><b class="Sy">Variable</b></a></td>
+ <td><a class="permalink" href="#Meaning"><b class="Sy" id="Meaning">Meaning</b></a></td>
+ </tr>
+ <tr id="duration_ms">
+ <td><a class="permalink" href="#duration_ms"><code class="Li">duration_ms</code></a></td>
+ <td>Length of time the bell was requested to ring in milliseconds.</td>
+ </tr>
+ <tr id="enabled">
+ <td><a class="permalink" href="#enabled"><code class="Li">enabled</code></a></td>
+ <td>true or false indicating whether or not the bell was administratively
+ enabled when rung.</td>
+ </tr>
+ <tr id="hushed">
+ <td><a class="permalink" href="#hushed"><code class="Li">hushed</code></a></td>
+ <td>true or false indicating whether or not the bell was quieted by the user
+ when rung.</td>
+ </tr>
+ <tr id="hz">
+ <td><a class="permalink" href="#hz"><code class="Li">hz</code></a></td>
+ <td>Tone that was requested in Hz.</td>
+ </tr>
+</table>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
+<p class="Pp">To increase the scrollback buffer size to 22500 lines, add the
+ following line to <span class="Pa">/etc/rc.conf</span>:</p>
+<p class="Pp"></p>
+<div class="Bd Bd-indent"><code class="Li">allscreens_flags=&quot;-h
+ 22500&quot;</code></div>
+<p class="Pp">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 <a class="Xr">config(8)</a>.</p>
+<p class="Pp"></p>
+<div class="Bd Bd-indent"><code class="Li">options
+ TERMINAL_NORM_ATTR=(FG_GREEN|BG_BLACK)</code></div>
+<p class="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.</p>
+<p class="Pp"></p>
+<div class="Bd Bd-indent"><code class="Li">options
+ TERMINAL_KERN_ATTR=(FG_LIGHTRED|BG_BLACK)</code></div>
+<p class="Pp">To set a 1024x768 mode on all output connectors, put the following
+ line in <span class="Pa">/boot/loader.conf</span>:</p>
+<p class="Pp"></p>
+<div class="Bd
+ Bd-indent"><code class="Li">kern.vt.fb.default_mode=&quot;1024x768&quot;</code></div>
+<p class="Pp">To set a 800x600 only on a laptop builtin screen, use the
+ following line instead:</p>
+<p class="Pp"></p>
+<div class="Bd
+ Bd-indent"><code class="Li">kern.vt.fb.modes.LVDS-1=&quot;800x600&quot;</code></div>
+<p class="Pp">The connector name was found in <a class="Xr">dmesg(8)</a>:</p>
+<p class="Pp"></p>
+<div class="Bd Bd-indent"><code class="Li">info: [drm] Connector LVDS-1: get
+ mode from tunables:</code></div>
+<div class="Bd Bd-indent"><code class="Li">info: [drm] -
+ kern.vt.fb.modes.LVDS-1</code></div>
+<div class="Bd Bd-indent"><code class="Li">info: [drm] -
+ kern.vt.fb.default_mode</code></div>
+<p class="Pp">To set black and white colors of console palette</p>
+<p class="Pp"></p>
+<div class="Bd
+ Bd-indent"><code class="Li">kern.vt.color.0.rgb=&quot;10,10,10&quot;</code></div>
+<div class="Bd
+ Bd-indent"><code class="Li">kern.vt.color.15.rgb=&quot;#f0f0f0&quot;</code></div>
+<p class="Pp">Load the 8x16 font in <a class="Xr">loader.conf(5)</a> from
+ <span class="Pa">/boot/fonts/*.fnt[.gz]</span> at boot:</p>
+<p class="Pp"></p>
+<div class="Bd
+ Bd-indent"><code class="Li">screen.font=&quot;8x16&quot;</code></div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">kbdcontrol(1)</a>, <a class="Xr">login(1)</a>,
+ <a class="Xr">vidcontrol(1)</a>, <a class="Xr">atkbd(4)</a>,
+ <a class="Xr">atkbdc(4)</a>, <a class="Xr">kbdmux(4)</a>,
+ <a class="Xr">keyboard(4)</a>, <a class="Xr">screen(4)</a>,
+ <a class="Xr">splash(4)</a>, <a class="Xr">syscons(4)</a>,
+ <a class="Xr">ukbd(4)</a>, <a class="Xr">kbdmap(5)</a>,
+ <a class="Xr">loader.conf(5)</a>, <a class="Xr">rc.conf(5)</a>,
+ <a class="Xr">ttys(5)</a>, <a class="Xr">config(8)</a>,
+ <a class="Xr">getty(8)</a>, <a class="Xr">kldload(8)</a>,
+ <a class="Xr">moused(8)</a>, <a class="Xr">vtfontcvt(8)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <code class="Nm">vt</code> driver first appeared in
+ <span class="Ux">FreeBSD 9.3</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp">The <code class="Nm">vt</code> device driver was developed by
+ <span class="An">Ed Schouten</span>
+ &lt;<a class="Mt" href="mailto:ed@FreeBSD.org">ed@FreeBSD.org</a>&gt;,
+ <span class="An">Ed Maste</span>
+ &lt;<a class="Mt" href="mailto:emaste@FreeBSD.org">emaste@FreeBSD.org</a>&gt;,
+ and <span class="An">Aleksandr Rybalko</span>
+ &lt;<a class="Mt" href="mailto:ray@FreeBSD.org">ray@FreeBSD.org</a>&gt;,
+ with sponsorship provided by the <span class="Ux">FreeBSD</span> Foundation.
+ This manual page was written by <span class="An">Warren Block</span>
+ &lt;<a class="Mt" href="mailto:wblock@FreeBSD.org">wblock@FreeBSD.org</a>&gt;.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
+<p class="Pp">Paste buffer size is limited by the system value
+ {<code class="Dv">MAX_INPUT</code>}, the number of bytes that can be stored
+ in the terminal input queue, usually 1024 bytes (see
+ <a class="Xr">termios(4)</a>).</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">November 21, 2025</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>