aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2014-08-07 11:15:44 +0200
committerMichael Albinus2014-08-07 11:15:44 +0200
commitddc4ed129b9758985cc25d4d104e750de558df56 (patch)
treee3f532a46355f0ca6945c9eac4279e8cc1f98d03
parentfaafcff80c1a578584cc1de7d1300bbd760d8d2e (diff)
downloademacs-ddc4ed129b9758985cc25d4d104e750de558df56.tar.gz
emacs-ddc4ed129b9758985cc25d4d104e750de558df56.zip
* tramp.texi (Remote shell setup): Explain, how to change command
line arguments of remote "nc" listener.
-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 @@
12014-08-07 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Remote shell setup): Explain, how to change command
4 line arguments of remote "nc" listener.
5
12014-07-31 Tassilo Horn <tsdh@gnu.org> 62014-07-31 Tassilo Horn <tsdh@gnu.org>
2 7
3 * gnus.texi (Group Parameters): Document that `gcc-self' may also be a 8 * 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
2062@end ifset 2062@end ifset
2063@end ifinfo 2063@end ifinfo
2064 2064
2065@item @command{busybox} / @command{nc}
2066@cindex Unix command nc
2067@cindex nc Unix command
2068
2069The @command{nc} command will be used with the @option{nc} method. On
2070the remote host, a listener will be installed. Unfortunately, the
2071command 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
2079If your remote @command{nc} refuses to accept the @command{-p}
2080parameter, 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
2089with @samp{192.168.0.1} being the IP address of your remote host
2090(@pxref{Predefined connection information}).
2065@end table 2091@end table
2066 2092
2067 2093