LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-08-2010, 10:21 AM   #1
Thom Fitzpatrick
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
Catman for RedHat Server 5.x?


It appears that the 'catman' command has been deprecated/deleted from RedHat Linux; is there something that replaced this functionality?
 
Old 07-09-2010, 10:59 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Man pages in Linux are typically gzipped so you can use gunzip or zcat with them.
 
Old 07-09-2010, 11:21 AM   #3
Thom Fitzpatrick
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
That doesn't solve the issue I'm facing. We develop a software product and our man pages aren't getting index in Linux the way they are in other OS's; ie you can't do a "man -k foobar" and see the man pages with the foobar product. The command "catman -w" builds windex file in other OS's, ie HP-UX, Solaris, AIX. Linux, as usual, has decided to go a different route and not leave any breadcrumbs behind.
 
Old 07-09-2010, 12:06 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Linux is NOT Unix. Just as not all UNIX variants do things the same way there is no reason to expect Linux to do things the same way. Although most UNIX flavors now do things the SysV way they didn't always - some did it that way and some did it the Berkley way. Even now not all of them have the same flags for every command or put the output of say "ls -l" or "ps -ef" in exactly the same columns.

Linux does leave "breadcrumbs". Typing "man man" would lead you to information about the way it does things including use of /etc/man.config for what you're trying to do and there is a "man man.config" for more details on that file.

Also since there are many Linux distros you might even have to make your program aware of which distro you intend to run it on. They don't all do it the RedHat way or if they do they don't necessarily put the config file in the same place.
 
Old 07-08-2014, 08:13 AM   #5
boldiekopf
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Talking catman alternative?

How to update man keywords database
Man keywords database allow you to search for man pages using keywords, the database needs to be updated when ever man pages are added or removed.

This is how you do it for various *nix types:

Debian/Ubuntu/SUSE: mandb
RHEL/CENTOS/SL/Fedora makewhatis
AIX/Solaris/HP-UX catman -w

Have Fun!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure redhat enterprise server 4 as Router and Proxy server kekule77 Linux - Server 1 05-18-2010 06:58 AM
where is redhat-config-bind? (RedHat enterprise server) Linux8 Linux - Newbie 1 12-17-2006 10:00 PM
configure redhat enterprise server 4 as Router and Proxy server amdattani Linux - Networking 0 06-15-2006 05:50 AM
Making Redhat Linux server work with Windows Server 2000 & 2003 vietdiesel Linux - Newbie 1 04-28-2006 12:36 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:08 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
Open Source Consulting | Domain Registration