Xref: utzoo gnu.emacs.help:646 comp.emacs:9779 Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!HUB.UCSB.EDU!aks From: aks@HUB.UCSB.EDU (Alan Stebbens) Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: Son of "M-x manual-entry" Message-ID: <9012210110.AA26975@nowhere.ucsb.edu> Date: 21 Dec 90 01:10:41 GMT References: <9012191655.AA00884@uahtitan.uah.edu> Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 18 > A couple days ago I posted a problem I was having when using M-x > manual-entry. The results I get back are unreadable. > > Lars Henrik Mathiesen suggested that the entries in > the /usr/cat? directories may be in compressed format. This turned out > to be completely correct. > > My question now is "has anybody else found a good solution to this > problem"? You could modify "manual-entry" to examine the first few bytes of the file to Do The Right Thing. I think the function to look at is "manual-nuke-nroff-bs", which is called after inserting the manual entry. It should look at the first few bytes, to see if there is any clue about the compression code; if so, run the buffer through the "uncompress" filter, otherwise do the usual thing. Alan Stebbens