A feature known as remote mode is available with the pseudo-tty subsystem.
This feature is used for applications that perform the canonical function normally done by the ldterm module and tty driver.
The remote mode allows applications on the master-side to turn off the canonical processing.
An ioctl TIOCREMOTE with a nonzero parameter [ioctl(fd, TIOCREMOTE, 1)]
is issued on the master-side to enter the remote mode.
When this occurs, an M_CTL message with the command MC_NO_CANON is sent to the
ldterm module indicating that data should be passed when received on the
read-side and no canonical processing is to take place.
The remote mode may be disabled by
ioctl(fd, TIOCREMOTE, 0).
Pseudo-tty emulation module -- ptem
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005