From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 22:27:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DF071065686 for ; Tue, 9 Jun 2009 22:27:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3D48FC12 for ; Tue, 9 Jun 2009 22:27:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx01.qsc.de (Postfix) with ESMTP id 4B5F63CD87; Wed, 10 Jun 2009 00:27:30 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n59MRPu4002306; Wed, 10 Jun 2009 00:27:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 10 Jun 2009 00:27:24 +0200 From: Polytropon To: Erik Trulsson 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Martin McCormick , freebsd-questions@freebsd.org Subject: Re: Control-Z the Sleep Signal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 22:27:32 -0000 On Wed, 10 Jun 2009 00:15:27 +0200, Erik Trulsson 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, ...