summaryrefslogtreecommitdiff
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2014-08-07 11:15:44 +0200
committerMichael Albinus <michael.albinus@gmx.de>2014-08-07 11:15:44 +0200
commitddc4ed129b9758985cc25d4d104e750de558df56 (patch)
treee3f532a46355f0ca6945c9eac4279e8cc1f98d03 /doc/misc
parentfaafcff80c1a578584cc1de7d1300bbd760d8d2e (diff)
downloademacs-ddc4ed129b9758985cc25d4d104e750de558df56.tar.gz
* tramp.texi (Remote shell setup): Explain, how to change command
line arguments of remote "nc" listener.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/tramp.texi26
2 files changed, 31 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 934b35c8840..8f50396b2b8 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -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
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 06b302b6d4d..a245de82390 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -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