CONS(4) — UNIX Programmer’s Manual
NAME
cons − Sequent console interface
SYNOPSIS
device co0 at sec? doneq 10 req 10 bin 4 unit 0 # input
device co0 at sec? doneq 10 req 10 bin 4 unit 1 # output
DESCRIPTION
The co interface provides access to the console through a Sequent SCSI/Ethernet/Diagnostics (SCED) Board. When DYNIX is running, the interface behaves like a normal DYNIX terminal; see tty(4). Two terminal lines are available per SCED board. These lines are named /dev/ttyc[0-7]. All baud rates are supported on each of these lines. The hardware signals DTR and RTS are enabled on open of the lines and disabled on close. These signals may be changed via ioctl calls to the device driver and are not used in automatic flow control. Break detection and generation is also supported.
An additional special file named /dev/console tracks the line selected by the monitor firmware as the console device. The line selected as console can be accessed from either the file /dev/console or the corresponding /dev/ttyc[0-7] name. Thus, there are two names for that terminal line.
The line selected as console gets default erase, kill, and interupt characters from the monitor firmware settings for that line. In addition, if the monitor firmware flags specify that break characters cause a return to monitor firmware, a break on the console line will cause an immediate return to firmware. Otherwise, the break character is interpreted according to tty(4).
Other than these exceptions, the console works like any other DYNIX terminal.
DIAGNOSTICS
se%d: console device not binary configured. If a console device was not specified in the conf/conf_co.c file, this message appears at boot time.
co: stray interrupt, unit out of range %x. An interrupt was received on a unit which was not configured. The interrupt is ignored.
co: stray interrupt, dead unit %x. An interrupt was received on a unit which was previously determined to be not functional. The interrupt is ignored.
MINOR NUMBERS
Minor numbers for device nodes corresponding to console lines are selected as follows:
deviceminor number location
/dev/ttyc00SCED Board 0, local port
/dev/ttyc11SCED Board 0, remote port
/dev/ttyc22SCED Board 1, local port
/dev/ttyc33SCED Board 1, remote port
/dev/ttyc44SCED Board 2, local port
/dev/ttyc55SCED Board 2, remote port
/dev/ttyc66SCED Board 3, local port
/dev/ttyc77SCED Board 3, remote port
/dev/console64(current console)
FILES
/dev/console
/dev/ttyc[0-7]
/sys/conf/conf_co.c
SEE ALSO
BUGS
Modem control does not work properly. DTR and RTS always reflect the monitor firmware flags.
The transmit break ioctl function does not work.
There are some flow control problems. Data can be lost on transmit to another host because the local machine does not respond to flow control properly.
The monitor firmware erase, kill, interrupt characters are not inherited when returning to single user operation from multiuser operation.
DYNIX