|This option sets the number of virtual terminals to N. The default value is 16.|
|This option selects the alternative way of displaying the mouse cursor in the virtual terminal. It may be expensive for some video cards to draw the arrow-shaped cursor, and you may want to try this option. However, the appearance of the alternative mouse cursor may not be very appealing. Note that if you use the SC_NO_FONT_LOADING option then you must also use this option if you wish to be able to use the mouse.|
|This options specifies characters that will be looked for when the driver searches for words boundaries when doing cut operation. By default, its value is "\x20" a space character.|
|This options instructs the driver to convert leading spaces into tabs when copying data into cut buffer. This might be useful to preserve indentation when copying tab-indented text.|
|This option disables the debug key combination (by default, it is Alt-Esc, or Ctl-PrintScreen). It will prevent users from entering the kernel debugger (KDB) by pressing the key combination. KDB will still be invoked when the kernel panics or hits a break point if it is included in the kernel. If this option is not defined, this behavior may be controled at runtime by the sysctl(8) variable hw.syscons.kbd_debug.|
|This option disables the reboot key (by default, it is Ctl-Alt-Del), so that the casual user may not accidentally reboot the system. If this option is not defined, this behavior may be controled at runtime by the sysctl(8) variable hw.syscons.kbd_reboot.|
|Sets the size of back scroll buffer to N lines. The default value is 100.|
|Unless the SC_ALT_MOUSE_IMAGE option above is specified, the syscons driver reserves four consecutive character codes in order to display the mouse cursor in the virtual terminals in some systems. This option specifies the first character code to C to be used for this purpose. The default value is 0xd0. A good candidate is 0x03.|
|Adds support for pixel (raster) mode console. This mode is useful on some laptop computers, but less so on most other systems, and it adds substantial amount of code to syscons. If this option is NOT defined, you can reduce the kernel size a lot. See the VESA800X600 flag below.|
|If you have a two button mouse, you may want to add this option to use the right button of the mouse to paste text. See Mouse Support and Copy-and-Paste above.|
These options will set the default colors.
Available colors are defined in
.In machine/pc/display.h . See EXAMPLES below.
|This option will specify the default font. Available fonts are: iso, iso2, koi8-r, koi8-u, cp437, cp850, cp865, cp866 and cp866u. 16-line, 14-line and 8-line font data will be compiled in. Without this option, the syscons driver will use whatever font is already loaded in the video card, unless you explicitly load a software font at startup. See EXAMPLES below.|
|This option, which is also available as loader(8) tunable and sysctl(8) variable hw.syscons.sc_no_suspend_vtswitch, disables switching between virtual terminals (graphics <-> text) during suspend/resume (ACPI and APM). Use this option if your system is freezing when you are running X and trying to suspend.|
The following options will remove some features from the syscons driver and save kernel memory.
|This option disables copy and paste operation in virtual terminals.|
|The syscons driver can load software fonts on some video cards. This option removes this feature. Note that if you still wish to use the mouse with this option then you must also use the SC_ALT_MOUSE_IMAGE option.|
|This option disables back-scrolling in virtual terminals.|
|This option removes mouse support in the syscons driver. The mouse daemon moused(8) will fail if this option is defined. This option implies the SC_NO_CUTPASTE option too.|
The following driver flags can be used to control the syscons driver. They can be set either in /boot/device.hints, or else at the loader prompt (see loader(8)).
0x0080 (VESA800X600) This option puts the video card in the VESA 800x600 pixel, 16 color mode. It may be useful for laptop computers for which the 800x600 mode is otherwise unsupported by the X server. Note that in order for this flag to work, the kernel must be compiled with the SC_PIXEL_MODE option explained above. 0x0100 (AUTODETECT_KBD) This option instructs the syscons driver to periodically scan for a keyboard device if it is not currently attached to one. Otherwise, the driver only probes for a keyboard once during bootup.
virtual terminals /etc/ttys terminal initialization information /usr/share/syscons/fonts/* font files /usr/share/syscons/keymaps/* key map files /usr/share/syscons/scrmaps/* screen map files
As the syscons driver requires the keyboard driver and the video card driver, the kernel configuration file should contain the following lines.
device atkbdc device atkbd device vga device scYou also need the following lines in /boot/device.hints for these drivers.
device splashhint.atkbdc.0.at="isa" hint.atkbdc.0.port="0x060" hint.atkbd.0.at="atkbdc" hint.atkbd.0.irq="1" hint.vga.0.at="isa" hint.sc.0.at="isa"
If you do not intend to load the splash image or use the screen saver, the last line is not necessary, and can be omitted.
Note that the keyboard controller driver atkbdc is required by the keyboard driver atkbd.
The following lines will set the default colors. The normal text will be green on black background. The reversed text will be yellow on green background. Note that you cannot put any white space inside the quoted string, because of the current implementation of config(8).
The following lines will set the default colors of the kernel message. The kernel message will be printed bright red on black background. The reversed message will be black on red background.
The following example adds the font files cp850-8x16.fnt, cp850-8x14.font and cp850-8x8.font to the kernel.
The amount of data that is possible to insert from the cut buffer is limited by the
.Brq Dv MAX_INPUT , a system limit on the number of bytes that may be stored in the terminal input queue - usually 1024 bytes (see termios(4)).
kbdcontrol(1), login(1), vidcontrol(1), atkbd(4), atkbdc(4), keyboard(4), screen(4), splash(4), ukbd(4), vga(4), kbdmap(5), rc.conf(5), ttys(5), config(8), getty(8), kldload(8), moused(8)
The syscons driver first appeared in
.Fx 1.0 .
.An -nosplit The syscons driver was written by
.An Sren Schmidt Aq sos@FreeBSD.org . This manual page was written by
.An Kazutaka Yokota Aq yokota@FreeBSD.org .
This manual page is incomplete and urgently needs revision.
|October 22, 2006||SYSCONS (4)|