Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 16:00:48 -0500
From:      Forrest Aldrich <forrie@forrie.com>
To:        freebsd-questions@freebsd.org, Larry Rosenman <ler@lerctr.org>
Subject:   Re: Nroff error
Message-ID:  <6.0.0.22.2.20031111160000.01c1fb50@192.168.1.1>
In-Reply-To: <217350000.1068584180@lerlaptop-red.iadfw.net>
References:  <6.0.0.22.2.20031111152727.01bd8dd8@192.168.1.1> <194310000.1068582748@lerlaptop-red.iadfw.net> <6.0.0.22.2.20031111154329.01be4e70@192.168.1.1> <217350000.1068584180@lerlaptop-red.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@freebsd.org mailing list
>>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>>To unsubscribe, send any mail to
>>>>"freebsd-questions-unsubscribe@freebsd.org"
>>>
>>>
>>>
>>>--
>>>Larry Rosenman                     http://www.lerctr.org/~ler
>>>Phone: +1 972-414-9812                 E-Mail: ler@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@lerctr.org
>US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20031111160000.01c1fb50>