Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

oct(4S)

tty(4)

zs(4S)

CONS(4S)  —  SPECIAL FILES

NAME

cons − driver for Sun console

SYNOPSIS

None; included in standard system. 

DESCRIPTION

Cons is an indirect driver for the Sun workstation console, which implements a standard UNIX terminal.  Cons is implemented by calling the PROM resident monitor to perform I/O to and from the current system console, which is either a Sun frame buffer or an RS232 port. 

When the Sun window system win(4S) is active, console input is directed through the window system rather than being read from /dev/console.

An ioctl TIOCCONS may be applied to serial devices other than the console to cause output which would normally appear on the console to instead be routed to the other devices.  This is used by the window system which does a TIOCCONS on a pseudo-terminal to cause console output to be routed there rather than to the screen through the PROM monitor, since routing output through the PROM destroys the integrity of the screen. 

FILES

/dev/console
/dev/ttyaalternate console (serial port)

SEE ALSO

oct(4S), tty(4), zs(4S)

BUGS

TIOCCONS should be restricted to the owner of /dev/console. 

Sun Release 1.1  —  Last change: 21 March 1984

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026