From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21761 invoked from network); 10 Nov 1999 18:26:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Nov 1999 18:26:29 -0000 Received: (qmail 26921 invoked by alias); 10 Nov 1999 18:26:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8614 Received: (qmail 26913 invoked from network); 10 Nov 1999 18:26:22 -0000 Date: Wed, 10 Nov 1999 13:26:20 -0500 From: Will Day To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: tcsetpgrp test switch Message-ID: <19991110132620.E23377@rom.oit.gatech.edu> Reply-To: Will Day References: <19991102151031.A5951@dman.com> <991103030218.ZM15300@candle.brasslantern.com> <19991103120744.B5651@dman.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=UfEAyuTBtIjiZzX6; micalg=pgp-md5; protocol="application/pgp-signature" X-Mailer: Mutt 0.95.3i In-Reply-To: <19991103120744.B5651@dman.com>; from Clint Adams on Wed, Nov 03, 1999 at 12:07:44PM -0500 X-no-archive: yes --UfEAyuTBtIjiZzX6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable A short time ago, at a computer terminal far, far away, Clint Adams wrote: >> One reason "why not" may be that it's better to err on the side of no job >> control rather than broken job control; but perhaps in that case we shou= ld >> try something more clever -- such as, build in the job control functions >> but default the state of the option to NO_MONITOR. > >If someone with BeOS can confirm that test -t 0 works then I >don't see why not. Yes, "test -t" does appear to work under BeOS R4.5: $ /bin/sh sh-2.02# test -t 0; echo $? 0 sh-2.02# test -t 1; echo $? 0 sh-2.02# test -t 2; echo $? 0 sh-2.02# test -t 3; echo $? 1 sh-2.02# test -t 0 < /dev/null; echo $? 1 sh-2.02# test -t 1 > /dev/null; echo $? 1 sh-2.02# test -t 2 2> /dev/null; echo $? 1 --=20 Will Day OIT / O&E / Technical Support willday@rom.oit.gatech.edu Georgia Tech, Atlanta 30332-0715 -> Opinions expressed are mine alone and do not reflect OIT policy <- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. Benjamin Franklin, Pennsylvania Assembly, Nov. 11, 1755 --UfEAyuTBtIjiZzX6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Comment: http://rom.oit.gatech.edu/~willday/pubkey.asc iQCVAwUBOCm4zBDHlOdPw2ZdAQExaAQA1zCKJ+9X030AF84iX/MnsXsjGFP8Goye 5ekDTmIwCIA4eSejdsBu8srW90NGy4ilNJZhaoIXTbTh9RxRoHebVRviMr6vzgPM 7qlOQk2XR0WBgtcSizXYewI594mkVrBWO36V7S7WMk8+h+ESC+PIU9aFHhUoBDIe rE29YTRqqBI= =RDSo -----END PGP SIGNATURE----- --UfEAyuTBtIjiZzX6--