delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/09/02:10:25.1

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: less, misbehaving
9 Oct 1998 02:10:25 -0700 :
Message-ID: <19981008144617.8241.rocketmail.cygnus.gnu-win32@send1b.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Charles Wilson <cwilson AT ee DOT gatech DOT edu>, gnu-win32 AT cygnus DOT com

The modified bash on Sergey's site only spawns if there is no piping
or no redirection.  The problem is that the spawnve() command is
issued with the _P_NOWAIT flag which will not allow less to control
the stdio.  If this were changed to _P_WAIT then you shouldn't see any
problems with less.  Also, it would be a good idea to flushall()
before spawning.

BTW, since `cat file | less' didn't use the spawnve() it worked as it
should have.

==
-                \\||//
-----------o0O0--Earnie--0O0o------------
--        earnie_boyd AT yahoo DOT com        --
-- http://freeyellow.com/members5/gw32 --
--------------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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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