Re: mintty 0.9.7 doesn't work with man pages

Andy Koppe <[email protected]> Wed, 11 May 2011 12:37:04 +0100
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
On 11 May 2011 12:21, Chris Sutcliffe wrote:
> On 10 May 2011 19:33, Cesar Romani wrote:
>> I'm using mintty 0.9.7, msys 1.0.17, less 4.4.1, groff 1.20.1,
>> man 1.6-mingw-beta-1 on Win XP.
>> If I issue a man command, say "man bash", the output isn't sent to the
>> pager, but the entire page will scroll on the screen without pausing.
>
> Works fine for me in mintty 0.9.7.

You're probably using man-msys, whereas Cesar is using man-mingw.
'man-mingw' would see MSYS's pseudo terminal (pty) device, which
mintty is based on, as a pair of Windows pipes. Thus man-mingw thinks
its output is being piped somewhere instead of being displayed on a
terminal, which causes it to switch to non-interactive mode where it
just dumps the entire man page.

See also http://code.google.com/p/mintty/issues/detail?id=56.

Andy


ps: What's the difference between the two man versions, apart from the one here?

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay