| MAXCONS=N |
| || This option sets the number of virtual terminals to N. The default value is 16. |
| SC_ALT_MOUSE_IMAGE |
| || 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. |
| SC_CUT_SEPCHARS=_characters_ |
| || 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. |
| SC_CUT_SPACES2TABS |
| || 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. |
| SC_DISABLE_KDBKEY |
| || 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. |
| SC_DISABLE_REBOOT |
| || This option disables the reboot key (by default, it is Ctl-Alt-Del), so that the casual user may not accidentally reboot the system. |
| SC_HISTORY_SIZE=N |
| || Sets the size of back scroll buffer to N lines. The default value is 100. |
| SC_MOUSE_CHAR=C |
| || 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. |
| SC_PIXEL_MODE |
| || 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. |
| SC_TWOBUTTON_MOUSE |
| || 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. |
| SC_NORM_ATTR=_attribute_ |
| || These options will set the default colors. Available colors are defined in |
.In machine/pc/display.h . See EXAMPLES below.
| SC_DFLT_FONT |
| || 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. |
| SC_NO_SUSPEND_VTYSWITCH |
| || 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. |
As the syscons driver requires the keyboard driver and the video card driver, the kernel configuration file should contain the following lines.
You also need the following lines in /boot/device.hints for these drivers.
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)