delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/06/14:07:29

From: pd AT kubism DOT ku DOT dk (Peter Dalgaard BSA)
Subject: Re: man? - solved
6 Feb 1997 14:07:29 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <x26806j6f5.fsf.cygnus.gnu-win32@bush.kubism.ku.dk>
References: <009AF75B DOT D4E1E660 DOT 9326 AT ifk20 DOT mach DOT uni-karlsruhe DOT de>
Original-To: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Cc: shochat AT itg-sepg DOT logicon DOT com, gnu-win32 AT cygnus DOT com
In-Reply-To: dahms@ifk20.mach.uni-karlsruhe.de's message of Thu, 06 Feb 1997 02:13:39 EST
X-Mailer: Gnus v5.2.40/Emacs 19.34
Original-Sender: owner-gnu-win32 AT cygnus DOT com

dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de writes:

> 
> Hi, you wrote:
> 
> :  troff -man -Tascii bash.1 | grotty | less
> 
> Isn't this the same as
>    groff -man -Tascii bash.1 | less

Yes, but in the NT groff package, there *is* no groff command (the
wrapper didn't work under 'raw' NT, apparently). But with bash in
place, you can make an nroff as

#!/bin/sh
troff -Tascii $* | grotty

and then create a simple 'man' as something like

#!/bin/sh
nroff -man /usr/man/man*/$*.* | less

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p DOT dalgaard AT biostat DOT ku DOT dk)             FAX: (+45) 35327907
-
For help on using this list, 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