Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/