🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.emacs.sources
3 messages
3 total messages Started by Neal Becker Wed, 27 Jan 1993 14:46
Compressed Info??
#338
Author: Neal Becker
Date: Wed, 27 Jan 1993 14:46
12 lines
860 bytes
Sure would like to have it!  I use crypt++ and Dave Gillespie's info
version 1.05.  I tried gzip'ing an info, and and changes the localdir
to say e.g.,

rcs: (rcs.info.z)

But it didn't work.  (complained something about node top).

Since crypt++ should intercept calls to find-file, I thought this
would work.  Anyone have any ideas?

Thanks.
Re: Compressed Info??
#340
Author: Meinhard E. Mayer (Hardy)
Date: Thu, 28 Jan 1993 07:49
22 lines
1420 bytes
In article <NEAL.93Jan27094651@neal.ctd.comsat.com> neal@ctd.comsat.com (Neal Becker) writes:


???   Sure would like to have it!  I use crypt++ and Dave Gillespie's info
???   version 1.05.  I tried gzip'ing an info, and and changes the localdir
???   to say e.g.,
???
???   rcs: (rcs.info.z)
???
???   But it didn't work.  (complained something about node top).

One ugly way around it I tried is to sym-link gzip to uncompress and
zcat, and to rename the gzipped info-files with a capital Z extension.
One should be able to modify info.el to uncompress (or gunzip) files 
with a .z or .zip extension, but who has the time ...
I'm sure the experts will post a solution in a few days.
--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
!!!! NO NEXTMAIL TO THESE ADDRESSES, PLEASE !!!!!
Re: Compressed Info??
#342
Author: Mark Borges
Date: Thu, 28 Jan 1993 08:06
51 lines
2596 bytes
>>>>> Regarding Compressed Info??; neal@ctd.comsat.com (Neal Becker)
>>>>> adds:
Neal> Sure would like to have it!  I use crypt++ and Dave Gillespie's
Neal> info version 1.05.  I tried gzip'ing an info, and and changes
Neal> the localdir to say e.g.,
Neal> rcs: (rcs.info.z)
Neal> But it didn't work.  (complained something about node top).

If you have access to Dave Gillespie's info elisp source
;; Info package for Emacs  --  Dave Gillespie's version 1.05 of 3/8/92.
;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
there may be a relatively simple solution. I found that by modifying
the Info-suffix-list to: 

(defvar Info-suffix-list '( (".info" . nil)
			    (".Z" . "uncompress -c %s")
			    (".z" . "gunzip")
			    (".zip" . "gunzip")
			    (".Y" . "unyabba")
			    (".info.Z" . "uncompress -c %s")
			    (".info.z" . "gunzip")
			    (".info.zip" . "gunzip")
			    (".info.Y" . "unyabba") )
  "List of file name suffixes and associated decoding commands.
Each entry should be (SUFFIX . STRING); if STRING contains %s, that is
changed to name of the file to decode, otherwise the file is given to
the command as standard input.  If STRING is nil, no decoding is done.")

works fine. Entries in localdir are of the form:

* AWK: (gawk). Awk (v2.14).
* GZIP: (gzip). Zip/Unzip, a compress replacement (v0.8.1).

and the files in the directory where info is set to look are:
% ls diff* gawk*
diff.info-1.z  diff.info.z    gawk.info-3.z  gawk.info-6.z  gawk.info.z
diff.info-2.z  gawk.info-1.z  gawk.info-4.z  gawk.info-7.z
diff.info-3.z  gawk.info-2.z  gawk.info-5.z  gawk.info-8.z

I'm not an expert, but this seems simple enough and works fine for me.
I've yet to run across a case where it fails, but I haven't tested it
exhaustively. Does anyone see any potential problems? 





--
 Mark Borges <mdb@noaacrd.Colorado.EDU>      | 
 CIRES, Campus Box 449	                     |  voice: (303) 492 - 0612
 University of Colorado, Boulder, CO 80303   |    fax: (303) 492 - 2468
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads