console(7)
NAME
console − STREAMS-based console interface
SYNOPSIS
/dev/console
DESCRIPTION
The file /dev/console refers to the system console device. The identity of this device depends on the EEPROM settings in effect at the most recent system reboot; by default it is the “workstation console” device consisting of the workstation keyboard and frame buffer acting in concert to emulate an ASCII terminal (see wscons(7)).
Regardless of its configuration, the system console device provides asynchronous serial driver semantics, so that, in conjunction with the STREAMS line discipline module ldterm(7), it supports the termio(7) terminal interface.
SEE ALSO
termios(3), ldterm(7), termio(7), wscons(7)
NOTES
In contrast to pre-SunOS 5.0 releases, it is no longer possible to redirect I/O intended for /dev/console to some other device. Instead, redirection now applies to the workstation console device using a revised programming interface (see wscons(7)). Since the system console is normally configured to be the workstation console, the overall effect is largely unchanged from previous releases.
For detailed descriptions of control sequence syntax, ANSI control functions, control character functions and escape sequence functions see wscons(7).
SunOS 5.2 — Last change: 24 Sep 91