Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 00:27:24 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        Martin McCormick <martin@dc.cis.okstate.edu>, freebsd-questions@freebsd.org
Subject:   Re: Control-Z the Sleep Signal
Message-ID:  <20090610002724.cf3e3831.freebsd@edvax.de>
In-Reply-To: <20090609221527.GA43458@owl.midgard.homeip.net>
References:  <200906092130.n59LUU7E000141@dc.cis.okstate.edu> <20090609234215.32201c06.freebsd@edvax.de> <20090609221527.GA43458@owl.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Jun 2009 00:15:27 +0200, Erik Trulsson <ertr1013@student.uu.se> 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. =^_^=



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090610002724.cf3e3831.freebsd>