emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117686: Backport Tramp changes from trunk.


From: Michael Albinus
Subject: [Emacs-diffs] emacs-24 r117686: Backport Tramp changes from trunk.
Date: Sat, 08 Nov 2014 09:07:29 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117686
revision-id: address@hidden
parent: address@hidden
committer: Michael Albinus <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-11-08 10:07:24 +0100
message:
  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.
modified:
  doc/misc/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-6331
  doc/misc/tramp.texi            tramp.texi-20091113204419-o5vbwnq5f7feedwu-6324
  doc/misc/trampver.texi         
trampver.texi-20091113204419-o5vbwnq5f7feedwu-6325
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2014-11-07 08:54:50 +0000
+++ b/doc/misc/ChangeLog        2014-11-08 09:07:24 +0000
@@ -1,3 +1,18 @@
+2014-11-08  Michael Albinus  <address@hidden>
+
+       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.
+
 2014-11-07  Tassilo Horn  <address@hidden>
 
        * eww.texi (Advanced): Document increasing contrast with

=== modified file 'doc/misc/tramp.texi'
--- a/doc/misc/tramp.texi       2014-05-07 17:34:53 +0000
+++ b/doc/misc/tramp.texi       2014-11-08 09:07:24 +0000
@@ -605,11 +605,10 @@
 @cindex methods, inline
 
 The inline methods in @value{tramp} are quite powerful and can work in
-situations where you cannot use an external transfer program to connect.
-Inline methods are the only methods that work when connecting to the
-remote host via telnet.  (There are also strange inline methods which
-allow you to transfer files between @emph{user identities} rather than
-hosts, see below.)
+situations where you cannot use an external transfer program to
+connect.  There are also strange inline methods which allow you to
+transfer files between @emph{user identities} rather than hosts, see
+below.
 
 These methods depend on the existence of a suitable encoding and
 decoding command on remote host.  Locally, @value{tramp} may be able to
@@ -748,7 +747,10 @@
 implementation of address@hidden  It uses @samp{plink -ssh} to log in to the
 remote host.
 
-This supports the @samp{-P} argument.
+With a recent PuTTY, it is recommended to check the @samp{Share SSH
+connections if possible} control for that session.
+
+This method supports the @samp{-P} argument.
 
 
 @item @option{plinkx}
@@ -757,9 +759,10 @@
 
 Another method using PuTTY on Windows.  Instead of host names, it
 expects PuTTY session names, calling @samp{plink -load @var{session}
--t"}.  User names are relevant only in case the corresponding session
-hasn't defined a user name.  Different port numbers must be defined in
-the session.
+-t}.  User names and port numbers must be defined in the session.
+
+With a recent PuTTY, it is recommended to check the @samp{Share SSH
+connections if possible} control for that session.
 
 @end table
 
@@ -820,22 +823,6 @@
 specify @samp{-P 42} in the argument list for @command{scp}.
 
 
address@hidden @address@hidden and @command{sftp}
address@hidden method sftp
address@hidden sftp method
address@hidden sftp (with sftp method)
address@hidden ssh (with sftp method)
-
-That is mostly the same method as @option{scp}, but using
address@hidden as transfer command.  So the same remarks are valid.
-
-This command does not work like @value{ftppackagename}, where
address@hidden is called interactively, and all commands are send from
-within this session.  Instead of, @command{ssh} is used for login.
-
-This method supports the @samp{-p} argument.
-
-
 @item @address@hidden and @command{rsync}
 @cindex method rsync
 @cindex rsync method
@@ -881,33 +868,27 @@
 
 
 @item @address@hidden and @command{pscp}
address@hidden @address@hidden and @command{psftp}
 @cindex method pscp
 @cindex pscp method
 @cindex pscp (with pscp method)
 @cindex plink (with pscp method)
 @cindex PuTTY (with pscp method)
-
-This method is similar to @option{scp}, but it uses the
address@hidden command to connect to the remote host, and it uses
address@hidden for transferring the files.  These programs are part
-of PuTTY, an SSH implementation for Windows.
-
-This method supports the @samp{-P} argument.
-
-
address@hidden @address@hidden and @command{psftp}
 @cindex method psftp
 @cindex psftp method
address@hidden psftp (with psftp method)
address@hidden pscp (with psftp method)
 @cindex plink (with psftp method)
 @cindex PuTTY (with psftp method)
 
-As you would expect, this method is similar to @option{sftp}, but it
-uses the @command{plink} command to connect to the remote host, and it
-uses @command{psftp} for transferring the files.  These programs are
-part of PuTTY, an SSH implementation for Windows.
-
-This method supports the @samp{-P} argument.
+These methods are similar to @option{scp} or @option{sftp}, but they
+use the @command{plink} command to connect to the remote host, and
+they use @command{pscp} or @command{psftp} for transferring the files.
+These programs are part of PuTTY, an SSH implementation for Windows.
+
+With a recent PuTTY, it is recommended to configure the @samp{Share
+SSH connections if possible} control for that session.
+
+These methods support the @samp{-P} argument.
 
 
 @item @address@hidden and @command{fcp}
@@ -938,6 +919,19 @@
 anyway.
 
 
address@hidden @address@hidden and @command{nc}
address@hidden method nc
address@hidden nc method
address@hidden nc (with nc method)
address@hidden telnet (with nc method)
+
+Using @command{telnet} to connect to the remote host and @command{nc}
+for file transfer is often the only possibility to access dumb
+devices, like routers or NAS hosts.  Those hosts have just a
+restricted @command{busybox} as local shell, and there is no program
+to encode and decode files for transfer.
+
+
 @item @option{ftp}
 @cindex method ftp
 @cindex ftp method
@@ -1066,6 +1060,17 @@
 phones.  For the time being, @value{tramp} only supports OBEX over Bluetooth.
 
 
address@hidden @option{sftp}
address@hidden method sftp
address@hidden sftp method
+
+As you might expect, this method uses @command{sftp} in order to
+access the remote host.  Contrary to the @option{ssh} and @option{scp}
+methods, it doesn't open an @command{ssh} session for login.
+Therefore, it could be used to access to remote hosts which refuse
address@hidden for security reasons.
+
+
 @item @option{synce}
 @cindex method synce
 @cindex synce method
@@ -1077,10 +1082,10 @@
 @end table
 
 @defopt tramp-gvfs-methods
-This customer option, a list, defines the external methods which
-shall be used with address@hidden  Per default, these are @option{dav},
address@hidden, @option{obex} and @option{synce}.  Other possible
-values are @option{ftp}, @option{sftp} and @option{smb}.
+This customer option, a list, defines the external methods which shall
+be used with address@hidden  Per default, these are @option{dav},
address@hidden, @option{obex}, @option{sftp} and @option{synce}.  Other
+possible values are @option{ftp} and @option{smb}.
 @end defopt
 @end ifset
 
@@ -1503,7 +1508,7 @@
 completion (@pxref{File name completion}).  For every method, it keeps
 a set of configuration files, accompanied by a Lisp function able to
 parse that file.  Entries in @code{tramp-completion-function-alist}
-have the form (@var{method} @var{pair1} @var{pair2} ...).
+have the form (@var{method} @var{pair1} @var{pair2} @dots{}).
 
 Each @var{pair} is composed of (@var{function} @var{file}).
 @var{function} is responsible to extract user names and host names
@@ -2057,6 +2062,32 @@
 @end ifset
 @end ifinfo
 
address@hidden @command{busybox} / @command{nc}
address@hidden Unix command nc
address@hidden nc Unix command
+
+The @command{nc} command will be used with the @option{nc} method.  On
+the remote host, a listener will be installed.  Unfortunately, the
+command line syntax for this has been changed with the different
address@hidden versions.  @value{tramp} uses the following syntax
+(see @code{tramp-methods}):
+
address@hidden
+# nc -l -p 42
address@hidden example
+
+If your remote @command{nc} refuses to accept the @command{-p}
+parameter, you could overwrite the syntax with the following form:
+
address@hidden
+(add-to-list
+ 'tramp-connection-properties
+ `(,(regexp-quote "192.168.0.1") "remote-copy-args" (("-l") ("%r"))))
address@hidden lisp
+
address@hidden
+with @samp{192.168.0.1} being the IP address of your remote host
+(@pxref{Predefined connection information}).
 @end table
 
 
@@ -3774,7 +3805,7 @@
 
 @lisp
 (let ((non-essential t))
-  ...)
+  @dots{})
 @end lisp
 
 
@@ -3793,7 +3824,7 @@
 
 @lisp
 (let (process-file-side-effects)
-  ...)
+  @dots{})
 @end lisp
 
 For asynchronous processes, @value{tramp} flushes the file attributes
@@ -3934,7 +3965,7 @@
 
 The autoload of the @value{emacsname} @value{tramp} package must be
 disabled.  This can be achieved by setting file permissions @code{000}
-to the files @file{.../xemacs-packages/lisp/tramp/auto-autoloads.el*}.
+to the files @address@hidden/xemacs-packages/lisp/tramp/auto-autoloads.el*}.
 
 In case of unified file names, all @value{emacsname} download sites are
 added to @code{tramp-default-method-alist} with default method

=== modified file 'doc/misc/trampver.texi'
--- a/doc/misc/trampver.texi    2014-02-19 19:31:02 +0000
+++ b/doc/misc/trampver.texi    2014-11-08 09:07:24 +0000
@@ -5,10 +5,10 @@
 @c Copyright (C) 2003-2014 Free Software Foundation, Inc.
 @c See file doclicense.texi for copying conditions.
 
address@hidden In the Tramp CVS, the version number is auto-frobbed from
address@hidden In the Tramp GIT, the version number is auto-frobbed from
 @c configure.ac, so you should edit that file and run
 @c "autoconf && ./configure" to change the version number.
address@hidden trampver 2.2.9-24.4
address@hidden trampver 2.2.11-pre
 
 @c Other flags from configuration
 @set instprefix /usr/local


reply via email to

[Prev in Thread] Current Thread [Next in Thread]