Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 1998 13:33:54 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Thomas David Rivers <rivers@dignus.com>, freebsd-hackers@freefall.cdrom.com
Subject:   Re: Interesting un-interruptible shell script on 3.0-RELEASE (possible sh bug?)
Message-ID:  <19981222133354.C85005@freebie.lemis.com>
In-Reply-To: <199812220243.VAA21066@lakes.dignus.com>; from Thomas David Rivers on Mon, Dec 21, 1998 at 09:43:24PM -0500
References:  <199812220243.VAA21066@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 21 December 1998 at 21:43:24 -0500, Thomas David Rivers wrote:
>
> Try the following on a 3.0-RELEASE system, under the bourne shell:
>
>    while true
>    do
>      sleep 2
>    done
>
> You'll quickly discover there's no way to interrupt it (i.e. control-C
> if that's your intr character.)

Right.  It's obviously a sh problem; it works fine under bash.  How
about a PR (with a solution if possible :-)

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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