diff options
| author | Eli Zaretskii | 2015-12-26 14:59:50 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-12-26 14:59:50 +0200 |
| commit | 3a9664d092fa4f1cdd82307c05f51f9f2a4e9d7d (patch) | |
| tree | b55adc8a10d1dd0fd1e254623aa1a7d3afce8e71 | |
| parent | 293bd4f6329a112e5c14ae863e963dd0eefb1330 (diff) | |
| download | emacs-3a9664d092fa4f1cdd82307c05f51f9f2a4e9d7d.tar.gz emacs-3a9664d092fa4f1cdd82307c05f51f9f2a4e9d7d.zip | |
Document protocols supported by URL library via Tramp
* doc/misc/url.texi (Tramp): New node, describes the URL schemes
supported via Tramp.
(Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
Tramp.
| -rw-r--r-- | doc/misc/url.texi | 44 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
2 files changed, 40 insertions, 5 deletions
diff --git a/doc/misc/url.texi b/doc/misc/url.texi index 95fe5eabc33..cd2d7a12bec 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi | |||
| @@ -373,9 +373,10 @@ for specific schemes. | |||
| 373 | * rlogin/telnet/tn3270:: Remote host connectivity. | 373 | * rlogin/telnet/tn3270:: Remote host connectivity. |
| 374 | * irc:: Internet Relay Chat. | 374 | * irc:: Internet Relay Chat. |
| 375 | * data:: Embedded data URLs. | 375 | * data:: Embedded data URLs. |
| 376 | * nfs:: Networked File System | 376 | * nfs:: Networked File System. |
| 377 | * ldap:: Lightweight Directory Access Protocol | 377 | * ldap:: Lightweight Directory Access Protocol. |
| 378 | * man:: Unix man pages. | 378 | * man:: Unix man pages. |
| 379 | * Tramp:: Schemes supported via Tramp. | ||
| 379 | @end menu | 380 | @end menu |
| 380 | 381 | ||
| 381 | @node http/https | 382 | @node http/https |
| @@ -549,8 +550,8 @@ file://@var{user}:@var{password}@@@var{host}:@var{port}/@var{file} | |||
| 549 | @noindent | 550 | @noindent |
| 550 | If the URL specifies a local file, it is retrieved by reading the file | 551 | If the URL specifies a local file, it is retrieved by reading the file |
| 551 | contents in the usual way. If it specifies a remote file, it is | 552 | contents in the usual way. If it specifies a remote file, it is |
| 552 | retrieved using the Ange-FTP package. @xref{Remote Files,,, emacs, | 553 | retrieved using either the Tramp or the Ange-FTP package. |
| 553 | The GNU Emacs Manual}. | 554 | @xref{Remote Files,,, emacs, The GNU Emacs Manual}. |
| 554 | 555 | ||
| 555 | When retrieving a compressed file, it is automatically uncompressed | 556 | When retrieving a compressed file, it is automatically uncompressed |
| 556 | if it has the file suffix @file{.z}, @file{.gz}, @file{.Z}, | 557 | if it has the file suffix @file{.z}, @file{.gz}, @file{.Z}, |
| @@ -682,7 +683,8 @@ telnet://@var{user}:@var{password}@@@var{host}:@var{port} | |||
| 682 | @end example | 683 | @end example |
| 683 | 684 | ||
| 684 | @noindent | 685 | @noindent |
| 685 | but the @var{password} component is ignored. | 686 | but the @var{password} component is ignored. By default, the |
| 687 | @code{telnet} scheme is handled via Tramp (@pxref{Tramp}). | ||
| 686 | 688 | ||
| 687 | To handle rlogin, telnet and tn3270 URLs, a @code{rlogin}, | 689 | To handle rlogin, telnet and tn3270 URLs, a @code{rlogin}, |
| 688 | @code{telnet} or @code{tn3270} (the program names and arguments are | 690 | @code{telnet} or @code{tn3270} (the program names and arguments are |
| @@ -798,6 +800,38 @@ The @code{man} scheme is a non-standard one. Such URLs have the form | |||
| 798 | and are retrieved by passing @var{page-spec} to the Lisp function | 800 | and are retrieved by passing @var{page-spec} to the Lisp function |
| 799 | @code{man}. | 801 | @code{man}. |
| 800 | 802 | ||
| 803 | @node Tramp | ||
| 804 | @section URL Types Supported via Tramp | ||
| 805 | |||
| 806 | @vindex url-tramp-protocols | ||
| 807 | Some additional URL types are supported by passing them to Tramp | ||
| 808 | (@pxref{Top, The Tramp Manual,, tramp, The Tramp Manual}). These | ||
| 809 | protocols are listed in the @code{url-tramp-protocols} variable, which | ||
| 810 | you can customize. The default value includes the following | ||
| 811 | protocols: | ||
| 812 | |||
| 813 | @table @code | ||
| 814 | @item ftp | ||
| 815 | The file transfer protocol. @xref{file/ftp}. | ||
| 816 | |||
| 817 | @item ssh | ||
| 818 | @cindex ssh | ||
| 819 | The secure shell protocol. @xref{Inline Methods,,, tramp, The Tramp | ||
| 820 | Manual}. | ||
| 821 | |||
| 822 | @item scp | ||
| 823 | @cindex scp | ||
| 824 | The secure file copy protocol. @xref{External Methods,,, tramp, The | ||
| 825 | Tramp Manual}. | ||
| 826 | |||
| 827 | @item rsync | ||
| 828 | @cindex rsync | ||
| 829 | The remote sync protocol. | ||
| 830 | |||
| 831 | @item telnet | ||
| 832 | The telnet protocol. | ||
| 833 | @end table | ||
| 834 | |||
| 801 | @node General Facilities | 835 | @node General Facilities |
| 802 | @chapter General Facilities | 836 | @chapter General Facilities |
| 803 | 837 | ||
| @@ -758,6 +758,7 @@ See the doc string of `sh-indent-after-continuation' for details. | |||
| 758 | 758 | ||
| 759 | ** URL | 759 | ** URL |
| 760 | 760 | ||
| 761 | +++ | ||
| 761 | *** The URL package accepts now the protocols "ssh", "scp" and "rsync". | 762 | *** The URL package accepts now the protocols "ssh", "scp" and "rsync". |
| 762 | When `url-handler-mode' is enabled, file operations for these | 763 | When `url-handler-mode' is enabled, file operations for these |
| 763 | protocols as well as for "telnet" and "ftp" are passed to Tramp. | 764 | protocols as well as for "telnet" and "ftp" are passed to Tramp. |