delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/26/19:16:06

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Windows XP pipe problems
Date: Tue, 26 Feb 2002 18:01:09 CST
Organization: Rice University, Houston TX
Lines: 24
Message-ID: <3c7c21c5.sandmann@clio.rice.edu>
References: <a5h1eu$2ut$1 AT netnews DOT upenn DOT edu> <3c7c0a67 DOT sandmann AT clio DOT rice DOT edu> <a5h5jq$im3$1 AT netnews DOT upenn DOT edu>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1014768571 29494 128.42.105.3 (27 Feb 2002 00:09:31 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 27 Feb 2002 00:09:31 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I see the same with ls|more - it works under cmd, but under bash more
> does not see any input.

I can't reproduce this.  I'm using the v2.03 refresh'ed file utils and
bash on Windows XP pro.  I launch bash.  Do the command:

ls | /windows/system32/more.com

and I see output OK. Make sure lfn tsr isn't loading - I don't know if
that would cause problems or not.

> > > It is not possible to pipe the standard output to/from the native
> > > win32 console programs under bash (version 2.04.7(1)-release).  For
> > > example,  ls|less ;  hello.exe|wc ;   hello.exe|less would not work,
> > > if ls, wc are DJGPP programs and less, hello.exe are native win32
> > > applications.  

> > Do you see the same problem with ls | more ? (ls is the djgpp image,
> > more is a built in win2k more.com image - but is actually a PE executable).
> > If this works it makes me suspicious of how the "less" image you have 
> > is handling the pipe.



- Raw text -


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