Nroff error

Forrest Aldrich forrie at forrie.com
Tue Nov 11 13:01:09 PST 2003


Yes, I have actually.  And this makes it even more mysterious.  Check this out:

bash-2.05b# truss -o /tmp/truss.out man perl
Formatting page, please wait...troff: fatal error: can't find macro file 
tty-char
Done.
bash-2.05b# cat /tmp/truss.out
bash-2.05b# truss -o /tmp/truss.out man sh
bash-2.05b# truss -o /tmp/truss.out man bash

I get that error first, then each subsequent returns nothing... and 
/tmp/truss.out is empty.



Forrest



At 03:56 PM 11/11/2003, Larry Rosenman wrote:
>One idea...
>
>Have you tried truss(1)'ing the man command to see what files it's looking 
>for?
>
>truss -o /tmp/truss.out man xxx
>
>?
>
>
>
>--On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich 
><forrie at forrie.com> wrote:
>
>>Hi Larry,
>>
>>I seem to have this file:
>>
>>-r--r--r--  1 root  wheel  5102 Nov  9 22:24 /usr/share/tmac/tty-char.tmac
>>-r--r--r--  1 root  wheel  1551 Nov  9 22:24 /usr/share/tmac/tty.tmac
>>
>>This has been a problem for a long time - none of my manpages work at
>>all.   I've tried reinstalling (makeworld/installworld,e tc) to no avail.
>>Also, if I remove /usr/local/share/groff, I get more errors.
>>
>>So I think something is just plain wrong.   I've tested my MANPATH and
>>looked at /etc/manpath.config, and don't see problems.
>>
>>I'm getting to the point where I'm losing time by not having some
>>manpages available, etc.
>>
>>
>>Thanks,
>>Forrest
>>
>>
>>At 03:32 PM 11/11/2003, you wrote:
>>
>>
>>>--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich
>>><forrie at forrie.com> wrote:
>>>
>>>>Can someone explain what this error might be:
>>>>
>>>>nroff -man nasm.1 > nasm.man
>>>>troff: fatal error: can't find macro file tty-char
>>>>*** Error code 1
>>>>
>>>>Long-standing issue on the system I'm using -- it affects usage of
>>>>manpages (they don't work).  Can't figure it out...
>>>The following file is probably missing (drop the /stable/ from the path):
>>>
>>>/stable/usr/share/tmac/tty-char.tmac
>>>
>>>It can (probably) be copied from:
>>>
>>>/stable/usr/src/contrib/groff/tmac/tty-char.tmac
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>freebsd-questions at freebsd.org mailing list
>>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>>To unsubscribe, send any mail to
>>>>"freebsd-questions-unsubscribe at freebsd.org"
>>>
>>>
>>>
>>>--
>>>Larry Rosenman                     http://www.lerctr.org/~ler
>>>Phone: +1 972-414-9812                 E-Mail: ler at lerctr.org
>>>US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>
>
>
>--
>Larry Rosenman                     http://www.lerctr.org/~ler
>Phone: +1 972-414-9812                 E-Mail: ler at lerctr.org
>US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>




More information about the freebsd-questions mailing list