The file /dev/console refers to the system console device. /dev/console should be used for interactive purposes only. Use of /dev/console for
logging purposes is discouraged; syslog(3C) or msglog(7D) should be used instead.
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)).
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.
|