comparison lisp/tar-mode.el @ 775:1ca26ccad38e

*** empty log message ***
author Eric S. Raymond <esr@snark.thyrsus.com>
date Tue, 14 Jul 1992 21:51:51 +0000
parents 7cbd4fcd8b0f
children 4f28bd14272c
comparison
equal deleted inserted replaced
774:11867ad5bab4 775:1ca26ccad38e
1 ;;; tar-mode.el --- simple editing of tar files from GNU emacs 1 ;;; tar-mode.el --- simple editing of tar files from GNU emacs
2 2
3 ;;; Author: Jamie Zawinski <jwz@lucid.com> 3 ;; Author: Jamie Zawinski <jwz@lucid.com>
4 ;;; Created: 4 Apr 1990 4 ;; Created: 4 Apr 1990
5 ;;; Version: 1.21, 10 Mar 91 5 ;; Version: 1.21
6 ;; Last-Modified: 10 Mar 1991
6 7
7 ;;; Copyright (C) 1990, 1991 Free Software Foundation, Inc. 8 ;;; Copyright (C) 1990, 1991 Free Software Foundation, Inc.
8 ;;; 9 ;;;
9 ;;; This file is part of GNU Emacs. 10 ;;; This file is part of GNU Emacs.
10 ;;; 11 ;;;
19 ;;; GNU General Public License for more details. 20 ;;; GNU General Public License for more details.
20 ;;; 21 ;;;
21 ;;; You should have received a copy of the GNU General Public License 22 ;;; You should have received a copy of the GNU General Public License
22 ;;; along with GNU Emacs; see the file COPYING. If not, write to 23 ;;; along with GNU Emacs; see the file COPYING. If not, write to
23 ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24 ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25
26 ;;; Commentary:
24 27
25 ;;; This package attempts to make dealing with Unix 'tar' archives easier. 28 ;;; This package attempts to make dealing with Unix 'tar' archives easier.
26 ;;; When this code is loaded, visiting a file whose name ends in '.tar' will 29 ;;; When this code is loaded, visiting a file whose name ends in '.tar' will
27 ;;; cause the contents of that archive file to be displayed in a Dired-like 30 ;;; cause the contents of that archive file to be displayed in a Dired-like
28 ;;; listing. It is then possible to use the customary Dired keybindings to 31 ;;; listing. It is then possible to use the customary Dired keybindings to
84 ;;; might be a problem if the tar write-file-hook does not come *first* on 87 ;;; might be a problem if the tar write-file-hook does not come *first* on
85 ;;; the list. 88 ;;; the list.
86 ;;; 89 ;;;
87 ;;; o Block files, sparse files, continuation files, and the various header 90 ;;; o Block files, sparse files, continuation files, and the various header
88 ;;; types aren't editable. Actually I don't know that they work at all. 91 ;;; types aren't editable. Actually I don't know that they work at all.
92
93 ;;; Code:
89 94
90 (defvar tar-anal-blocksize 20 95 (defvar tar-anal-blocksize 20
91 "*The blocksize of tar files written by Emacs, or nil, meaning don't care. 96 "*The blocksize of tar files written by Emacs, or nil, meaning don't care.
92 The blocksize of a tar file is not really the size of the blocks; rather, it is 97 The blocksize of a tar file is not really the size of the blocks; rather, it is
93 the number of blocks written with one system call. When tarring to a tape, 98 the number of blocks written with one system call. When tarring to a tape,