[comp.windows.x] X man pages on the SUN

lindahl@arrisun3.utarl.edu (Charlie S. Lindahl) (04/27/91)

All: 

Sorry if this has been answered before; it is NOT in the latest
X FAQ, and I am going crazy trying to figure it out (this paragraph
is to indicate that I'm not asking a "how do I start this" type of 
question). 

So, for the netters out there: how do I get the X man pages to be
recognized on the SUN via the "man" command? Here's what I've done: 

1) Did make install.man (to install things in /usr/man). 
2) Executed the expand.names shell script to make the names in 
   /usr/man/man3 expand to full size (this is also undocumented, 
   as far as I can tell. The results of the make install.man 
   make shortened names in the man pages (so XtDestroyWidget, for 
   example, is XtDestWid, or somesuch, presumably for AT&T filename
   length restrictions, I assume. The expand.names shells makes 
   nice long names in /usr/man which map to the actual routine
   names). 
3) Used XMAN, which certainly DOES work (I haven't figured out where,
   or if, it actually invokes the man command or does the troff 
   directly). 

What I want to do is to be able to use MAN from the SUN XTERM
window and get a result (actually, to be accurate, I use the 
"manual.el" macro in EMACS to display my man pages, and that is
broken too). 

An example: assume a man page in /usr/man/man3/AllPlanes.3X11 (this
is how make install.man created it). I tried: 

   %man AllPlanes 
   [got: "No manual entry for AllPlanes"]

   %man 3 AllPlanes 
   [ditto]

   %man 3X11 AllPlanes 
   [ditto]

What am I doing wrong? Please EMAIL me directly, as I don't usually
keep up with this newsgroup. I will summarize responses, natch. 

Note: I'm running SUN OS 4.1.1 on a Sparc, if that helps. Our VAX 
      running ULTRIX works as I'd expect (man AllPlanes works both 
      in the shell and in EMACS).

Thanx




--
Charlie S. Lindahl
Automation and Robotics Research Institute
University of Texas at Arlington
Internet EMAIL: lindahl@cse.arl.utexas.edu

Standard disclaimer: Ain't no opinion but my own.