This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: man - broken pipe


Krzysztof Duleba wrote:

> After some updates I get broken pipe messages when pressing 'q' to exit
> from less. The man pages are printed correctly.

I think that is by design and not a bug.  When you are viewing the
manpage, a pipeline of commands has been setup to decompress and format
the manpage.  Because 'less' doesn't ask for more input until you page
down, it means that those commands are all blocked waiting to consume
their input and produce more output.  If you quit 'less' before reaching
the end, the pipeline is broken and the commands all receive SIGPIPE. 
It's normal and harmless.  If you don't want to see the message you can
hit 'end' or '>' before quitting less.  It doesn't happen with small
manpages because they probably fit entirely in a single buffer.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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