Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!bruce.cs.monash.edu.au!monu6!minyos.xx.rmit.oz.au!s902113 From: s902113@minyos.xx.rmit.oz.au (Luke Mewburn) Subject: `man' bug, & are patched kernals available? Organization: RMIT Computer Centre, Melbourne Australia. Date: Wed, 19 Aug 1992 00:30:59 EST Message-ID: <1992Aug19.003059.27042@minyos.xx.rmit.oz.au> Summary: man -a is cactus, kernal queries Keywords: bug, idea, modification Lines: 58 Whilst debugging my hack of the man sources which allows man to read compressed manual pages, I discovered a bug in the sources. At first, I thought that it was the code that I'd changed, but I have tested the original code, and it exhibits the same thing. What I did was: % man -a intro which lists all of the manuals for `intro'. Now, % man -a intro ls should list all manuals for intro, plus that for ls. I tried other checks and found that man -a doesn't really like multiple man pages. Can anyone suggest a fix for this? BTW: My code for the compressed manuals just adds lines which are #ifdef-ed in, so if you want the new version, you have to specify a -DCOMPRESSED on the command line, otherwise the resultant code would be the same as the original version. If the bug can be fixed, I'll release my hack. It's not that spectacular, and uses child processes to uncompress to a temporary file any manuals which are compressed. It uses atexit() to cleanup the temporary files. There are better solutions, but this works. Also, I have a simple sh/find/awk script which will compress all of the manual pages, fixing the links correctly too. PS: Has anyone got a version of the kernal compiled with the following features: - all of the bug-fixes in the buglist by Nate Williams (spel?). - the symbol definitions still there - (and preferably) the alpha vt100 pc driver that was released on alt.sources recently. If so, I'd like some mail, and maybe we can organise for me to get a copy of it (maybe one version with all the patches but not the console driver, and a version with). It's just that I only have 45MB free before putting the source dist on my partition, so I can extract parts of the kernal, but I think a full recompile is out :-( Thanx in advance, Luke. -- "...(and) We've heard how teen prostitution, pregnancy, Luke Mewburn drug use, cults, runaways, suicide and poor hygiene are s902113@ sweeping this nation. We thought you might like to share minyos. with the committee any particular *causes* you might see xx. for those latter problems..." rmit. " I dunno, Maybe the proliferation of narrow, suffocating oz. zealotry masquerading as parenting in this country." au Steve Dallas, 'Bloom County'.