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]

Poor man's manpage reader for cygwin/ming


The following manpage reader script seems to work pretty well under
cygwin, and is made of handy parts that are easily available and
portable to cygwin.

In this case, less-332 was compiled using mingwin32, since there was
alternate code in the less-332 source distribution that lets you take
advantage of mingwin's rtldll.dll library instead of the cygwin terminal.
Compiling less-332 using cygwin results in a version of less.exe that
issues diagnostic messages indicating _where_ the cygwin terminal is broken.
Also, zmore.exe seems to work well using `ln -s less.exe more.exe' as its
version of more.exe.
========================================================================

#!/bin/sh
zmore $1 | nroff -man - | col | less

-
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]