mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
* tramp.texi (Remote shell setup): Explain, how to change command
line arguments of remote "nc" listener.
This commit is contained in:
parent
faafcff80c
commit
ddc4ed129b
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user