From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jonadab the Unsightly One" Newsgroups: gmane.emacs.help Subject: Re: Package for creating/opening zip files Date: 08 Feb 2003 18:04:32 -0500 Organization: bright.net Ohio Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4r7e5q7z.fsf@jonadab.homeip.net> References: <87k7gcj0av.fsf@server.crasseux.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044744263 31383 80.91.224.249 (8 Feb 2003 22:44:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2003 22:44:23 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hdhu-0008A2-00 for ; Sat, 08 Feb 2003 23:44:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hdj5-0000gl-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 08 Feb 2003 17:45:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cletus.bright.net!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Emacs: GNU Emacs 21.1.1 (i386-mandrake-linux-gnu, X toolkit, Xaw3d scroll bars) of 2001-11-26 on no.mandrakesoft.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Lines: 32 Original-NNTP-Posting-Host: 209.143.57.45 Original-X-Complaints-To: abuse@bright.net Original-X-Trace: cletus.bright.net 1044744217 209.143.57.45 (Sat, 08 Feb 2003 17:43:37 EST) Original-NNTP-Posting-Date: Sat, 08 Feb 2003 17:43:37 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:109961 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6466 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6466 Bijan Soleymani writes: > However this requires external programs. I think the windows version > expects pkunzip in the path. I am almost certain that info-zip (the > free software zip) should be a drop in replacement, as info-zip is > what is used in GNU/Linux. It is functionally equivalent and compatible at the file format level, but I'm not sure how drop-in it would be. The command-line arguments are different for pkzip/pkunzip versus pkzipc (the newer win32 console version; this comes with pkzip/pkunzip compatibility apps that just translate the command-line and call pkzipc to do the work, but that is not installed by default, for reasons I don't understand). I know info-zip's command-line structure is substantially different also from pkzip/pkunzip, but I'm not sure how similar info-zip's commandline may be to that of pkzipc. It is also notable that pkzipc and info-zip can handle certain filenames (e.g., .emacs) that will cause pkzip/pkunzip to skip the file. (Also, _old_ versions of pkzip/pkunzip (pre-1996 or so) do not support LFNs at all.) It would be relatively easy to write a small app that takes commandline arguments in the style of any of these tools, translates them, and calls another of the tools to do the work. For example, a tool that emulates info-zip by calling pkzipc or pkzip would not be a terribly difficult piece of glue to construct. But I don't know whether such a thing has been done (except, as I said, that pkzipc comes (optionally) with such a frontend that emulates pkzip/pkunzip). -- (defun switch-to-scratch () (interactive) "Switch to *scratch* buffer." (switch-to-buffer (get-buffer-create "*scratch*"))) (global-set-key (kbd "C-t") 'switch-to-scratch)