console(7D)
NAME
console − STREAMS-based console interface
SYNOPSIS
/dev/console
DESCRIPTION
The file /dev/console refers to the system console device.
SPARC
The identity of this device depends on the EEPROM or NVRAM 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(7D)).
x86
By default the device is the “workstation console” device consisting of the workstation keyboard and display (see display(7D) and keyboard(7D)) acting in concert to emulate an ASCII terminal (see wscons(7D)).
In either architecture, regardless of the system configuration, the console device provides asynchronous serial driver semantics so that, in conjunction with the STREAMS line discipline module ldterm(7M), it supports the termio(7I) terminal interface.
SEE ALSO
termios(3), ldterm(7M), termio(7I), wscons(7D)
x86 Only
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(7D)). Since the system console is normally configured to be the work station console, the overall effect is largely unchanged from previous releases.
See wscons(7D) for detailed descriptions of control sequence syntax, ANSI control functions, control character functions and escape sequence functions.
SunOS 5.6 — Last change: 13 Feb 1997