Article View: gnu.emacs.help
Article #2098Re: crypt.el and correct compress-magic-regexp: "\037\235"
From: Lawrence R. Dodd
Date: Thu, 07 Jan 1993 14:15
Date: Thu, 07 Jan 1993 14:15
32 lines
1975 bytes
1975 bytes
>>>>> "Joerg-Cyril" == Joerg-Cyril Hoehle <hoehle@inf-wiss.ivp.uni-konstanz.de> writes: Joerg-Cyril> Please correct all versions of crypt.el around that use a too specific Joerg-Cyril> compress-magic-regexp number. Joerg-Cyril> Lawrence R. Dodd (dodd@mycenae.cchem.berkeley.edu) wrote: Joerg-Cyril> : Joerg-Cyril> : Here is modified version of Kyle Jones' crypt.el that will work with gzip Joerg-Cyril> : (GNU zip) files. Joerg-Cyril> : Joerg-Cyril> .. Joerg-Cyril> : (defconst compress-magic-regexp "\037\235\220" Joerg-Cyril> : "Regexp that matches the magic number at the beginning of files created Joerg-Cyril> : by the compress(1) command.") Joerg-Cyril> Kyle Jones <kyle@uunet.uu.net> told me: >This is the correct one: > >(defconst compress-magic-regexp "\037\235" > >The \220 only appears on 16-bit compressed files. Thanks for the correction. There seems to be many different versions for crypt.el out there. I know of the GNU zip modification, this `bug', and Jamie Zawinski's modifications for tar-mode.el. Perhaps even the man himself (Kyle Jones) has mods. Can someone bring all these all together? Kyle are you out there? Larry
Technical Details
Message-ID:
<DODD.93Jan7141516@mycenae.cchem.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!spool.mu.edu!agate!agate.berkeley.edu!doddReferences:
<DODD.93Jan6154147@mycenae.cchem.berkeley.edu> <1993Jan7.164714.115124@eratu.rz.uni-konstanz.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!spool.mu.edu!agate!agate.berkeley.edu!dodd From: dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd) Newsgroups: gnu.emacs.help Subject: Re: crypt.el and correct compress-magic-regexp: "\037\235" Date: 7 Jan 93 14:15:16 Organization: Dept of Chemical Engineering, Polytechnic Univ, NY, USA Lines: 32 Distribution: gnu Message-ID: <DODD.93Jan7141516@mycenae.cchem.berkeley.edu> References: <DODD.93Jan6154147@mycenae.cchem.berkeley.edu> <1993Jan7.164714.115124@eratu.rz.uni-konstanz.de> Reply-To: dodd@roebling.poly.edu NNTP-Posting-Host: mycenae.cchem.berkeley.edu In-reply-to: hoehle@inf-wiss.ivp.uni-konstanz.de's message of Thu, 7 Jan 1993 16:47:14 GMT