LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2004, 12:32 AM   #1
dustfinger
LQ Newbie
 
Registered: Sep 2004
Distribution: gentoo
Posts: 10

Rep: Reputation: 0
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.

-----------
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration