[2718] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

man.config

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Thu Mar 18 05:47:20 1999

To: linux-dev@MIT.EDU
Date: Thu, 18 Mar 1999 05:46:57 EST
From: "Jacob Morzinski" <jmorzins@MIT.EDU>

Hi,
This is a low-priority comment.

For a while now, users on Linux machines have had the ability to
drop *.gz catman files into lockers that they have write bits to.
This is a bit troublesome, because Irix's man program can't see a
manpage for program foo(1) if there is a file man/cat1/foo.1.gz .
(As an example of this problem, the outland locker's man
directories tend to become polluted like this, because it's a RW
afs volume, and lots of people have write access to it.  I
cleaned out outland's cat* directories tonight, actually.)

One workaround is to alter the man.config file.  I've changed my
man.config file to use "/bin/cat" as it's compressor program, an
told it to use an extension of "" on the end of catman pages.
And I get what I want: man is able to uncompress existing
compressed pages, but any new pages that it tries to compress
only end up being run through "cat", which is mostly harmless.

I would certainly recommend that anyone with AFS bits in
non-personal lockers apply this patch to their systems, and
I also submit it for your consideration in case you feel like
changing the default man.config files installed on freshly
installed machines.


 -Jacob


===================================================================
RCS file: /etc/RCS/man.config,v
retrieving revision 1.1
diff -u -r1.1 /etc/man.config
--- /etc/man.config	1999/03/18 10:37:08	1.1
+++ /etc/man.config	1999/03/18 10:38:04
@@ -82,8 +82,8 @@
 #
 # Compress cat pages
 #
-COMPRESS	/bin/gzip
-COMPRESS_EXT	.gz
+COMPRESS	/bin/cat
+COMPRESS_EXT	
 #
 # Default manual sections (and order) to search if -S is not specified
 # and the MANSECT environment variable is not set.

home help back first fref pref prev next nref lref last post