|

Monday March 28, 2005
apropos and catman in one minute
I normally jumpstart my machine, and in doing such tend to have a bunch of finish scripts that setup extra things for me, and remove some minor irritations with a default install. One of these is being able to use apropos(1).
The current install on my laptop was done from cd's as I wanted to take a look at the common complaints people have about the cd based Solaris install (and the fact that the box I normally jumpstart off is on the other side of the globe at the moment), so on completing it those finish scripts I mentioned above had not been run. So currently if I run apropos I get the following
[fintanr@tiresias fintanr] $ apropos scf_myname
/usr/dt/man/windex: No such file or directory
/usr/man/windex: No such file or directory
/usr/openwin/share/man/windex: No such file or directory
Which is not really very usefull. So we run catman(1M) by itself to get the basic windex files created
# catman
....... some output....
and now we get
[fintanr@tiresias fintanr] $ apropos scf_myname
scf_myname scf_handle_create (3scf) - Service Configuration Facility handle functions
Now I tend to use stuff from /usr/sfw/bin, so I want these in my available windex's as well, so to generate these just do
# catman -M /usr/sfw/man
and now you can go apropos gcc and the like to your hearts content.
[update - March 30th ]
Stephen Hahn has posted an example of creating a transient service with catman as the example over on his blog.
(2005-03-27 21:54:23.0)
Permalink
Trackback URL: http://blogs.sun.com/fintanr/entry/apropos_and_catman_in_one
|