csh / bsd job control
Tom Christiansen
tchrist at convex.COM
Fri Mar 23 01:16:00 AEST 1990
In article <22821 at adm.BRL.MIL> bzs at cs.bu.edu (Barry Shein) writes:
>I'd be curious to hear how those shells that do this handle the stty
>problem.
I think the best thing to do is to have the shell always restore
the mode to what it was before the program was called, irrespective
of whether the program should have stopped, exited, or aborted.
In order to handle the stty case, you can introduce a variable to
control this, in the style of noglob and nonomatch. Let's call
this noreset. Thus,
% set noreset; stty kill ^g; unset noreset
I've actually worked with (t?)csh's that had this feature,
but I don't recall precisely where.
--tom
--
Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist
Convex Computer Corporation tchrist at convex.COM
"EMACS belongs in <sys/errno.h>: Editor too big!"
More information about the Comp.unix.wizards
mailing list