Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use xman for man page viewing under Apple's X11 UNIX
xman is the standard X11 manual page (man page) reader program, and it comes with Apple's X11. You can run xman from Terminal, but it won't display man pages correctly. And if you add xman to the X11 Applications menu, nothing happens when you select it.

Before xman will work, there are a couple of environment variables that need to be set up. To add the necessary entries to your login shell, you need to edit the ~/.MacOSX -> environment.plist file, as described on this page at the Apple Developer website. The required entries are as follows:
  • A String entry named MANPATH with the value:
    /sw/share/man:/usr/local/share/man:/usr/share/man:/usr/X11R6/man
    Leave off the /sw/share/man if you don't have Fink installed.

  • A String entry named GROFF_TYPESETTER with the value ascii.
The first entry tells xman where to find your man pages. The second entry tells xman to convert man pages (which are encoded in PostScript) into simple ASCII using groff before displaying them.
    •    
  • Currently 2.50 / 5
  You rated: 3 / 5 (4 votes cast)
 
[7,709 views]  

Use xman for man page viewing under Apple's X11 | 6 comments | Create New Account
Click here to return to the 'Use xman for man page viewing under Apple's X11' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use xman for man page viewing under Apple's X11
Authored by: incongruity on Jul 04, '03 02:04:53PM
on a related note, I really like the AquaLess pager app:
http://freshmeat.net/projects/aqualess/?topic_id=861

It's an easy install and has more functional uses than the current tip...if you like it, of course.

[ Reply to This | # ]

Use xman for man page viewing under Apple's X11
Authored by: GaelicWizard on Jul 04, '03 07:14:16PM

if you add your PATH to environment.plist then xman (and man) search %PATH/share/man and $PATH/man so you don't need to specify MANPATH, also the groff transform thing is not needed for me, i don't know why though. is there some special reason that you need it?

JP

---
Pell



[ Reply to This | # ]
Use xman for man page viewing under Apple's X11
Authored by: thinkyhead on Jul 07, '03 07:18:00PM

I'm not sure why you don't need the GROFF setting. On my system the man page that comes up automatically worked fine without it, but other man pages required it. Go figure.

---
|
| slur was here
|



[ Reply to This | # ]
Use xman for man page viewing under Apple's X11
Authored by: dave1212 on Jul 04, '03 08:12:36PM

hmm... it's built-in to the X11 Applications menu in the Panther dev preview.. should be there in the full 10.3 release.

---
______

[ IE Toolbar Icons, Desktop Picures, Free MP3s ]
http://www.paulprobert.com/



[ Reply to This | # ]
Use xman for man page viewing under Apple's X11
Authored by: ClarkGoble on Jul 05, '03 03:39:40AM
Personally I prefer manopen out of all the manual programs I've used. I then created an alias remapping man to manopen.

ManOpen

[ Reply to This | # ]

Use xman for man page viewing under Apple's X11
Authored by: n1mie on Feb 11, '04 10:27:37PM

I can't get this to work at all. I am extremely new to X11 (slowly discovering the various elements of Unix). Up to now I've done all my Unix stuff from Terminal. Thought I'd learn X11 next. When I select xman or xlogo from the menu nothing happens. I found this tip and tried it, but none of the recommended combinations seems to work. Any ideas?

---
--Chip



[ Reply to This | # ]