aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-12-26 14:59:50 +0200
committerEli Zaretskii2015-12-26 14:59:50 +0200
commit3a9664d092fa4f1cdd82307c05f51f9f2a4e9d7d (patch)
treeb55adc8a10d1dd0fd1e254623aa1a7d3afce8e71
parent293bd4f6329a112e5c14ae863e963dd0eefb1330 (diff)
downloademacs-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.texi44
-rw-r--r--etc/NEWS1
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
550If the URL specifies a local file, it is retrieved by reading the file 551If the URL specifies a local file, it is retrieved by reading the file
551contents in the usual way. If it specifies a remote file, it is 552contents in the usual way. If it specifies a remote file, it is
552retrieved using the Ange-FTP package. @xref{Remote Files,,, emacs, 553retrieved using either the Tramp or the Ange-FTP package.
553The 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
556if it has the file suffix @file{.z}, @file{.gz}, @file{.Z}, 557if 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
685but the @var{password} component is ignored. 686but the @var{password} component is ignored. By default, the
687@code{telnet} scheme is handled via Tramp (@pxref{Tramp}).
686 688
687To handle rlogin, telnet and tn3270 URLs, a @code{rlogin}, 689To 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
798and are retrieved by passing @var{page-spec} to the Lisp function 800and 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
807Some additional URL types are supported by passing them to Tramp
808(@pxref{Top, The Tramp Manual,, tramp, The Tramp Manual}). These
809protocols are listed in the @code{url-tramp-protocols} variable, which
810you can customize. The default value includes the following
811protocols:
812
813@table @code
814@item ftp
815The file transfer protocol. @xref{file/ftp}.
816
817@item ssh
818@cindex ssh
819The secure shell protocol. @xref{Inline Methods,,, tramp, The Tramp
820Manual}.
821
822@item scp
823@cindex scp
824The secure file copy protocol. @xref{External Methods,,, tramp, The
825Tramp Manual}.
826
827@item rsync
828@cindex rsync
829The remote sync protocol.
830
831@item telnet
832The telnet protocol.
833@end table
834
801@node General Facilities 835@node General Facilities
802@chapter General Facilities 836@chapter General Facilities
803 837
diff --git a/etc/NEWS b/etc/NEWS
index efcc33ec7fc..4bc66bd6305 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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".
762When `url-handler-mode' is enabled, file operations for these 763When `url-handler-mode' is enabled, file operations for these
763protocols as well as for "telnet" and "ftp" are passed to Tramp. 764protocols as well as for "telnet" and "ftp" are passed to Tramp.