1.\"
| 1.\"
|
2.\" $FreeBSD: head/share/man/man4/screen.4 53200 1999-11-15 23:14:32Z phantom $
| 2.\" $FreeBSD: head/share/man/man4/screen.4 57676 2000-03-01 14:50:24Z sheldonh $
|
3.\" 4.Dd January 8, 1995 5.Dt SCREEN 4 6.Os FreeBSD 7.Sh NAME 8.Nm screen 9.Nd pc display interface 10.Sh DESCRIPTION 11 12Access to the 13.Ar virtual consoles 14are obtained through the device files 15ttyv0 - ttyvb in 16.Pa /dev . 17Each of these files correspond to a separate 18virtual console. 19All virtual console devices can be open at once, but only one is
| 3.\" 4.Dd January 8, 1995 5.Dt SCREEN 4 6.Os FreeBSD 7.Sh NAME 8.Nm screen 9.Nd pc display interface 10.Sh DESCRIPTION 11 12Access to the 13.Ar virtual consoles 14are obtained through the device files 15ttyv0 - ttyvb in 16.Pa /dev . 17Each of these files correspond to a separate 18virtual console. 19All virtual console devices can be open at once, but only one is
|
20active at a time. The active virtual console "owns" the keyboard and
| 20active at a time. 21The active virtual console "owns" the keyboard and
|
21display screen. 22.Pp 23Output to a virtual console that not currently is on the display is 24saved in a buffer that holds a "screenfull" (normally 25) lines. 25Any output written to 26.Pa /dev/console 27(the original console device) is echoed to 28.Pa /dev/ttyv0. 29.Pp 30To switch between the virtual consoles one uses the sequence 31.Ar ALT+Fn
| 22display screen. 23.Pp 24Output to a virtual console that not currently is on the display is 25saved in a buffer that holds a "screenfull" (normally 25) lines. 26Any output written to 27.Pa /dev/console 28(the original console device) is echoed to 29.Pa /dev/ttyv0. 30.Pp 31To switch between the virtual consoles one uses the sequence 32.Ar ALT+Fn
|
32, which means hold down ALT and press one of the function keys. The
| 33, which means hold down ALT and press one of the function keys. 34The
|
33virtual console with the same number as the function key is then 34selected as the current virtual console, and given exclusive use of
| 35virtual console with the same number as the function key is then 36selected as the current virtual console, and given exclusive use of
|
35the keyboard and display. This switch sequence can be changed via
| 37the keyboard and display. 38This switch sequence can be changed via
|
36the keyboard mapping ioctl call (see keyboard.4) 37.Pp 38 39The console allows entering values that are not physically 40present on the keyboard via a special keysequence. 41To use this facility press and hold down ALT, 42then enter a decimal number from 0-255 via the numerical keypad, then
| 39the keyboard mapping ioctl call (see keyboard.4) 40.Pp 41 42The console allows entering values that are not physically 43present on the keyboard via a special keysequence. 44To use this facility press and hold down ALT, 45then enter a decimal number from 0-255 via the numerical keypad, then
|
43release ALT. The entered value is then used as the ASCII value for one 44character. This way it is possible to enter any ASCII value. 45The console driver also includes a history function. It is activated by 46pressing the scroll-lock key. This holds the display, and enables the cursor
| 46release ALT. 47The entered value is then used as the ASCII value for one 48character. 49This way it is possible to enter any ASCII value. 50The console driver also includes a history function. 51It is activated by 52pressing the scroll-lock key. 53This holds the display, and enables the cursor
|
47arrows for scrolling up and down through the last scrolled out lines. 48 49The console understands a subset of the ANSI x3.64 character
| 54arrows for scrolling up and down through the last scrolled out lines. 55 56The console understands a subset of the ANSI x3.64 character
|
50sequences. For compatibility with the old pccons, the PC3 character
| 57sequences. 58For compatibility with the old pccons, the PC3 character
|
51sequences is also supported. 52.Pp 53.Bd -literal 54ANSI Seq Function Termcap entry 55======= ======= ===================================== ============== 56 57-- E7 Save cursor position sc 58
--- 110 unchanged lines hidden --- | 59sequences is also supported. 60.Pp 61.Bd -literal 62ANSI Seq Function Termcap entry 63======= ======= ===================================== ============== 64 65-- E7 Save cursor position sc 66
--- 110 unchanged lines hidden --- |