aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-06-15 16:18:00 +0000
committerEli Zaretskii2000-06-15 16:18:00 +0000
commit366f22ff9743368c4db94e57abe8aabeca2c0712 (patch)
tree4869a61657d406533c8e5c2190b2374d44742d01
parent7d5c86919ebf775aae3a93908aa2d86d8efc78f9 (diff)
downloademacs-366f22ff9743368c4db94e57abe8aabeca2c0712.tar.gz
emacs-366f22ff9743368c4db94e57abe8aabeca2c0712.zip
(File Archives): Remove redundant index entries. Add some more Tar
and Archive mode commands.
-rw-r--r--man/files.texi82
1 files changed, 47 insertions, 35 deletions
diff --git a/man/files.texi b/man/files.texi
index 26b3adb9956..23d88aa4a0c 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -2395,65 +2395,77 @@ compiling it.
2395@section File Archives 2395@section File Archives
2396@cindex mode, tar 2396@cindex mode, tar
2397@cindex Tar mode 2397@cindex Tar mode
2398@cindex Archive mode
2399@cindex mode, archive
2400@cindex @code{arc}
2401@cindex @code{jar}
2402@cindex @code{zip}
2403@cindex @code{lzh}
2404@cindex @code{zoo}
2405@pindex tar 2398@pindex tar
2406@pindex arc
2407@pindex jar
2408@pindex zip
2409@pindex lzh
2410@pindex zoo
2411 2399
2412If you visit a file with extension @samp{.tar}, it is assumed to be an 2400 If you visit a file with extension @samp{.tar}, it is assumed to be an
2413`archive' made by the @code{tar} program and it is viewed in a Tar mode 2401@dfn{archive} made by the @code{tar} program and it is viewed in a Tar
2414buffer. This provides a Dired-like listing of the contents. 2402mode buffer. This provides a Dired-like listing of the contents.
2415@xref{Dired}. You can move around the component files as in Dired to 2403@xref{Dired}. You can move around the component files as in Dired to
2416visit and manipulate them. 2404visit and manipulate them.
2417 2405
2418The keys @kbd{e}, @kbd{f} and @kbd{RET} all extract a component file 2406 The keys @kbd{e}, @kbd{f} and @kbd{RET} all extract a component file
2419into its own buffer. You can edit it there and when you save the buffer 2407into its own buffer. You can edit it there and when you save the buffer
2420the edited version will replace the version in the Tar buffer. @var{v} 2408the edited version will replace the version in the Tar buffer. @kbd{v}
2421extracts a file into a buffer in View mode. @kbd{d} marks a file for 2409extracts a file into a buffer in View mode. @kbd{o} extracts the file
2422deletion when you later use @kbd{x}, as in Dired. @kbd{C} copies a file 2410and displays it in another window, so you could edit the file and
2423from the archive to disk and @kbd{R} renames a file. 2411operate on the archive simultaneously. @kbd{d} marks a file for
2424 2412deletion when you later use @kbd{x}, and @kbd{u} unmarks a file, as in
2425Saving the Tar buffer writes a new version of the archive to disk with 2413Dired. @kbd{C} copies a file from the archive to disk and @kbd{R}
2414renames a file. @kbd{g} reverts the buffer from the archive on disk.
2415
2416 The keys @kbd{M}, @kbd{G}, and @kbd{O} change the file's permission
2417bits, group, and owner, respectively.
2418
2419 If your display supports colors and the mouse, moving the mouse
2420pointer across a file name highlights that file name, indicating that
2421you can click on it. Clicking @kbd{Mouse-2} on the highlighted file
2422name extracts the file into a buffer and displays that buffer.
2423
2424 Saving the Tar buffer writes a new version of the archive to disk with
2426the changes you made to the components. 2425the changes you made to the components.
2427 2426
2428If you enable Auto Compression mode (@pxref{Compressed Files}), then Tar 2427 If you enable Auto Compression mode (@pxref{Compressed Files}), then
2429mode will be used also for compressed archives in files with extensions 2428Tar mode will be used also for compressed archives in files with
2430@samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}. 2429extensions @samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}.
2431 2430
2432It is not necessary to have the @code{tar} program available to use Tar 2431 It is not necessary to have the @code{tar} program available to use
2433mode or Archive mode---Emacs reads the archives directly. 2432Tar mode or Archive mode---Emacs reads the archives directly. For
2433compressed archives such as @code{.tar.gz}, you need the appropriate
2434uncompress program to be available to Emacs.
2434 2435
2436@cindex Archive mode
2437@cindex mode, archive
2435@cindex @code{arc} 2438@cindex @code{arc}
2436@cindex @code{jar} 2439@cindex @code{jar}
2437@cindex @code{zip} 2440@cindex @code{zip}
2438@cindex @code{lzh} 2441@cindex @code{lzh}
2439@cindex @code{zoo} 2442@cindex @code{zoo}
2440@pindex tar
2441@pindex arc 2443@pindex arc
2442@pindex jar 2444@pindex jar
2443@pindex zip 2445@pindex zip
2444@pindex lzh 2446@pindex lzh
2445@pindex zoo 2447@pindex zoo
2446@cindex Java class archives 2448@cindex Java class archives
2447A separate but similar Archive mode, is used for archives produced by 2449@cindex unzip archives
2450 A separate but similar Archive mode is used for archives produced by
2448the programs @code{arc}, @code{zip}, @code{lzh} and @code{zoo} which 2451the programs @code{arc}, @code{zip}, @code{lzh} and @code{zoo} which
2449have extensions corresponding to the program names. These archiving 2452have extensions corresponding to the program names. These archiving
2450programs are typically used on MS-DOS and MS-Windows systems. Java 2453programs are typically used on MS-DOS and MS-Windows systems. Java
2451class archives with extension @samp{.jar} are also recognized. The 2454class archives with extension @samp{.jar} are also recognized.
2452keybindings in Archive mode are similar to those in Tar mode. 2455
2453 2456 The keybindings in Archive mode are similar to those in Tar mode, with
2454Unlike Tar mode, Archive mode runs the appropriate program to unpack and 2457the addition of the @kbd{m} key which marks a file for subsequent
2455repack archives. Details of the program names and their options can be 2458operations, and @kbd{M-@key{DEL}} which unmarks all the marked files.
2456set in the `Archive' Customize group. 2459Also, the @kbd{a} key toggles the display of file information in those
2460archive types where all of of the info is too long to be displayed on a
2461single line. Operations such as @samp{change mode}, @samp{change owner}
2462and @samp{rename} are supported only for some of the archive formats.
2463
2464 Unlike Tar mode, Archive mode runs the appropriate program to unpack
2465and repack archives. Details of the program names and their options can
2466be set in the @samp{Archive} Customize group. However, you don't need
2467these programs to @emph{view} the archive contents, only to extract and
2468delete archived files.
2457 2469
2458@node Remote Files 2470@node Remote Files
2459@section Remote Files 2471@section Remote Files