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: Poor man's manpage reader for cygwin/ming


vischne@ibm.net wrote:
> 
> 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

To view man pages I've compiled without any problems thr groff package
from GNU (configured, compiled and installed through the provided
scripts and makefiles) and the standard distribution of man.

As a pager I use less, that I've compiled whith any problem (of course,
after the compilation and installation of ncurses).

Sure, it took near a day of work to be sure that all is working, but it
is worth the time spent.
-- 
_______________________________________________________________
Fabrizio Lodi   | IEEE Computer Society | Hardly working at    |\
+39-335-6613385 | fab@computer.org      | http://www.GLAMM.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]