delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/10/14:25:20

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
Date: Mon, 10 Nov 2003 14:24:50 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: STDIN and STDOUT not connected to a terminal?
Message-ID: <20031110192450.GA15422@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <847EBC3ED54AFE46A5DB3CD39A61D20D5218DC AT sjc-exm-29 DOT corp DOT ebay DOT com>
Mime-Version: 1.0
In-Reply-To: <847EBC3ED54AFE46A5DB3CD39A61D20D5218DC@sjc-exm-29.corp.ebay.com>
User-Agent: Mutt/1.4.1i
Note-from-DJ: This may be spam

On Mon, Nov 10, 2003 at 10:44:51AM -0800, Brown, Victoria wrote:
>Sigh.
>
>I read the FAQ; I found nothing.
>I looked in the archives (obvious from my posting).
>"Smart questions" (ESR notwithstanding) are in the eye of the beholder.

http://www.catb.org/~esr/faqs/smart-questions.html#not_losing

>The folks at ActiveState cannot reproduce this problem; they _can_ run
>ppm with the latest version of cygwin bash.

>This is Perl 5.8.0
>Windows 2000 Pro
>theoretically latest cygwin (I installed it recently)
>BASH_VERSION='2.05b.0(1)-release' 
>CYGWIN='ntsec tty'
               ^^^

ActiveState perl is not a cygwin application.  It doesn't understand
cygwin ttys.  If you remove the 'tty' from the settings then -t will
probably work in a standard cygwin console.  It will not work right with
applications like 'rxvt' or 'ssh' which use cygwin ptys.  There is
no workaround for this other than using cygwin's perl.

>If there is something more you need to know, then please _tell me what
>it is_.  Don't be cryptic.

http://www.catb.org/~esr/faqs/smart-questions.html#id2854531

In the interests of helping you send a smarter question next time, here
is how you could have sent your message so that it would not require
several readings to figure out what was wrong:

*I am using ActiveState perl.  I've noticed that the following one line
*application does not display 'is a tty':
*
*perl -le 'print "is a tty\n" if -t STDIN'
*
*My cygcheck output is attached as per http://cygwin.com/problems.html ."
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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