delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/25/22:42:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 25 Aug 2002 22:42:09 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: man isatty (was RE: Character at a time input)
In-Reply-To: <15FDCE057B48784C80836803AE3598D53B884C@racerx.ixiacom.com>
Message-ID: <Pine.GSO.4.44.0208252234450.2079-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

Doesn't seem to work on my system:

# man isatty
No manual entry for isatty
#

I have cygwin 1.3.12-4 installed, as
well as cygwin-doc 1.1-2.  I also have a newlib-man 20020801.  My
/usr/include/sys/unistd.h contains a prototype for isatty.
Am I missing something else?
	Igor
P.S. The above are only the packages I've considered relevant.  I can
provide a full output of cygcheck if needed.

On Fri, 23 Aug 2002, Dan Kegel wrote:

> "man isatty"
>
> -----Original Message-----
> From: J. Scott Edwards
>
> I have another dumb question: is there a simple way to determine if the
> stdin is from a terminal or is pipe'd in?
>
>   -Scott

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019