From: flodi AT glamm DOT com (Fabrizio Lodi) Subject: Re: Poor man's manpage reader for cygwin/ming 20 Feb 1998 00:48:20 -0800 Message-ID: <34EBF5A2.7DD9FC96.cygnus.gnu-win32@glamm.com> References: <199802181326 DOT NAA113816 AT out5 DOT ibm DOT net> Reply-To: fab AT computer DOT org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com vischne AT ibm DOT 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 AT computer DOT org | http://www.GLAMM.com |\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".