Control-Z the Sleep Signal

Polytropon freebsd at
Tue Jun 9 22:27:32 UTC 2009

On Wed, 10 Jun 2009 00:15:27 +0200, Erik Trulsson <ertr1013 at> wrote:
> Not quite.  It indicates (according to stty(1)) that ^Z generates the
> SUSP character.
> The termios(4) manpage (referenced by stty(1)) says that
>   SUSP    If the ISIG flag is enabled, receipt of the SUSP character causes
>           a SIGTSTP signal to be sent to all processes in the foreground
>           process group for which the terminal is the controlling terminal,
>           and the SUSP character is discarded when processed.
> So it appears to be SIGTSTP which is sent by typing ^Z, which agrees with
> signal(3) where the SIGTSTP signal is described as "stop signal generated
> from keyboard"

That's highly interesting. Thanks for the pointer to termios
man page. I'm always surprised how well intended things work
in FreeBSD. =^_^=

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list