diff options
| author | Michael Albinus | 2014-11-08 10:07:24 +0100 |
|---|---|---|
| committer | Michael Albinus | 2014-11-08 10:07:24 +0100 |
| commit | 89be8b92a6678ca14cf8f48bdb905542f3b58b9e (patch) | |
| tree | e22d8e00c2e0180fc8b080acbe73ee531b84da27 /doc | |
| parent | b03f9b583cf80b765cc41c095cb6c2ee04e19f40 (diff) | |
| download | emacs-89be8b92a6678ca14cf8f48bdb905542f3b58b9e.tar.gz emacs-89be8b92a6678ca14cf8f48bdb905542f3b58b9e.zip | |
Backport Tramp changes from trunk.
* tramp.texi (Inline methods): Remove restriction on "telnet".
Recommend sharing ssh connections for "plink".
(External methods): Remove "sftp". Merge "pscp" and "psftp"
descriptions. Recommend sharing ssh connections. Add "nc" method.
(GVFS based methods): Add "sftp".
(Customizing Completion, External packages, Issues): Use @dots{}.
(Remote shell setup): Explain, how to change command line
arguments of remote "nc" listener.
* trampver.texi: Update release number.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 15 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 129 | ||||
| -rw-r--r-- | doc/misc/trampver.texi | 4 |
3 files changed, 97 insertions, 51 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 0518909ff90..cd35a111dbb 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2014-11-08 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | Backport Tramp changes from trunk. | ||
| 4 | |||
| 5 | * tramp.texi (Inline methods): Remove restriction on "telnet". | ||
| 6 | Recommend sharing ssh connections for "plink". | ||
| 7 | (External methods): Remove "sftp". Merge "pscp" and "psftp" | ||
| 8 | descriptions. Recommend sharing ssh connections. Add "nc" method. | ||
| 9 | (GVFS based methods): Add "sftp". | ||
| 10 | (Customizing Completion, External packages, Issues): Use @dots{}. | ||
| 11 | (Remote shell setup): Explain, how to change command line | ||
| 12 | arguments of remote "nc" listener. | ||
| 13 | |||
| 14 | * trampver.texi: Update release number. | ||
| 15 | |||
| 1 | 2014-11-07 Tassilo Horn <tsdh@gnu.org> | 16 | 2014-11-07 Tassilo Horn <tsdh@gnu.org> |
| 2 | 17 | ||
| 3 | * eww.texi (Advanced): Document increasing contrast with | 18 | * eww.texi (Advanced): Document increasing contrast with |
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 1f6eaef6880..ebf62c621de 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -605,11 +605,10 @@ action. | |||
| 605 | @cindex methods, inline | 605 | @cindex methods, inline |
| 606 | 606 | ||
| 607 | The inline methods in @value{tramp} are quite powerful and can work in | 607 | The inline methods in @value{tramp} are quite powerful and can work in |
| 608 | situations where you cannot use an external transfer program to connect. | 608 | situations where you cannot use an external transfer program to |
| 609 | Inline methods are the only methods that work when connecting to the | 609 | connect. There are also strange inline methods which allow you to |
| 610 | remote host via telnet. (There are also strange inline methods which | 610 | transfer files between @emph{user identities} rather than hosts, see |
| 611 | allow you to transfer files between @emph{user identities} rather than | 611 | below. |
| 612 | hosts, see below.) | ||
| 613 | 612 | ||
| 614 | These methods depend on the existence of a suitable encoding and | 613 | These methods depend on the existence of a suitable encoding and |
| 615 | decoding command on remote host. Locally, @value{tramp} may be able to | 614 | decoding command on remote host. Locally, @value{tramp} may be able to |
| @@ -748,7 +747,10 @@ This method is mostly interesting for Windows users using the PuTTY | |||
| 748 | implementation of SSH@. It uses @samp{plink -ssh} to log in to the | 747 | implementation of SSH@. It uses @samp{plink -ssh} to log in to the |
| 749 | remote host. | 748 | remote host. |
| 750 | 749 | ||
| 751 | This supports the @samp{-P} argument. | 750 | With a recent PuTTY, it is recommended to check the @samp{Share SSH |
| 751 | connections if possible} control for that session. | ||
| 752 | |||
| 753 | This method supports the @samp{-P} argument. | ||
| 752 | 754 | ||
| 753 | 755 | ||
| 754 | @item @option{plinkx} | 756 | @item @option{plinkx} |
| @@ -757,9 +759,10 @@ This supports the @samp{-P} argument. | |||
| 757 | 759 | ||
| 758 | Another method using PuTTY on Windows. Instead of host names, it | 760 | Another method using PuTTY on Windows. Instead of host names, it |
| 759 | expects PuTTY session names, calling @samp{plink -load @var{session} | 761 | expects PuTTY session names, calling @samp{plink -load @var{session} |
| 760 | -t"}. User names are relevant only in case the corresponding session | 762 | -t}. User names and port numbers must be defined in the session. |
| 761 | hasn't defined a user name. Different port numbers must be defined in | 763 | |
| 762 | the session. | 764 | With a recent PuTTY, it is recommended to check the @samp{Share SSH |
| 765 | connections if possible} control for that session. | ||
| 763 | 766 | ||
| 764 | @end table | 767 | @end table |
| 765 | 768 | ||
| @@ -820,22 +823,6 @@ specify @samp{-p 42} in the argument list for @command{ssh}, and to | |||
| 820 | specify @samp{-P 42} in the argument list for @command{scp}. | 823 | specify @samp{-P 42} in the argument list for @command{scp}. |
| 821 | 824 | ||
| 822 | 825 | ||
| 823 | @item @option{sftp}---@command{ssh} and @command{sftp} | ||
| 824 | @cindex method sftp | ||
| 825 | @cindex sftp method | ||
| 826 | @cindex sftp (with sftp method) | ||
| 827 | @cindex ssh (with sftp method) | ||
| 828 | |||
| 829 | That is mostly the same method as @option{scp}, but using | ||
| 830 | @command{sftp} as transfer command. So the same remarks are valid. | ||
| 831 | |||
| 832 | This command does not work like @value{ftppackagename}, where | ||
| 833 | @command{ftp} is called interactively, and all commands are send from | ||
| 834 | within this session. Instead of, @command{ssh} is used for login. | ||
| 835 | |||
| 836 | This method supports the @samp{-p} argument. | ||
| 837 | |||
| 838 | |||
| 839 | @item @option{rsync}---@command{ssh} and @command{rsync} | 826 | @item @option{rsync}---@command{ssh} and @command{rsync} |
| 840 | @cindex method rsync | 827 | @cindex method rsync |
| 841 | @cindex rsync method | 828 | @cindex rsync method |
| @@ -881,33 +868,27 @@ This method supports the @samp{-p} argument. | |||
| 881 | 868 | ||
| 882 | 869 | ||
| 883 | @item @option{pscp}---@command{plink} and @command{pscp} | 870 | @item @option{pscp}---@command{plink} and @command{pscp} |
| 871 | @item @option{psftp}---@command{plink} and @command{psftp} | ||
| 884 | @cindex method pscp | 872 | @cindex method pscp |
| 885 | @cindex pscp method | 873 | @cindex pscp method |
| 886 | @cindex pscp (with pscp method) | 874 | @cindex pscp (with pscp method) |
| 887 | @cindex plink (with pscp method) | 875 | @cindex plink (with pscp method) |
| 888 | @cindex PuTTY (with pscp method) | 876 | @cindex PuTTY (with pscp method) |
| 889 | |||
| 890 | This method is similar to @option{scp}, but it uses the | ||
| 891 | @command{plink} command to connect to the remote host, and it uses | ||
| 892 | @command{pscp} for transferring the files. These programs are part | ||
| 893 | of PuTTY, an SSH implementation for Windows. | ||
| 894 | |||
| 895 | This method supports the @samp{-P} argument. | ||
| 896 | |||
| 897 | |||
| 898 | @item @option{psftp}---@command{plink} and @command{psftp} | ||
| 899 | @cindex method psftp | 877 | @cindex method psftp |
| 900 | @cindex psftp method | 878 | @cindex psftp method |
| 901 | @cindex psftp (with psftp method) | 879 | @cindex pscp (with psftp method) |
| 902 | @cindex plink (with psftp method) | 880 | @cindex plink (with psftp method) |
| 903 | @cindex PuTTY (with psftp method) | 881 | @cindex PuTTY (with psftp method) |
| 904 | 882 | ||
| 905 | As you would expect, this method is similar to @option{sftp}, but it | 883 | These methods are similar to @option{scp} or @option{sftp}, but they |
| 906 | uses the @command{plink} command to connect to the remote host, and it | 884 | use the @command{plink} command to connect to the remote host, and |
| 907 | uses @command{psftp} for transferring the files. These programs are | 885 | they use @command{pscp} or @command{psftp} for transferring the files. |
| 908 | part of PuTTY, an SSH implementation for Windows. | 886 | These programs are part of PuTTY, an SSH implementation for Windows. |
| 909 | 887 | ||
| 910 | This method supports the @samp{-P} argument. | 888 | With a recent PuTTY, it is recommended to configure the @samp{Share |
| 889 | SSH connections if possible} control for that session. | ||
| 890 | |||
| 891 | These methods support the @samp{-P} argument. | ||
| 911 | 892 | ||
| 912 | 893 | ||
| 913 | @item @option{fcp}---@command{fsh} and @command{fcp} | 894 | @item @option{fcp}---@command{fsh} and @command{fcp} |
| @@ -938,6 +919,19 @@ opens just one connection to the remote host and then keeps it open, | |||
| 938 | anyway. | 919 | anyway. |
| 939 | 920 | ||
| 940 | 921 | ||
| 922 | @item @option{nc}---@command{telnet} and @command{nc} | ||
| 923 | @cindex method nc | ||
| 924 | @cindex nc method | ||
| 925 | @cindex nc (with nc method) | ||
| 926 | @cindex telnet (with nc method) | ||
| 927 | |||
| 928 | Using @command{telnet} to connect to the remote host and @command{nc} | ||
| 929 | for file transfer is often the only possibility to access dumb | ||
| 930 | devices, like routers or NAS hosts. Those hosts have just a | ||
| 931 | restricted @command{busybox} as local shell, and there is no program | ||
| 932 | to encode and decode files for transfer. | ||
| 933 | |||
| 934 | |||
| 941 | @item @option{ftp} | 935 | @item @option{ftp} |
| 942 | @cindex method ftp | 936 | @cindex method ftp |
| 943 | @cindex ftp method | 937 | @cindex ftp method |
| @@ -1066,6 +1060,17 @@ OBEX is an FTP-like access protocol for simple devices, like cell | |||
| 1066 | phones. For the time being, @value{tramp} only supports OBEX over Bluetooth. | 1060 | phones. For the time being, @value{tramp} only supports OBEX over Bluetooth. |
| 1067 | 1061 | ||
| 1068 | 1062 | ||
| 1063 | @item @option{sftp} | ||
| 1064 | @cindex method sftp | ||
| 1065 | @cindex sftp method | ||
| 1066 | |||
| 1067 | As you might expect, this method uses @command{sftp} in order to | ||
| 1068 | access the remote host. Contrary to the @option{ssh} and @option{scp} | ||
| 1069 | methods, it doesn't open an @command{ssh} session for login. | ||
| 1070 | Therefore, it could be used to access to remote hosts which refuse | ||
| 1071 | @command{ssh} for security reasons. | ||
| 1072 | |||
| 1073 | |||
| 1069 | @item @option{synce} | 1074 | @item @option{synce} |
| 1070 | @cindex method synce | 1075 | @cindex method synce |
| 1071 | @cindex synce method | 1076 | @cindex synce method |
| @@ -1077,10 +1082,10 @@ FUSE, it also needs the SYNCE-GVFS plugin. | |||
| 1077 | @end table | 1082 | @end table |
| 1078 | 1083 | ||
| 1079 | @defopt tramp-gvfs-methods | 1084 | @defopt tramp-gvfs-methods |
| 1080 | This customer option, a list, defines the external methods which | 1085 | This customer option, a list, defines the external methods which shall |
| 1081 | shall be used with GVFS@. Per default, these are @option{dav}, | 1086 | be used with GVFS@. Per default, these are @option{dav}, |
| 1082 | @option{davs}, @option{obex} and @option{synce}. Other possible | 1087 | @option{davs}, @option{obex}, @option{sftp} and @option{synce}. Other |
| 1083 | values are @option{ftp}, @option{sftp} and @option{smb}. | 1088 | possible values are @option{ftp} and @option{smb}. |
| 1084 | @end defopt | 1089 | @end defopt |
| 1085 | @end ifset | 1090 | @end ifset |
| 1086 | 1091 | ||
| @@ -1503,7 +1508,7 @@ customize which files are taken into account for user and host name | |||
| 1503 | completion (@pxref{File name completion}). For every method, it keeps | 1508 | completion (@pxref{File name completion}). For every method, it keeps |
| 1504 | a set of configuration files, accompanied by a Lisp function able to | 1509 | a set of configuration files, accompanied by a Lisp function able to |
| 1505 | parse that file. Entries in @code{tramp-completion-function-alist} | 1510 | parse that file. Entries in @code{tramp-completion-function-alist} |
| 1506 | have the form (@var{method} @var{pair1} @var{pair2} ...). | 1511 | have the form (@var{method} @var{pair1} @var{pair2} @dots{}). |
| 1507 | 1512 | ||
| 1508 | Each @var{pair} is composed of (@var{function} @var{file}). | 1513 | Each @var{pair} is composed of (@var{function} @var{file}). |
| 1509 | @var{function} is responsible to extract user names and host names | 1514 | @var{function} is responsible to extract user names and host names |
| @@ -2057,6 +2062,32 @@ fi | |||
| 2057 | @end ifset | 2062 | @end ifset |
| 2058 | @end ifinfo | 2063 | @end ifinfo |
| 2059 | 2064 | ||
| 2065 | @item @command{busybox} / @command{nc} | ||
| 2066 | @cindex Unix command nc | ||
| 2067 | @cindex nc Unix command | ||
| 2068 | |||
| 2069 | The @command{nc} command will be used with the @option{nc} method. On | ||
| 2070 | the remote host, a listener will be installed. Unfortunately, the | ||
| 2071 | command line syntax for this has been changed with the different | ||
| 2072 | @command{busybox} versions. @value{tramp} uses the following syntax | ||
| 2073 | (see @code{tramp-methods}): | ||
| 2074 | |||
| 2075 | @example | ||
| 2076 | # nc -l -p 42 | ||
| 2077 | @end example | ||
| 2078 | |||
| 2079 | If your remote @command{nc} refuses to accept the @command{-p} | ||
| 2080 | parameter, you could overwrite the syntax with the following form: | ||
| 2081 | |||
| 2082 | @lisp | ||
| 2083 | (add-to-list | ||
| 2084 | 'tramp-connection-properties | ||
| 2085 | `(,(regexp-quote "192.168.0.1") "remote-copy-args" (("-l") ("%r")))) | ||
| 2086 | @end lisp | ||
| 2087 | |||
| 2088 | @noindent | ||
| 2089 | with @samp{192.168.0.1} being the IP address of your remote host | ||
| 2090 | (@pxref{Predefined connection information}). | ||
| 2060 | @end table | 2091 | @end table |
| 2061 | 2092 | ||
| 2062 | 2093 | ||
| @@ -3774,7 +3805,7 @@ a non-@code{nil} value. | |||
| 3774 | 3805 | ||
| 3775 | @lisp | 3806 | @lisp |
| 3776 | (let ((non-essential t)) | 3807 | (let ((non-essential t)) |
| 3777 | ...) | 3808 | @dots{}) |
| 3778 | @end lisp | 3809 | @end lisp |
| 3779 | 3810 | ||
| 3780 | 3811 | ||
| @@ -3793,7 +3824,7 @@ should let-bind the variable @code{process-file-side-effects} to | |||
| 3793 | 3824 | ||
| 3794 | @lisp | 3825 | @lisp |
| 3795 | (let (process-file-side-effects) | 3826 | (let (process-file-side-effects) |
| 3796 | ...) | 3827 | @dots{}) |
| 3797 | @end lisp | 3828 | @end lisp |
| 3798 | 3829 | ||
| 3799 | For asynchronous processes, @value{tramp} flushes the file attributes | 3830 | For asynchronous processes, @value{tramp} flushes the file attributes |
| @@ -3934,7 +3965,7 @@ file: | |||
| 3934 | 3965 | ||
| 3935 | The autoload of the @value{emacsname} @value{tramp} package must be | 3966 | The autoload of the @value{emacsname} @value{tramp} package must be |
| 3936 | disabled. This can be achieved by setting file permissions @code{000} | 3967 | disabled. This can be achieved by setting file permissions @code{000} |
| 3937 | to the files @file{.../xemacs-packages/lisp/tramp/auto-autoloads.el*}. | 3968 | to the files @file{@dots{}/xemacs-packages/lisp/tramp/auto-autoloads.el*}. |
| 3938 | 3969 | ||
| 3939 | In case of unified file names, all @value{emacsname} download sites are | 3970 | In case of unified file names, all @value{emacsname} download sites are |
| 3940 | added to @code{tramp-default-method-alist} with default method | 3971 | added to @code{tramp-default-method-alist} with default method |
diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi index 3b66239f284..cfcb6640183 100644 --- a/doc/misc/trampver.texi +++ b/doc/misc/trampver.texi | |||
| @@ -5,10 +5,10 @@ | |||
| 5 | @c Copyright (C) 2003-2014 Free Software Foundation, Inc. | 5 | @c Copyright (C) 2003-2014 Free Software Foundation, Inc. |
| 6 | @c See file doclicense.texi for copying conditions. | 6 | @c See file doclicense.texi for copying conditions. |
| 7 | 7 | ||
| 8 | @c In the Tramp CVS, the version number is auto-frobbed from | 8 | @c In the Tramp GIT, the version number is auto-frobbed from |
| 9 | @c configure.ac, so you should edit that file and run | 9 | @c configure.ac, so you should edit that file and run |
| 10 | @c "autoconf && ./configure" to change the version number. | 10 | @c "autoconf && ./configure" to change the version number. |
| 11 | @set trampver 2.2.9-24.4 | 11 | @set trampver 2.2.11-pre |
| 12 | 12 | ||
| 13 | @c Other flags from configuration | 13 | @c Other flags from configuration |
| 14 | @set instprefix /usr/local | 14 | @set instprefix /usr/local |