[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ^Z kills my shell



> Is this the correct behaviour for es. I accidentally hit ^Z when running
> an archie search, and the shell blew up (so to speak ...)

correct, yes, but desirable, no.  actually, the shell probably didn't blow
up; more likely, it just halted waiting for someone to resume it.

here are two ways to avoid this from happening:

	stty susp undef dsusp undef

which unbinds the sending of the suspend signals from control-z and -y.
i used to do this.  better is

	signals = $signals -sigtstp

which ignores the stop signals in es and all child processes, though
if you run a job control shell under es job control will just work.

paul