1console(7D)                         Devices                        console(7D)
2
3
4

NAME

6       console - STREAMS-based console interface
7

SYNOPSIS

9       /dev/console
10
11

DESCRIPTION

13       The file /dev/console refers to the system console device. /dev/console
14       should be used for interactive purposes only. Use of  /dev/console  for
15       logging  purposes  is  discouraged;  syslog(3C) or msglog(7D) should be
16       used instead.
17
18
19       The identity of this device depends on the EEPROM or NVRAM settings  in
20       effect  at the most recent system reboot; by default, it is the ``work‐
21       station console'' device consisting of  the  workstation  keyboard  and
22       frame  buffer  acting  in  concert  to  emulate  an ASCII terminal (see
23       wscons(7D)).
24
25
26       Regardless of the system configuration,  the  console  device  provides
27       asynchronous  serial  driver semantics so that, in conjunction with the
28       STREAMS line discipline module ldterm(7M), it supports  the  termio(7I)
29       terminal interface.
30

SEE ALSO

32       syslog(3C), termios(3C), ldterm(7M), termio(7I), msglog(7D), wscons(7D)
33

NOTES

35       In  contrast to pre-SunOS 5.0 releases, it is no longer possible to re‐
36       direct I/O intended for /dev/console to some other device. Instead, re‐
37       direction now applies to the workstation console device using a revised
38       programming interface (see wscons(7D)). Since  the  system  console  is
39       normally  configured to be the work station console, the overall effect
40       is largely unchanged from previous releases.
41
42
43       See wscons(7D) for detailed descriptions of  control  sequence  syntax,
44       ANSI control functions, control character functions and escape sequence
45       functions.
46
47
48
49SunOS 5.11                        23 Apr 1999                      console(7D)
Impressum