.tf DH11 VI 4/21/86
.sh NAME
DH11 \- kernel interface to DH11
.sh DESCRIPTION
The DH11 device is a terminal interface used by KSOS.
.s3
The DH11 devices are identified to the kernel by their seids.
The name space field of a DH11 seid is always "terminal_nsp".
The unique id 0 field has a value that is 50 or greater, and each value
is unique for each I/O line for each physical DH11 device.
The unique id 1 field is the terminal path number, ranging from 0
through 4, where path 0 is reserved for the secure server and path 1 is
reserved for secure services.
.s3
The DH11 driver performs character I/O directly to the DH11 device.
The following kernel calls are related to the use of the DH11 device:
K_open, K_read_block, K_write_block, K_device_function, and K_close.
.s3
.lp 23 18
K_open	Before any data may be pass between a DH11 and a user process,
that process must open the device using the K_open kernel call.
Opening a DH11 device is a higher level function of the kernel I/O
system, while it provides information to the kernel I/O subsystem,it
has no effect on the device itself or the device driver.
.s3
.lp 23 18
K_read_block	The K_read_block kernel call is used to read characters
from a DH11 device.
.s3
.lp 23 18
K_write_block	The K_write_block kernel call is used to write characters
to a DH11 device.
.s3
.lp 23 18
K_device_function	The DH11 supports the following functions: READ,
WRITE, SETEOMCHARS, SETTERMODES1, SETTERMODES2, GETTERMODES, INPUTWAIT,
and SETPATH.
.s3
.lp 23 18
K_close	Closing a DH11 device is a higher level function of the kernel I/O
system and has no effect on the device itself or the device driver.
.i0
.sh "SEE ALSO"
.S3
K_close(II),
K_device_function(II),
K_open(II),
K_read_block(II),
K_write_block(II),
ioFunction(IIa),
seid(IIa).
