syscons.4 (84291) | syscons.4 (84877) |
---|---|
1.\" 2.\" Copyright (c) 1999 3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 10 unchanged lines hidden (view full) --- 19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" | 1.\" 2.\" Copyright (c) 1999 3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 10 unchanged lines hidden (view full) --- 19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" |
27.\" $FreeBSD: head/share/man/man4/syscons.4 84291 2001-10-01 13:20:05Z ru $ | 27.\" $FreeBSD: head/share/man/man4/syscons.4 84877 2001-10-13 09:08:37Z yokota $ |
28.\" 29.Dd June 30, 1999 30.Dt SYSCONS 4 31.Os 32.Sh NAME 33.Nm syscons , 34.Nm sc 35.Nd the console driver --- 14 unchanged lines hidden (view full) --- 50.Cd "options SC_PIXEL_MODE" 51.Cd "options SC_TWOBUTTON_MOUSE" 52.Cd "options SC_NORM_ATTR=_attribute_" 53.Cd "options SC_NORM_REV_ATTR=_attribute_" 54.Cd "options SC_KERNEL_CONS_ATTR=_attribute_" 55.Cd "options SC_KERNEL_CONS_REV_ATTR=_attribute_" 56.Cd "options SC_DFLT_FONT" 57.Cd "makeoptions SC_DFLT_FONT=_font_name_" | 28.\" 29.Dd June 30, 1999 30.Dt SYSCONS 4 31.Os 32.Sh NAME 33.Nm syscons , 34.Nm sc 35.Nd the console driver --- 14 unchanged lines hidden (view full) --- 50.Cd "options SC_PIXEL_MODE" 51.Cd "options SC_TWOBUTTON_MOUSE" 52.Cd "options SC_NORM_ATTR=_attribute_" 53.Cd "options SC_NORM_REV_ATTR=_attribute_" 54.Cd "options SC_KERNEL_CONS_ATTR=_attribute_" 55.Cd "options SC_KERNEL_CONS_REV_ATTR=_attribute_" 56.Cd "options SC_DFLT_FONT" 57.Cd "makeoptions SC_DFLT_FONT=_font_name_" |
58.Cd "device sc0 at isa?" Op flags Ar flags | 58.Cd "device sc" 59.Pp 60In 61.Pa /boot/device.hints : 62.Cd hint.sc.0.at="isa" |
59.Sh DESCRIPTION 60The 61.Nm 62driver provides multiple virtual terminals. 63It resembles the SCO color console driver. 64.Pp 65The 66.Nm --- 303 unchanged lines hidden (view full) --- 370This option implies the 371.Dv SC_NO_CUTPASTE 372option too. 373.El 374.Ss Driver Flags 375The following driver flags can be used to control the 376.Nm 377driver. | 63.Sh DESCRIPTION 64The 65.Nm 66driver provides multiple virtual terminals. 67It resembles the SCO color console driver. 68.Pp 69The 70.Nm --- 303 unchanged lines hidden (view full) --- 374This option implies the 375.Dv SC_NO_CUTPASTE 376option too. 377.El 378.Ss Driver Flags 379The following driver flags can be used to control the 380.Nm 381driver. |
378They can be set either in the kernel configuration file 379(see 380.Xr config 8 ) , 381or else in the User Configuration Menu at boot 382time 383(see 384.Xr boot 8 ) . | 382They can be set either in 383.Pa /boot/device.hints , 384or else at the loader prompt (see 385.Xr loader 8 ) . |
385.Bl -tag -width bit_0 386.\".It bit 0 (VISUAL_BELL) 387.\"Uses the ``visual'' bell. 388.\"The screen will blink instead of generating audible sound. 389.\".It bit 1,2 (CURSOR_TYPE) 390.\"This option specifies the cursor appearance. 391.\"Possible values are: 392.\".Bl -tag -width TYPE -compact --- 42 unchanged lines hidden (view full) --- 435.El 436.Sh EXAMPLES 437As the 438.Nm 439driver requires the keyboard driver and the video card driver, 440the kernel configuration file should contain the following lines. 441.Pp 442.Bd -literal -offset indent | 386.Bl -tag -width bit_0 387.\".It bit 0 (VISUAL_BELL) 388.\"Uses the ``visual'' bell. 389.\"The screen will blink instead of generating audible sound. 390.\".It bit 1,2 (CURSOR_TYPE) 391.\"This option specifies the cursor appearance. 392.\"Possible values are: 393.\".Bl -tag -width TYPE -compact --- 42 unchanged lines hidden (view full) --- 436.El 437.Sh EXAMPLES 438As the 439.Nm 440driver requires the keyboard driver and the video card driver, 441the kernel configuration file should contain the following lines. 442.Pp 443.Bd -literal -offset indent |
443device atkbdc0 at isa? port IO_KBD 444device atkbd0 at atkbdc? irq 1 445device vga0 at isa? conflicts 446device sc0 at isa? | 444device atkbdc 445device atkbd 446device vga 447device sc |
447 448device splash 449.Ed | 448 449device splash 450.Ed |
451You also need the following lines in 452.Pa /bood/device.hints 453for these drivers. 454.Bd -literal -offset indent 455hint.atkbdc.0.at="isa" 456hint.atkbdc.0.port="0x060" 457hint.atkbd.0.at="atkbdc" 458hint.atkbd.0.irq="1" 459hint.vga.0.at="isa" 460hint.sc.0.at="isa" 461.Ed |
|
450.Pp 451If you do not intend to load the splash image or use the screen saver, 452the last line is not necessary, and can be omitted. 453.Pp 454Note that the keyboard controller driver 455.Nm atkbdc 456is required by the keyboard driver 457.Nm atkbd . --- 19 unchanged lines hidden (view full) --- 477.Pa cp850-8x16.fnt , 478.Pa cp850-8x14.font 479and 480.Pa cp850-8x8.font 481to the kernel. 482.Pp 483.Dl "options SC_DFLT_FONT" 484.Dl "makeoptions SC_DFLT_FONT=cp850 | 462.Pp 463If you do not intend to load the splash image or use the screen saver, 464the last line is not necessary, and can be omitted. 465.Pp 466Note that the keyboard controller driver 467.Nm atkbdc 468is required by the keyboard driver 469.Nm atkbd . --- 19 unchanged lines hidden (view full) --- 489.Pa cp850-8x16.fnt , 490.Pa cp850-8x14.font 491and 492.Pa cp850-8x8.font 493to the kernel. 494.Pp 495.Dl "options SC_DFLT_FONT" 496.Dl "makeoptions SC_DFLT_FONT=cp850 |
485.Dl "device sc0 at isa? | 497.Dl "device sc" |
486.Pp 487.\".Sh DIAGNOSTICS 488.Sh CAVEATS 489Amount of data that is possible to insert from the cut buffer is limited 490by the 491.Brq Dv MAX_INPUT , 492a system limit on the number of bytes that may be stored in the terminal 493input queue - usually 1024 bytes --- 35 unchanged lines hidden --- | 498.Pp 499.\".Sh DIAGNOSTICS 500.Sh CAVEATS 501Amount of data that is possible to insert from the cut buffer is limited 502by the 503.Brq Dv MAX_INPUT , 504a system limit on the number of bytes that may be stored in the terminal 505input queue - usually 1024 bytes --- 35 unchanged lines hidden --- |