X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows XP pipe problems Date: Tue, 26 Feb 2002 16:21:27 CST Organization: Rice University, Houston TX Lines: 31 Message-ID: <3c7c0a67.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1014763152 23524 128.42.105.3 (26 Feb 2002 22:39:12 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 26 Feb 2002 22:39:12 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 am trying to use DJGPP v2.03 with Windows XP and I see a problem, > which I could not find in the google archives. 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. > Pipe between DJGPP programs, e.g. ls|wc works. All of these > commands run fine with WinXP cmd.exe. This is a new report. A similar problem has been reported before but was only seen using the 4DOS replacement shell (but could also be seen on Windows 2000 and NT). My guess is there is something broken in the way pipes are handled across VDMs - but no one has investigated when it's broken and why. I would need to know more about the less and hello "native win32" applications. I also can't reproduce anything like this quickly under Windows 2000 so maybe it's something broken only in Windows XP? 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. > I have applied update packages from ftp://clio.rice.edu/djgpp/v203u, > I tried to use NT LFN TSR [http://clio.rice.edu/djgpp/ntlfn08b.zip], > I also tried to set LFN=n, but nothing helped. New problem, try to investigate and tell us more.