ITEM: F9435L
how to set the stty susp to none ?
How can I set the stty susp option of the stty to none ? I want users
to be able to CTRL-C to exit a process, but NOT to CTRL-Z to suspend a
running job. How can this be done?
Response:
For a tty you could:
chdev -l tty\# -a susp=''
when the above is run and an stty -a is issued from the terminal, the
susp function shows up as \.
However, this syntax won't work for a pts.
You could do stty -isig to ignore all signals, but you only want to
ignore the susp.
To undefine the stty susp character temporarily:
stty susp \\\^-
(stty susp backslash caret dash)
When you issue an stty -a after the above command, you will see that
the susp character is \
Support Line: how to set the stty susp to none ? ITEM: F9435L
Dated: January 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:51
Comments or suggestions?
Contact us