]> git.eshelyaron.com Git - emacs.git/commitdiff
* tramp.texi (Remote shell setup): Explain, how to change command
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 7 Aug 2014 09:15:44 +0000 (11:15 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 7 Aug 2014 09:15:44 +0000 (11:15 +0200)
line arguments of remote "nc" listener.

doc/misc/ChangeLog
doc/misc/tramp.texi

index 934b35c8840c0088ef85eed1253fea8cd318401b..8f50396b2b8f0dddd72e55bffb373c4cdfba2729 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
+
+       * tramp.texi (Remote shell setup): Explain, how to change command
+       line arguments of remote "nc" listener.
+
 2014-07-31  Tassilo Horn  <tsdh@gnu.org>
 
        * gnus.texi (Group Parameters): Document that `gcc-self' may also be a
index 06b302b6d4dc6a0b9eec9a2d98fdf18e51f79768..a245de823906a257c5e746ce6056735142af1f6e 100644 (file)
@@ -2062,6 +2062,32 @@ fi
 @end ifset
 @end ifinfo
 
+@item @command{busybox} / @command{nc}
+@cindex Unix command nc
+@cindex 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
+@command{busybox} versions.  @value{tramp} uses the following syntax
+(see @code{tramp-methods}):
+
+@example
+# nc -l -p 42
+@end example
+
+If your remote @command{nc} refuses to accept the @command{-p}
+parameter, you could overwrite the syntax with the following form:
+
+@lisp
+(add-to-list
+ 'tramp-connection-properties
+ `(,(regexp-quote "192.168.0.1") "remote-copy-args" (("-l") ("%r"))))
+@end lisp
+
+@noindent
+with @samp{192.168.0.1} being the IP address of your remote host
+(@pxref{Predefined connection information}).
 @end table