[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117660: * tramp.texi (Remote shell setup): Explain,
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] trunk r117660: * tramp.texi (Remote shell setup): Explain, how to change command |
Date: |
Thu, 07 Aug 2014 09:15:53 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117660
revision-id: address@hidden
parent: address@hidden
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Thu 2014-08-07 11:15:44 +0200
message:
* tramp.texi (Remote shell setup): Explain, how to change command
line arguments of remote "nc" listener.
modified:
doc/misc/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6331
doc/misc/tramp.texi tramp.texi-20091113204419-o5vbwnq5f7feedwu-6324
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog 2014-08-01 00:10:16 +0000
+++ b/doc/misc/ChangeLog 2014-08-07 09:15:44 +0000
@@ -1,3 +1,8 @@
+2014-08-07 Michael Albinus <address@hidden>
+
+ * tramp.texi (Remote shell setup): Explain, how to change command
+ line arguments of remote "nc" listener.
+
2014-07-31 Tassilo Horn <address@hidden>
* gnus.texi (Group Parameters): Document that `gcc-self' may also be a
=== modified file 'doc/misc/tramp.texi'
--- a/doc/misc/tramp.texi 2014-06-15 15:09:22 +0000
+++ b/doc/misc/tramp.texi 2014-08-07 09:15:44 +0000
@@ -2062,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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117660: * tramp.texi (Remote shell setup): Explain, how to change command,
Michael Albinus <=