dustfinger |
10-12-2004 11:32 PM |
dustfinger
I have two machines. 1 is linux. 1 is Solaris. Okay so I have 3 machines. The third is gentoo linux. Anyway. if I use nroff -Tascii -man hello.1 > hello.man on any of the systems but the Solaris machine it produces a manpage that I can run man on and view.
So:
Quote:
path/to/manpage>nroff -Tascii -man hello.1 > hello.man
path/to/manpage>man ~/c415/c415g01/manpage/hello.man
|
The above will first produce and then display a hello manpage. Hello is just a simple example manpage by the way. I have another larger manpage but I figure it may make things easier if I experiment with a simple hello manpage.
Now on the Solaris machine I can't use the -Tascii flag because it complains that:
Quote:
path/to/manpage>nroff -Tascii -man hello.1 > hello.man
nroff: cannot open /usr/share/lib/nterm/tab.ascii
|
Now if I remove the -Tascii flag and run the following on the Solaris machine I get.
Quote:
path/to/manpage>nroff -man hello.1 > hello.man
path/to/manpage>man path/to/manpage/hello.man
No manual entry for /path/to/manpage/hello.man.
|
So I am not sure what is the problem. Is nroff not producing a valid manpage on the Solaris and therefore man will not display my manpage or is nroff producing a valid manpage, but man is just not seeing my manpage for some reason?
Any ideas?
dustfinger[/quote]
-- EDIT --
I should also note that path/to/manpage is not a standard manpage path such as /usr/share/man etc. It is in an entirely different directory.
-----------
|