LIB$DISABLE_CTRL (OpenVMS) LIB$DISABLE_CTRL (OpenVMS)
NAME
ioctl - control devices
tcsetattr - set terminal parameters
LIB$DISABLE_CTRL - Disable CLI interception of control characters
EXPLAINATION
The Digital UNIX tcsetattr function provides functionality similar to
the OpenVMS LIB$DISABLE_CTRL library routine. To disable control char‐
acter interception, turn off the ISIG flag in the c_lflag termios
structure. To turn on the signal interception, set the ISIG flag in
the termios structure and call tcsetattr again. It is typical to call
the tcgetattr to determine the current terminal settings, modify these
settings, and set the changed settings with the tcsetattr function. It
is also important to reset the original tty settings before exiting the
program both during normal exit and upon receipt of a termination sig‐
nal. The tcgetattr and tcsetattr functions are POSIX front ends to the
ioctl system call.
RELATED INFORMATION
Digital UNIX Functions:
tcgetattr(3), tcsetattr(3), ioctl(2), tty(7) delim off
LIB$DISABLE_CTRL (OpenVMS)