Control-Z the Sleep Signal
martin at dc.cis.okstate.edu
Wed Jun 10 02:05:11 UTC 2009
Dan Nelson writes:
> ^Z sends a SIGTSTP, which can be caught (or ignored, in your case).
> 18 SIGTSTP stop process stop signal generated from
> > According to
> > % stty -g
> > ... status=14:stop=13:susp=1a:time=0:werase=17: ...
> > 17 SIGSTOP stop process stop (cannot be caught or
> > ignored)
> > And I think that 17 (decimal) is refered to as 1a (hexadecimal)
> > in the previous stty command.
> 1a hex just refers to the control code itself (^Z), and doesn't indicate
> which signal is sent.
Thanks to all. In this case, I made SIGTSTP have the
same effect in the program that CTRL-C does (SIGINT) so now
either signal makes the application remove the lock and quit
Again, many thanks to everybody.
More information about the freebsd-questions