setty

NAME

setty - prevents tty mode changes

SYNOPSIS

setty [-d|-q|-x] [-a] [[+|-]mode

DESCRIPTION

This command is a C-shell built-in command.

The setty(1) command controls which tty modes the shell does not allow to change (see the section on terminal management in tcsh(1)). Using -d, -q or -x tells setty to act on the 'edit', 'quote' or 'execute' set of tty modes respectively; without -d, -q or -x, 'execute' is used.

Without other arguments, setty lists the modes in the chosen set that are fixed on ('+mode') or off ('-mode'). The available modes, and thus the display, vary from system to system. With -a, setty lists all tty modes in the chosen set, whether or not they are fixed. With +mode, -mode, or mode, setty fixes mode on or off, or removes control from mode in the chosen set. For example, 'setty +echok echoe' fixes 'echok' mode on and allows commands to turn 'echoe' mode on or off, both when the shell is executing commands.