Go Back   UNIX Socket FAQ > UNIX Platforms > General

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2005, 02:08 PM
ramchandar ramchandar is offline
 
Join Date: Nov 2004
Location: INDIA
Posts: 33
Default man pages

hi

what should i do to use man page for a newly installed library....
when i searched in my system i saw the library file with extension .gz in a ( man/man3...sorry dont remember but sure it was in some man page related directory ) directory ....

now i want to see the funtion syntax with

Code:
PCQlinux# man <functionname>
help me...
__________________
RAMCHANDAR

ramchandar.r@gmail.com
Reply With Quote
  #2  
Old 02-05-2005, 06:22 PM
RobSeace RobSeace is offline
Administrator
 
Join Date: Jun 2002
Location: Boston, MA
Posts: 3,191
Default

Huh? I'm not sure I get what you're asking...

What man pages are installed under what names will vary depending
on what you're installing... If you can see the name of the installed
man page, then that's the name you want to pass to "man" to look
it up... Eg: if the file was "libexpect.3.gz", then you'd call
"man 3 libexpect" (or just "man libexpect") to see the man page...
Reply With Quote
  #3  
Old 02-08-2005, 09:27 AM
ramchandar ramchandar is offline
 
Join Date: Nov 2004
Location: INDIA
Posts: 33
Default

hi rob... :)

you are really gr8 ..though my question is confusing one, u answered me what i expected

actually i saw the libxml2 library installed already ..
i want to see syntax for api's or functions in that library..
i found a file libxml2.2.gz in man/man2 directory....
as u said i used man 2 libxml2 it worked for me...

and now i am installing a new library ..say libsoup (for SOAP API)...
i found no file like libsoup.*.gz
so what should i do to see the syntax for api's in libsoup...
should i download libsoup.*.gz or the help file will be there in some other form..?

while installing a new library whether the specific rpm will have the man pages or we have to download it separately..?

this is what i tried to ask u actually...

(sorry for my language....i hope u feel comfortable with question this time )
__________________
RAMCHANDAR

ramchandar.r@gmail.com
Reply With Quote
  #4  
Old 02-08-2005, 01:48 PM
RobSeace RobSeace is offline
Administrator
 
Join Date: Jun 2002
Location: Boston, MA
Posts: 3,191
Default

Ah, I get it... You seem to be laboring under the delusion that there's
some kind of packaging standard which everyone in Unix-land
follows... ;-) I'm afraid not... Every package is different, and what it
contains is purely at the whims of the packager... Some may package
man pages in with the main package; some may have a separate
"devel" or "docs" package that contains them; some may have no
man pages written at all... Some people are moving away from man
pages, towards crappy "info" pages... (Those people should all be
beaten, BTW... ;-)) Others are moving to HTML docs... (Far less
horrid than "info", at least... But, nothing beats the ease of use of
good old "man"...) And, of course, some apps/libs simply won't have
ANY kind of docs written up yet, at all, and you're expected to read
through the source and headers to figure out how to use them... I
have no idea WTF "libsoup" is, so I couldn't help you with the specifics
in this case... But, if you don't see any other separate packages on
the web site for it, then just look through all of the files in the package,
and see if any look like they might be documentation, of some sort...
(You mentioned RPM, so if it's a "*.rpm" package, then you can do
"rpm -qlp *.rpm" to list every file that gets installed by the RPM... For
an already installed package, you can just do "rpm -ql <name>"...)
Reply With Quote
  #5  
Old 02-09-2005, 05:02 AM
ramchandar ramchandar is offline
 
Join Date: Nov 2004
Location: INDIA
Posts: 33
Default

Quote:
You seem to be laboring under the delusion that there's
some kind of packaging standard which everyone in Unix-land
follows... ;-) I'm afraid not

yes rob as u said i assumed that there is a some kind of standard ..but now u have cleared the thing ...thanx rob :D

mmm...i will look for the docs :( for libsoup
__________________
RAMCHANDAR

ramchandar.r@gmail.com
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.