Date: Tue, 14 Aug 2001 09:32:36 -0700 From: "David O'Brien" <dev-null@NUXI.com> To: Johann Visagie <johann@egenetics.com> Cc: Garance A Drosihn <drosih@rpi.edu>, freebsd-current@FreeBSD.ORG Subject: Re: bash in /usr/local/bin? Message-ID: <20010814093236.A77724@dragon.nuxi.com> In-Reply-To: <20010814132340.B36548@fling.sanbi.ac.za>; from johann@egenetics.com on Tue, Aug 14, 2001 at 01:23:40PM %2B0200 References: <3B74D180.D036D629@hway.net> <20010810233635.A12077@xor.obsecurity.org> <p0510100fb79b2a85857c@[128.113.24.47]> <3B758BB5.D529AA5F@mindspring.com> <20010814132340.B36548@fling.sanbi.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 14, 2001 at 01:23:40PM +0200, Johann Visagie wrote: > if ( "$tty" != "" ) then > > (There may be a more elegant way to check for shell interactivity in csh, and > if there is I'd like to know about it, please. :-) I've used "if ($?USER == 0 || $?prompt == 0)" in the past. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814093236.A77724>