cs(7) CLIX cs(7)
NAME
cs - Console interface driver
DESCRIPTION
The cs driver is the console interface driver. The cs driver supports the
features described in termio.
The cs driver automatically configures the system console at boot time.
On Intergraph graphic workstations, the console is a window on the
graphics screen. On 200-, 2000-, and 6000-series servers, the console is
connected to serial port 0 and on 300- and 400-series servers, the console
is connected to serial port 2.
The ioctl() function ioctl(fildes, request, arg) can be used with cs,
where fildes is the file descriptor returned by open(), and request is one
of the ioctl() requests defined in <sys/cs.h>. Currently only the
following request is defined for the console driver:
REMOTE_DIAG
Quits remote diagnostic services. The console is moved back to the
local console and the modem hangs up the phone. The variable errno
is set to ENXIO if not in a remote diagnostic session.
A remote diagnostic session may be started at boot time. When in the
remote diagnostic session, the console is configured to be an aux port
which has a modem connected. A second device is used as a local console.
This can be either a second aux port or the standard console window (for
machines with graphics). The /dev/localcs file is a device that can be
used to communicate between the remote console and the local console. All
data displayed on the remote console will also be displayed on the local
console. The localcs driver supports the features described in termio(7).
When performing a read() from localcs, data comes from the local console.
When performing a write() to /dev/localcs, data is displayed on the local
console. The open() function fails, with errno set to ENXIO if the system
is not in a remote diagnostic session.
FILES
/dev/console System console device.
/dev/localcs Device that communicates between remote and local consoles.
RELATED INFORMATION
Files: aux(7), termio(7)
2/94 - Intergraph Corporation 1