This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: less, misbehaving
- To: Charles Wilson <cwilson at ee dot gatech dot edu>, gnu-win32 at cygnus dot com
- Subject: Re: less, misbehaving
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 8 Oct 1998 07:46:17 -0700 (PDT)
- Reply-To: earnie_boyd at yahoo 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@yahoo.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@cygnus.com" with one line of text: "help".