This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Anyone having problem with 'man' permissions?
At 02:14 PM 8/5/2004, you wrote:
>> -----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.
Yep, I didn't realize that was a 'groff' option. Without the space is the
right thing.
>> 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'?
That's a good question. Clearly this is a local environment issue.
Perhaps it's time to fallback to the old reliable:
>Problem reports: http://cygwin.com/problems.html
:-)
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/