www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/11/12:11:03

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10110111606.AA13244@clio.rice.edu>
Subject: Re: First round of XP tests
To: djgpp-workers AT delorie DOT com, tim DOT van DOT holder AT pandora DOT be
Date: Thu, 11 Oct 2001 11:06:14 -0500 (CDT)
Cc: acottrel AT ihug DOT com DOT au (Andrew Cottrell)
In-Reply-To: <1002799811.1295.98.camel@bender.falconsoft.be> from "Tim Van Holder" at Oct 11, 2001 01:30:07 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > >    * grep foo bar |less does not work (hangs the prompt)
> > >      I expect this is still the 'no seeks on stdin' issue?
> > >      This does work under bash.
> > > Try "grep version include/dos.h |less".
> > I tried this and it worked. The output I got was:
> >     DJGPP_204 D:\dj204>grep version include/dos.h |less
> >     extern unsigned short   _os_trueversion;
> >     unsigned short _get_dos_version(int);
> > 
> > [Image problem?]
>
> Well, this seems _very_ unlikely, as I started from an empty dir and
> extracted packges there.  So the less and grep executables are the ones
> found in the binary packages I downloaded from clio.
> 
> "grep blah <file>" works, and so does 'less file'.

I just tried this on my XP Professional RC1 test box and it works fine 
(no hang).

So we either have an environment issue, or a late bug addition between
RC1 and what you are running (?). 

Have you tried killing your NTVDMs to make sure they aren't in some
weird state?

Was this launched from cmd or command? (I use cmd).  I see the note
above that under bash it works.  When it hangs, does any number of
characters typed plus returns get out?  Ctrl-C?  Kill the box?  Is
the system compute bound or waiting for I/O (task manager)?

The no seeks on stdin has been fixed as far as I can tell.

- Raw text -


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