xref: /freebsd/share/man/man4/vt.4 (revision 1e37655ec3897ad4e71980009eb606d8ac679fb4)
1abebc22fSWarren Block.\" Copyright (c) 2014 Warren Block
2abebc22fSWarren Block.\" All rights reserved.
3abebc22fSWarren Block.\"
4abebc22fSWarren Block.\" Redistribution and use in source and binary forms, with or without
5abebc22fSWarren Block.\" modification, are permitted provided that the following conditions
6abebc22fSWarren Block.\" are met:
7abebc22fSWarren Block.\" 1. Redistributions of source code must retain the above copyright
8abebc22fSWarren Block.\"    notice, this list of conditions and the following disclaimer.
9abebc22fSWarren Block.\" 2. Redistributions in binary form must reproduce the above copyright
10abebc22fSWarren Block.\"    notice, this list of conditions and the following disclaimer in the
11abebc22fSWarren Block.\"    documentation and/or other materials provided with the distribution.
12abebc22fSWarren Block.\"
13abebc22fSWarren Block.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
14abebc22fSWarren Block.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15abebc22fSWarren Block.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16abebc22fSWarren Block.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
17abebc22fSWarren Block.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18abebc22fSWarren Block.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19abebc22fSWarren Block.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20abebc22fSWarren Block.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21abebc22fSWarren Block.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22abebc22fSWarren Block.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23abebc22fSWarren Block.\" SUCH DAMAGE.
24abebc22fSWarren Block.\"
25abebc22fSWarren Block.\" $FreeBSD$
26abebc22fSWarren Block.\"
27*1e37655eSYuri Pankov.Dd May 8, 2023
28f21acf08SEdward Tomasz Napierala.Dt "VT" 4
29abebc22fSWarren Block.Os
30abebc22fSWarren Block.Sh NAME
31abebc22fSWarren Block.Nm vt
32abebc22fSWarren Block.Nd virtual terminal console driver
33abebc22fSWarren Block.Sh SYNOPSIS
347344ee18SMarius Strobl.Cd "options TERMINAL_KERN_ATTR=_attribute_"
357344ee18SMarius Strobl.Cd "options TERMINAL_NORM_ATTR=_attribute_"
36abebc22fSWarren Block.Cd "options VT_MAXWINDOWS=N"
37abebc22fSWarren Block.Cd "options VT_ALT_TO_ESC_HACK=1"
38abebc22fSWarren Block.Cd "options VT_TWOBUTTON_MOUSE"
39f41bde66SConrad Meyer.Cd "options VT_FB_MAX_WIDTH=X"
40f41bde66SConrad Meyer.Cd "options VT_FB_MAX_HEIGHT=Y"
41abebc22fSWarren Block.Cd "options SC_NO_CUTPASTE"
42abebc22fSWarren Block.Cd "device vt"
43abebc22fSWarren Block.Pp
44abebc22fSWarren BlockIn
45abebc22fSWarren Block.Xr loader.conf 5 :
46abebc22fSWarren Block.Cd hw.vga.textmode=1
478f62926eSRoger Pau Monné.Cd hw.vga.acpi_ignore_no_vga=1
4859644098SEd Maste.Cd kern.vty=vt
4929f61a2fSOleksandr Tymoshenko.Cd kern.vt.color.<colornum>.rgb="<colorspec>"
5079c4bda8SJean-Sébastien Pédron.Cd kern.vt.fb.default_mode="<X>x<Y>"
5179c4bda8SJean-Sébastien Pédron.Cd kern.vt.fb.modes.<connector>="<X>x<Y>"
52d98ae075SEd Maste.Pp
53d98ae075SEd MasteIn
54d98ae075SEd Maste.Xr loader.conf 5 or
55d98ae075SEd Maste.Xr sysctl.conf 5 :
56d98ae075SEd Maste.Cd kern.vt.kbd_halt=1
57d98ae075SEd Maste.Cd kern.vt.kbd_poweroff=1
58d98ae075SEd Maste.Cd kern.vt.kbd_reboot=1
59d98ae075SEd Maste.Cd kern.vt.kbd_debug=1
60d98ae075SEd Maste.Cd kern.vt.kbd_panic=0
61*1e37655eSYuri Pankov.Cd kern.vt.enable_altgr=0
625b3078c3SWarren Block.Cd kern.vt.enable_bell=1
63abebc22fSWarren Block.Sh DESCRIPTION
64abebc22fSWarren BlockThe
65abebc22fSWarren Block.Nm
66abebc22fSWarren Blockdevice provides multiple virtual terminals with an extensive feature
67abebc22fSWarren Blockset:
68abebc22fSWarren Block.Bl -item -offset indent
69abebc22fSWarren Block.It
70abebc22fSWarren BlockUnicode UTF-8 text with double-width characters.
71abebc22fSWarren Block.It
72abebc22fSWarren BlockLarge font maps in graphics mode, including support for Asian
73abebc22fSWarren Blockcharacter sets.
74abebc22fSWarren Block.It
75abebc22fSWarren BlockGraphics-mode consoles.
76abebc22fSWarren Block.It
77abebc22fSWarren BlockIntegration with
78abebc22fSWarren BlockKMS
79abebc22fSWarren Block.Pq Kernel Mode Setting
80abebc22fSWarren Blockvideo drivers for switching between the
81abebc22fSWarren Block.Em X Window System
82abebc22fSWarren Blockand virtual terminals.
83abebc22fSWarren Block.El
84abebc22fSWarren Block.Ss Virtual Terminals
85abebc22fSWarren BlockMultiple virtual terminals are provided on a single computer.
86abebc22fSWarren BlockUp to sixteen virtual terminals can be defined.
87abebc22fSWarren BlockA single virtual terminal is connected to the screen and keyboard
88abebc22fSWarren Blockat a time.
89abebc22fSWarren BlockKey combinations are used to select a virtual terminal.
90abebc22fSWarren BlockAlt-F1 through Alt-F12 correspond to the first twelve virtual terminals.
91abebc22fSWarren BlockIf more than twelve virtual terminals are created, Shift-Alt-F1 through
92abebc22fSWarren BlockShift-Alt-F4 are used to switch to the additional terminals.
93abebc22fSWarren Block.Ss Copying and Pasting Text with a Mouse
94abebc22fSWarren BlockCopying and pasting text from the screen with a mouse is supported.
95abebc22fSWarren BlockPress and hold down mouse button 1, usually the left button, while
96abebc22fSWarren Blockmoving the mouse to select text.
97abebc22fSWarren BlockSelected text is highlighted with reversed foreground and background
98abebc22fSWarren Blockcolors.
99abebc22fSWarren BlockTo select more text after releasing mouse button 1, press mouse button
100abebc22fSWarren Block3, usually the right button.
101abebc22fSWarren BlockTo paste text that has been selected, press mouse button 2, usually the
102abebc22fSWarren Blockmiddle button.
103abebc22fSWarren BlockThe text is entered as if it were typed at the keyboard.
104abebc22fSWarren BlockThe
105abebc22fSWarren Block.Dv VT_TWOBUTTON_MOUSE
106abebc22fSWarren Blockkernel option can be used with mice that only have two buttons.
107abebc22fSWarren BlockSetting this option makes the second mouse button into the
108abebc22fSWarren Blockpaste button.
109abebc22fSWarren BlockSee
110abebc22fSWarren Block.Xr moused 8
111abebc22fSWarren Blockfor more information.
112abebc22fSWarren Block.Ss Scrolling Back
113abebc22fSWarren BlockOutput that has scrolled off the screen can be reviewed by pressing the
114abebc22fSWarren BlockScroll Lock key, then scrolling up and down with the arrow keys.
115abebc22fSWarren BlockThe Page Up and Page Down keys scroll up or down a full screen at a
116abebc22fSWarren Blocktime.
117abebc22fSWarren BlockThe Home and End keys jump to the beginning or end of the scrollback
118abebc22fSWarren Blockbuffer.
119abebc22fSWarren BlockWhen finished reviewing, press the Scroll Lock key again to return to
120abebc22fSWarren Blocknormal use.
121f39f8272SEd MasteSome laptop keyboards lack a Scroll Lock key, and use a special function key
122f39f8272SEd Mastesequence (such as Fn + K) to access Scroll Lock.
123abebc22fSWarren Block.Sh DRIVER CONFIGURATION
124abebc22fSWarren Block.Ss Kernel Configuration Options
125abebc22fSWarren BlockThese kernel options control the
126abebc22fSWarren Block.Nm
127abebc22fSWarren Blockdriver.
128abebc22fSWarren Block.Bl -tag -width MAXCONS
1298329214dSWarren Block.It Dv TERMINAL_NORM_ATTR= Ns Pa attribute
1308329214dSWarren Block.It Dv TERMINAL_KERN_ATTR= Ns Pa attribute
1315b3078c3SWarren BlockThese options change the default colors used for normal and kernel
1328329214dSWarren Blocktext.
1337344ee18SMarius StroblAvailable colors are defined in
1347344ee18SMarius Strobl.In sys/terminal.h .
1357344ee18SMarius StroblSee
1367344ee18SMarius Strobl.Sx EXAMPLES
1377344ee18SMarius Stroblbelow.
138abebc22fSWarren Block.It Dv VT_MAXWINDOWS=N
139abebc22fSWarren BlockSet the number of virtual terminals to be created to
140abebc22fSWarren Block.Fa N .
141abebc22fSWarren BlockThe value defaults to 12.
142abebc22fSWarren Block.It Dv VT_ALT_TO_ESC_HACK=1
143abebc22fSWarren BlockWhen the Alt key is held down while pressing another key, send an ESC
144abebc22fSWarren Blocksequence instead of the Alt key.
145abebc22fSWarren Block.It Dv VT_TWOBUTTON_MOUSE
146abebc22fSWarren BlockIf defined, swap the functions of mouse buttons 2 and 3.
147abebc22fSWarren BlockIn effect, this makes the right-hand mouse button perform a paste.
148abebc22fSWarren BlockThese options are checked in the order shown.
149abebc22fSWarren Block.It Dv SC_NO_CUTPASTE
150abebc22fSWarren BlockDisable mouse support.
151e9ee2675SMark Johnston.It VT_FB_MAX_WIDTH=X
152e9ee2675SMark JohnstonSet the maximum width to
153abebc22fSWarren Block.Fa X .
154e9ee2675SMark Johnston.It VT_FB_MAX_HEIGHT=Y
155e9ee2675SMark JohnstonSet the maximum height to
156abebc22fSWarren Block.Fa Y .
157abebc22fSWarren Block.El
158abebc22fSWarren Block.Sh BACKWARDS COMPATIBILITY
159abebc22fSWarren BlockSeveral options are provided for compatibility with the previous
160abebc22fSWarren Blockconsole device,
161abebc22fSWarren Block.Xr sc 4 .
162abebc22fSWarren BlockThese options will be removed in a future
163abebc22fSWarren Block.Fx
164abebc22fSWarren Blockversion.
165abebc22fSWarren Block.Bl -column -offset indent ".Sy vt VT_TWOBUTTON_MOUSE" ".Sy SC_TWOBUTTON_MOUSE"
166abebc22fSWarren Block.It Sy vt Option Name Ta Sy sc Option Name
1677344ee18SMarius Strobl.It Dv TERMINAL_KERN_ATTR Ta Dv SC_KERNEL_CONS_ATTR
1687344ee18SMarius Strobl.It Dv TERMINAL_NORM_ATTR Ta Dv SC_NORM_ATTR
169abebc22fSWarren Block.It Dv VT_TWOBUTTON_MOUSE Ta Dv SC_TWOBUTTON_MOUSE
170abebc22fSWarren Block.It Dv VT_MAXWINDOWS Ta Dv MAXCONS
171abebc22fSWarren Block.It none Ta Dv SC_NO_CUTPASTE
172abebc22fSWarren Block.El
173abebc22fSWarren Block.Sh START-UP OPERATION WITH X86 BIOS SYSTEMS
174abebc22fSWarren BlockThe computer BIOS starts in text mode, and
175abebc22fSWarren Blockthe
176abebc22fSWarren Block.Fx
177abebc22fSWarren Block.Xr loader 8
178abebc22fSWarren Blockruns, loading the kernel.
179abebc22fSWarren BlockIf
180abebc22fSWarren Block.Va hw.vga.textmode
181abebc22fSWarren Blockis set, the system remains in text mode.
182abebc22fSWarren BlockOtherwise,
183abebc22fSWarren Block.Nm
184abebc22fSWarren Blockswitches to 640x480x16 VGA mode using
1858329214dSWarren Block.Cm vt_vga .
186abebc22fSWarren BlockIf a KMS
18779c4bda8SJean-Sébastien Pédron.Pq Kernel Mode Setting
188abebc22fSWarren Blockvideo driver is available, the display is switched to high resolution
189abebc22fSWarren Blockand the KMS driver takes over.
190abebc22fSWarren BlockWhen a KMS driver is not available,
1918329214dSWarren Block.Cm vt_vga
192abebc22fSWarren Blockremains active.
193abebc22fSWarren Block.Sh LOADER TUNABLES
194abebc22fSWarren BlockThese settings can be entered at the
195abebc22fSWarren Block.Xr loader 8
196abebc22fSWarren Blockprompt or in
197abebc22fSWarren Block.Xr loader.conf 5 .
198abebc22fSWarren Block.Bl -tag -width indent
199abebc22fSWarren Block.It Va hw.vga.textmode
200abebc22fSWarren BlockSet to 1 to use virtual terminals in text mode instead of graphics mode.
201abebc22fSWarren BlockFeatures that require graphics mode, like loadable fonts, will be
202abebc22fSWarren Blockdisabled.
203004b0aa8SEd Maste.Pp
204004b0aa8SEd MasteIf a KMS driver is loaded the console will switch to (and remain in)
205004b0aa8SEd Mastegraphics mode.
2068f62926eSRoger Pau Monné.It Va hw.vga.acpi_ignore_no_vga
2078f62926eSRoger Pau MonnéSet to 1 to force the usage of the VGA driver regardless of whether
2088f62926eSRoger Pau MonnéACPI IAPC_BOOT_ARCH signals no VGA support.
2098f62926eSRoger Pau MonnéCan be used to workaround firmware bugs in the ACPI tables.
21005188320SRoger Pau MonnéNote no VGA support is only acknowledged when running virtualized.
21105188320SRoger Pau MonnéThere is too many broken firmware that wrongly reports no VGA support on
21205188320SRoger Pau Monnéphysical hardware.
21359644098SEd Maste.It Va kern.vty
214d98ae075SEd MasteSet this value to
2158329214dSWarren Block.Ql vt
2168329214dSWarren Blockor
217d98ae075SEd Maste.Ql sc
21884e3706cSEd Masteto choose a specific system console, overriding the default.
2196f1f849cSEd MasteThe
22084e3706cSEd Maste.Pa GENERIC
2216f1f849cSEd Mastekernel uses
2226f1f849cSEd Maste.Nm
2236f1f849cSEd Mastewhen this value is not set.
22429f61a2fSOleksandr Tymoshenko.It Va kern.vt.color. Ns Ar colornum Ns Va .rgb
22529f61a2fSOleksandr TymoshenkoSet this value to override default palette entry for color
22629f61a2fSOleksandr Tymoshenko.Pa colornum
22729f61a2fSOleksandr Tymoshenkowhich should be in a range from 0 to 15 inclusive.
22829f61a2fSOleksandr TymoshenkoThe value should be either a comma-separated triplet of
22929f61a2fSOleksandr Tymoshenkored, green, and blue values in a range from 0 to 255 or
23029f61a2fSOleksandr TymoshenkoHTML-like hex triplet.
23129f61a2fSOleksandr TymoshenkoSee
23229f61a2fSOleksandr Tymoshenko.Sx EXAMPLES
23329f61a2fSOleksandr Tymoshenkobelow.
234b126b79bSEd Maste.Pp
235b126b79bSEd MasteNote: The
236b126b79bSEd Maste.Nm
237b126b79bSEd MasteVGA hardware driver does not support palette configuration.
23879c4bda8SJean-Sébastien Pédron.It Va kern.vt.fb.default_mode
23979c4bda8SJean-Sébastien PédronSet this value to a graphic mode to override the default mode picked by the
24079c4bda8SJean-Sébastien Pédron.Nm
2414261dbcfSJean-Sébastien Pédronbackend.
2424261dbcfSJean-Sébastien PédronThe mode is applied to all output connectors.
2434261dbcfSJean-Sébastien PédronThis is currently only supported by the
24479c4bda8SJean-Sébastien Pédron.Cm vt_fb
2455b3078c3SWarren Blockbackend when it is paired with a KMS video driver.
24679c4bda8SJean-Sébastien Pédron.It Va kern.vt.fb.modes. Ns Pa connector_name
24779c4bda8SJean-Sébastien PédronSet this value to a graphic mode to override the default mode picked by the
24879c4bda8SJean-Sébastien Pédron.Nm
2494261dbcfSJean-Sébastien Pédronbackend.
2504261dbcfSJean-Sébastien PédronThis mode is applied to the output connector
25179c4bda8SJean-Sébastien Pédron.Pa connector_name
2525b3078c3SWarren Blockonly.
2535b3078c3SWarren BlockIt has precedence over
25479c4bda8SJean-Sébastien Pédron.Va kern.vt.fb.default_mode .
255a95c4612SJean-Sébastien PédronThe names of available connector names can be found in
256a95c4612SJean-Sébastien Pédron.Xr dmesg 8
2574261dbcfSJean-Sébastien Pédronafter loading the KMS driver.
2584261dbcfSJean-Sébastien PédronIt will contain a list of connectors and their associated tunables.
2594261dbcfSJean-Sébastien PédronThis is currently only supported by the
26079c4bda8SJean-Sébastien Pédron.Cm vt_fb
2615b3078c3SWarren Blockbackend when it is paired with a KMS video driver.
26279c4bda8SJean-Sébastien Pédron.El
263d98ae075SEd Maste.Sh KEYBOARD SYSCTL TUNABLES
264d98ae075SEd MasteThese settings control whether certain special key combinations are enabled or
265d98ae075SEd Masteignored.
266d98ae075SEd MasteThe specific key combinations can be configured by using a
267d98ae075SEd Maste.Xr keymap 5
268d98ae075SEd Mastefile.
269d98ae075SEd Maste.Pp
270d98ae075SEd MasteThese settings can be entered at the
271d98ae075SEd Maste.Xr loader 8
272d98ae075SEd Masteprompt or in
273d98ae075SEd Maste.Xr loader.conf 5
274d98ae075SEd Masteand can also be changed at runtime with the
275d98ae075SEd Maste.Xr sysctl 8
276d98ae075SEd Mastecommand.
277d98ae075SEd Maste.Bl -tag -width indent
278*1e37655eSYuri Pankov.It Va kern.vt.enable_altgr
279*1e37655eSYuri PankovEnable AltGr key (do not assume right Alt key as Alt).
280d98ae075SEd Maste.It Va kern.vt.kbd_halt
281d98ae075SEd MasteEnable halt keyboard combination.
282d98ae075SEd Maste.It Va kern.vt.kbd_poweroff
283d98ae075SEd MasteEnable power off key combination.
284fcb926a7SKevin Lo.It Va kern.vt.kbd_reboot
285d98ae075SEd MasteEnable reboot key combination, usually Ctrl+Alt+Del.
286d98ae075SEd Maste.It Va kern.vt.kbd_debug
287d98ae075SEd MasteEnable debug request key combination, usually Ctrl+Alt+Esc.
288d98ae075SEd Maste.It Va kern.vt.kbd_panic
289d98ae075SEd MasteEnable panic key combination.
290abebc22fSWarren Block.El
2915b3078c3SWarren Block.Sh OTHER SYSCTL TUNABLES
2925b3078c3SWarren BlockThese settings can be entered at the
2935b3078c3SWarren Block.Xr loader 8
2945b3078c3SWarren Blockprompt, set in
2955b3078c3SWarren Block.Xr loader.conf 5 ,
2965b3078c3SWarren Blockor changed at runtime with
2975b3078c3SWarren Block.Xr sysctl 8 .
2985b3078c3SWarren Block.Bl -tag -width indent
2995b3078c3SWarren Block.It Va kern.vt.enable_bell
3005b3078c3SWarren BlockEnable the terminal bell.
3015b3078c3SWarren Block.El
302abebc22fSWarren Block.Sh FILES
303651045d6SStefan Eßer.Bl -tag -width /usr/share/vt/keymaps/* -compact
304abebc22fSWarren Block.It Pa /dev/console
305abebc22fSWarren Block.It Pa /dev/consolectl
306abebc22fSWarren Block.It Pa /dev/ttyv*
307abebc22fSWarren Blockvirtual terminals
308abebc22fSWarren Block.It Pa /etc/ttys
309abebc22fSWarren Blockterminal initialization information
310651045d6SStefan Eßer.It Pa /usr/share/vt/fonts/*.fnt
311651045d6SStefan Eßerconsole fonts
312651045d6SStefan Eßer.It Pa /usr/share/vt/keymaps/*.kbd
313651045d6SStefan Eßerkeyboard layouts
314abebc22fSWarren Block.El
3154ac3d08aSWarner Losh.Sh DEVCTL MESSAGES
3164ac3d08aSWarner Losh.Bl -column "System" "Subsystem" "1234567" -compact
3174ac3d08aSWarner Losh.Sy "System" Ta Sy "Subsystem" Ta Sy "Type" Ta Sy "Description"
3184ac3d08aSWarner Losh.It Li VT Ta BELL Ta RING Ta
31980f21bb0SWarner LoshNotification that the console bell has rung.
3204ac3d08aSWarner Losh.El
3214ac3d08aSWarner Losh.Pp
3224ac3d08aSWarner Losh.Bl -column "Variable" "Meaning" -compact
3234ac3d08aSWarner Losh.Sy "Variable" Ta Sy "Meaning"
3244ac3d08aSWarner Losh.It Li duration_ms Ta Length of time the bell was requested to ring in milliseconds.
32580f21bb0SWarner Losh.It Li enabled Ta true or false indicating whether or not the bell was administratively enabled when rung.
32680f21bb0SWarner Losh.It Li hushed Ta true or false indicating whether or not the bell was quieted by the user when rung.
3274ac3d08aSWarner Losh.It Li hz Ta Tone that was requested in Hz.
3284ac3d08aSWarner Losh.El
3298329214dSWarren Block.Sh EXAMPLES
3308329214dSWarren BlockThis example changes the default color of normal text to green on a
3318329214dSWarren Blockblack background, or black on a green background when reversed.
3328329214dSWarren BlockNote that white space cannot be used inside the attribute string
3338329214dSWarren Blockbecause of the current implementation of
3348329214dSWarren Block.Xr config 8 .
3358329214dSWarren Block.Pp
3368329214dSWarren Block.Dl "options TERMINAL_NORM_ATTR=(FG_GREEN|BG_BLACK)"
3378329214dSWarren Block.Pp
3388329214dSWarren BlockThis line changes the default color of kernel messages to be bright red
3398329214dSWarren Blockon a black background, or black on a bright red background when reversed.
3408329214dSWarren Block.Pp
3418329214dSWarren Block.Dl "options TERMINAL_KERN_ATTR=(FG_LIGHTRED|BG_BLACK)"
34279c4bda8SJean-Sébastien Pédron.Pp
34379c4bda8SJean-Sébastien PédronTo set a 1024x768 mode on all output connectors, put the following line in
34479c4bda8SJean-Sébastien Pédron.Pa /boot/loader.conf :
34579c4bda8SJean-Sébastien Pédron.Pp
34679c4bda8SJean-Sébastien Pédron.Dl kern.vt.fb.default_mode="1024x768"
34779c4bda8SJean-Sébastien Pédron.Pp
34879c4bda8SJean-Sébastien PédronTo set a 800x600 only on a laptop builtin screen, use the following line instead:
34979c4bda8SJean-Sébastien Pédron.Pp
35079c4bda8SJean-Sébastien Pédron.Dl kern.vt.fb.modes.LVDS-1="800x600"
35179c4bda8SJean-Sébastien Pédron.Pp
35279c4bda8SJean-Sébastien PédronThe connector name was found in
35379c4bda8SJean-Sébastien Pédron.Xr dmesg 8 :
35479c4bda8SJean-Sébastien Pédron.Pp
35579c4bda8SJean-Sébastien Pédron.Dl info: [drm] Connector LVDS-1: get mode from tunables:
35679c4bda8SJean-Sébastien Pédron.Dl info: [drm]   - kern.vt.fb.modes.LVDS-1
35779c4bda8SJean-Sébastien Pédron.Dl info: [drm]   - kern.vt.fb.default_mode
35829f61a2fSOleksandr Tymoshenko.Pp
35929f61a2fSOleksandr TymoshenkoTo set black and white colors of console palette
36029f61a2fSOleksandr Tymoshenko.Pp
36129f61a2fSOleksandr Tymoshenko.Dl kern.vt.color.0.rgb="10,10,10"
36229f61a2fSOleksandr Tymoshenko.Dl kern.vt.color.15.rgb="#f0f0f0"
363abebc22fSWarren Block.Sh SEE ALSO
364abebc22fSWarren Block.Xr kbdcontrol 1 ,
365abebc22fSWarren Block.Xr login 1 ,
366abebc22fSWarren Block.Xr vidcontrol 1 ,
367abebc22fSWarren Block.Xr atkbd 4 ,
368abebc22fSWarren Block.Xr atkbdc 4 ,
369345c0478SEdward Tomasz Napierala.Xr kbdmux 4 ,
370abebc22fSWarren Block.Xr keyboard 4 ,
371abebc22fSWarren Block.Xr screen 4 ,
372abebc22fSWarren Block.Xr splash 4 ,
373abebc22fSWarren Block.Xr syscons 4 ,
374abebc22fSWarren Block.Xr ukbd 4 ,
375abebc22fSWarren Block.Xr kbdmap 5 ,
376abebc22fSWarren Block.Xr rc.conf 5 ,
377abebc22fSWarren Block.Xr ttys 5 ,
378abebc22fSWarren Block.Xr config 8 ,
379abebc22fSWarren Block.Xr getty 8 ,
380abebc22fSWarren Block.Xr kldload 8 ,
3815e819274SEd Maste.Xr moused 8 ,
3825e819274SEd Maste.Xr vtfontcvt 8
383a102d822SMarius Strobl.Sh HISTORY
384a102d822SMarius StroblThe
3853a8794beSJoel Dahl.Nm
386a102d822SMarius Strobldriver first appeared in
387a102d822SMarius Strobl.Fx 9.3 .
388abebc22fSWarren Block.Sh AUTHORS
389abebc22fSWarren Block.An -nosplit
390abebc22fSWarren BlockThe
391abebc22fSWarren Block.Nm
392abebc22fSWarren Blockdevice driver was developed by
393548afe2bSChristian Brueffer.An \&Ed Schouten Aq Mt ed@FreeBSD.org ,
394548afe2bSChristian Brueffer.An \&Ed Maste Aq Mt emaste@FreeBSD.org ,
395abebc22fSWarren Blockand
3966c899950SBaptiste Daroussin.An Aleksandr Rybalko Aq Mt ray@FreeBSD.org ,
397abebc22fSWarren Blockwith sponsorship provided by the
398abebc22fSWarren Block.Fx
399abebc22fSWarren BlockFoundation.
400abebc22fSWarren BlockThis manual page was written by
4016c899950SBaptiste Daroussin.An Warren Block Aq Mt wblock@FreeBSD.org .
402abebc22fSWarren Block.Sh CAVEATS
403abebc22fSWarren BlockPaste buffer size is limited by the system value
404abebc22fSWarren Block.Brq Dv MAX_INPUT ,
405abebc22fSWarren Blockthe number of bytes that can be stored in the terminal
406abebc22fSWarren Blockinput queue, usually 1024 bytes
407abebc22fSWarren Block(see
408abebc22fSWarren Block.Xr termios 4 ) .
409