diff options
| author | Eli Zaretskii | 2000-06-15 16:18:00 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-06-15 16:18:00 +0000 |
| commit | 366f22ff9743368c4db94e57abe8aabeca2c0712 (patch) | |
| tree | 4869a61657d406533c8e5c2190b2374d44742d01 | |
| parent | 7d5c86919ebf775aae3a93908aa2d86d8efc78f9 (diff) | |
| download | emacs-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.texi | 82 |
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 | ||
| 2412 | If 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 |
| 2414 | buffer. This provides a Dired-like listing of the contents. | 2402 | mode 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 |
| 2416 | visit and manipulate them. | 2404 | visit and manipulate them. |
| 2417 | 2405 | ||
| 2418 | The 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 |
| 2419 | into its own buffer. You can edit it there and when you save the buffer | 2407 | into its own buffer. You can edit it there and when you save the buffer |
| 2420 | the edited version will replace the version in the Tar buffer. @var{v} | 2408 | the edited version will replace the version in the Tar buffer. @kbd{v} |
| 2421 | extracts a file into a buffer in View mode. @kbd{d} marks a file for | 2409 | extracts a file into a buffer in View mode. @kbd{o} extracts the file |
| 2422 | deletion when you later use @kbd{x}, as in Dired. @kbd{C} copies a file | 2410 | and displays it in another window, so you could edit the file and |
| 2423 | from the archive to disk and @kbd{R} renames a file. | 2411 | operate on the archive simultaneously. @kbd{d} marks a file for |
| 2424 | 2412 | deletion when you later use @kbd{x}, and @kbd{u} unmarks a file, as in | |
| 2425 | Saving the Tar buffer writes a new version of the archive to disk with | 2413 | Dired. @kbd{C} copies a file from the archive to disk and @kbd{R} |
| 2414 | renames 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 | ||
| 2417 | bits, group, and owner, respectively. | ||
| 2418 | |||
| 2419 | If your display supports colors and the mouse, moving the mouse | ||
| 2420 | pointer across a file name highlights that file name, indicating that | ||
| 2421 | you can click on it. Clicking @kbd{Mouse-2} on the highlighted file | ||
| 2422 | name 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 | ||
| 2426 | the changes you made to the components. | 2425 | the changes you made to the components. |
| 2427 | 2426 | ||
| 2428 | If you enable Auto Compression mode (@pxref{Compressed Files}), then Tar | 2427 | If you enable Auto Compression mode (@pxref{Compressed Files}), then |
| 2429 | mode will be used also for compressed archives in files with extensions | 2428 | Tar mode will be used also for compressed archives in files with |
| 2430 | @samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}. | 2429 | extensions @samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}. |
| 2431 | 2430 | ||
| 2432 | It 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 |
| 2433 | mode or Archive mode---Emacs reads the archives directly. | 2432 | Tar mode or Archive mode---Emacs reads the archives directly. For |
| 2433 | compressed archives such as @code{.tar.gz}, you need the appropriate | ||
| 2434 | uncompress 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 |
| 2447 | A 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 | ||
| 2448 | the programs @code{arc}, @code{zip}, @code{lzh} and @code{zoo} which | 2451 | the programs @code{arc}, @code{zip}, @code{lzh} and @code{zoo} which |
| 2449 | have extensions corresponding to the program names. These archiving | 2452 | have extensions corresponding to the program names. These archiving |
| 2450 | programs are typically used on MS-DOS and MS-Windows systems. Java | 2453 | programs are typically used on MS-DOS and MS-Windows systems. Java |
| 2451 | class archives with extension @samp{.jar} are also recognized. The | 2454 | class archives with extension @samp{.jar} are also recognized. |
| 2452 | keybindings 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 | |
| 2454 | Unlike Tar mode, Archive mode runs the appropriate program to unpack and | 2457 | the addition of the @kbd{m} key which marks a file for subsequent |
| 2455 | repack archives. Details of the program names and their options can be | 2458 | operations, and @kbd{M-@key{DEL}} which unmarks all the marked files. |
| 2456 | set in the `Archive' Customize group. | 2459 | Also, the @kbd{a} key toggles the display of file information in those |
| 2460 | archive types where all of of the info is too long to be displayed on a | ||
| 2461 | single line. Operations such as @samp{change mode}, @samp{change owner} | ||
| 2462 | and @samp{rename} are supported only for some of the archive formats. | ||
| 2463 | |||
| 2464 | Unlike Tar mode, Archive mode runs the appropriate program to unpack | ||
| 2465 | and repack archives. Details of the program names and their options can | ||
| 2466 | be set in the @samp{Archive} Customize group. However, you don't need | ||
| 2467 | these programs to @emph{view} the archive contents, only to extract and | ||
| 2468 | delete archived files. | ||
| 2457 | 2469 | ||
| 2458 | @node Remote Files | 2470 | @node Remote Files |
| 2459 | @section Remote Files | 2471 | @section Remote Files |