This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: less, misbehaving


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]