delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/18/18:06:31

From: vischne AT ibm DOT net
Subject: Poor man's manpage reader for cygwin/ming
18 Feb 1998 18:06:31 -0800 :
Message-ID: <199802181326.NAA113816.cygnus.gnu-win32@out5.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019