From: Will Day <willday@rom.oit.gatech.edu>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: tcsetpgrp test switch
Date: Wed, 10 Nov 1999 13:26:20 -0500 [thread overview]
Message-ID: <19991110132620.E23377@rom.oit.gatech.edu> (raw)
In-Reply-To: <19991103120744.B5651@dman.com>; from Clint Adams on Wed, Nov 03, 1999 at 12:07:44PM -0500
[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]
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 should
>> 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
--
Will Day <PGP mail preferred> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 344 bytes --]
prev parent reply other threads:[~1999-11-10 18:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-02 20:10 Clint Adams
1999-11-03 3:02 ` Bart Schaefer
1999-11-03 17:07 ` Clint Adams
1999-11-10 18:26 ` Will Day [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19991110132620.E23377@rom.oit.gatech.edu \
--to=willday@rom.oit.gatech.edu \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).