This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: B19: perl does not support <STDIN>
- To: "Patrice M.I. Parmentier" <ppa at itmasters dot com>, gnu-win32 at cygnus dot com
- Subject: Re: B19: perl does not support <STDIN>
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Sat, 14 Nov 1998 10:51:18 -0800 (PST)
- Reply-To: earnie_boyd at yahoo dot com
---"Patrice M.I. Parmentier" <ppa@itmasters.com> wrote:
>
> I write the trivial perl script:
>
> print while(<STDIN>);
>
> and run it with perl 5.00502 (ActiveState distribution AND my own
> compilation without PERL_OBJECT) on NT4 (sp3). While the script works
> properly on DOS shells, it does not work on bash: the script
immediately
> stops without reading anything from the keyboard...
If the perl is a native win32 (non-cygwin) version and you have tty
set in the CYGWIN32 variable then it's not going to work. In order
for stdio to happen for non-cygwin binaries with the cygwin bash
requires that you set notty.
==
- \\||//
-------------------o0O0--Earnie--0O0o-------------------
-- earnie_boyd@yahoo.com --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".