delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/05/14:16:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Anyone having problem with 'man' permissions?
Date: Thu, 5 Aug 2004 19:14:10 +0100
MIME-Version: 1.0
In-Reply-To: <cetski$g7u$1@sea.gmane.org>
Message-ID: <NUTMEGUtQ2nX38C2URZ00000c1c@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 05 Aug 2004 18:14:10.0781 (UTC) FILETIME=[017FF0D0:01C47B18]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Chris Herborth
> Sent: 05 August 2004 19:01

> adding spaces between -P and {-c,-h} gives this error:
> 
> troff: fatal error: can't open ` -P -c -mandoc': No such file 
> or directory

  Looking at the docs for the -P option, that would be bound to be wrong
anyway.  "-c" isn't a seperate option, it's the argument to -P.

> Adding -x to #!/bin/sh in /usr/bin/nroff suggests that for 
> "man foo" the 
> "foo" doesn't make it into the call to groff at the end of the script 
> and that the additional args are being passed as a single argument:

> PATH=/usr/bin:/c/emacs-21.3/bin:/cygdrive/d/cherborth/bin:/usr
> /local/bin:/usr/
> bin:/bin:/usr/X11R6/bin:/cygdrive/d/cherborth/bin:/usr/bin:/cy
> gdrive/c/WINDOWS/s
> ystem32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:
> /cygdrive/c/Progra
> m Files/ATI Technologies/ATI Control Panel:/cygdrive/c/Program 
> Files/Common File
> s/GTK/2.0/bin:.:/cygdrive/c/QNX6.3.0/host/win32/x86/usr/bin:/c
> ygdrive/c/Program
> Files/QNX Software Systems/bin groff -mtty-char -Tascii  -P-c -mandoc
> troff: fatal error: can't open ` -P-c -mandoc': No such file 
> or directory


  Your $PATH is a bit messy.  What's in that emacs bin directory?  What
about the QNX bin dir?  

  I'm wondering if there's various versions of the gnu tools on your system
and they're clashing.  What happens when you try 'which troff groff man'?

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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