aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2013-06-19 15:21:15 +0200
committerMichael Albinus2013-06-19 15:21:15 +0200
commitd6491e24dd79ed3055c7f39574258c2a8cddb62a (patch)
treebff32383a05820f87e9ba856a1218d686a571d20
parent15b263dcf84734d5f0187944a4bf437f997ded02 (diff)
downloademacs-d6491e24dd79ed3055c7f39574258c2a8cddb62a.tar.gz
emacs-d6491e24dd79ed3055c7f39574258c2a8cddb62a.zip
* tramp.texi (Top, Configuration): Insert section `Predefined
connection information' in menu. (Predefined connection information): New section. (Android shell setup): Make a reference to `Predefined connection information'.
-rw-r--r--doc/misc/ChangeLog8
-rw-r--r--doc/misc/tramp.texi38
2 files changed, 44 insertions, 2 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 0f45b7ccfd7..e5ecbd467c6 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,11 @@
12013-06-19 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Top, Configuration): Insert section `Predefined
4 connection information' in menu.
5 (Predefined connection information): New section.
6 (Android shell setup): Make a reference to `Predefined connection
7 information'.
8
12013-06-19 Glenn Morris <rgm@gnu.org> 92013-06-19 Glenn Morris <rgm@gnu.org>
2 10
3 * Makefile.in (version): New, set by configure. 11 * Makefile.in (version): New, set by configure.
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 4c3740f02f7..1121a450ebd 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -214,6 +214,8 @@ Configuring @value{tramp} for use
214* Customizing Completion:: Selecting config files for user/host name completion. 214* Customizing Completion:: Selecting config files for user/host name completion.
215* Password handling:: Reusing passwords for several connections. 215* Password handling:: Reusing passwords for several connections.
216* Connection caching:: Reusing connection related information. 216* Connection caching:: Reusing connection related information.
217* Predefined connection information::
218 Setting own connection related information.
217* Remote Programs:: How @value{tramp} finds and uses programs on the remote machine. 219* Remote Programs:: How @value{tramp} finds and uses programs on the remote machine.
218* Remote shell setup:: Remote shell setup hints. 220* Remote shell setup:: Remote shell setup hints.
219* Android shell setup:: Android shell setup hints. 221* Android shell setup:: Android shell setup hints.
@@ -542,6 +544,8 @@ Method}.
542* Customizing Completion:: Selecting config files for user/host name completion. 544* Customizing Completion:: Selecting config files for user/host name completion.
543* Password handling:: Reusing passwords for several connections. 545* Password handling:: Reusing passwords for several connections.
544* Connection caching:: Reusing connection related information. 546* Connection caching:: Reusing connection related information.
547* Predefined connection information::
548 Setting own connection related information.
545* Remote Programs:: How @value{tramp} finds and uses programs on the remote machine. 549* Remote Programs:: How @value{tramp} finds and uses programs on the remote machine.
546* Remote shell setup:: Remote shell setup hints. 550* Remote shell setup:: Remote shell setup hints.
547* Android shell setup:: Android shell setup hints. 551* Android shell setup:: Android shell setup hints.
@@ -1727,6 +1731,35 @@ connection related information for this host, and opens the
1727connection again. 1731connection again.
1728 1732
1729 1733
1734@node Predefined connection information
1735@section Setting own connection related information
1736
1737Sometimes, @var{tramp} is not able to detect correct connection
1738related information. In such cases, you could tell @var{tramp} which
1739value it has to take. Since this could result in errors, it has to be
1740used with care.
1741
1742@vindex tramp-connection-properties
1743Such settings can be performed via the list
1744@code{tramp-connection-properties}. An entry in this list has the
1745form @code{(@var{regexp} @var{property} @var{value})}. @var{regexp}
1746matches remote file names for which a property shall be predefined.
1747It can be @code{nil}. @var{property} is a string, and @var{value} the
1748corresponding value. @var{property} could be any property found in
1749the file @code{tramp-persistency-file-name}.
1750
1751A special property is @code{"busybox"}. This must be set, if the
1752remote host runs a very restricted busybox as shell, which closes the
1753connection at will. Since there is no reliable test for this,
1754@var{tramp} must be indicated this way. Example:
1755
1756@lisp
1757(add-to-list 'tramp-connection-properties
1758 (list (regexp-quote "@trampfn{ssh, user, randomhost.your.domain,}")
1759 "busybox" t))
1760@end lisp
1761
1762
1730@node Remote Programs 1763@node Remote Programs
1731@section How @value{tramp} finds and uses programs on the remote machine 1764@section How @value{tramp} finds and uses programs on the remote machine
1732 1765
@@ -1874,7 +1907,7 @@ key.
1874 1907
1875@var{tramp-password-prompt-regexp} handles the detection of such 1908@var{tramp-password-prompt-regexp} handles the detection of such
1876requests for English environments. When you use another localization 1909requests for English environments. When you use another localization
1877of your (local or remote) host, you might need to adapt this. Example: 1910of your (local or remote) host, you might need to adapt this. Example:
1878 1911
1879@lisp 1912@lisp
1880(setq 1913(setq
@@ -2048,7 +2081,8 @@ You can instruct @value{tramp} by this form:
2048@end lisp 2081@end lisp
2049 2082
2050@noindent 2083@noindent
2051with @samp{192.168.0.26} being the IP address of your Android device. 2084with @samp{192.168.0.26} being the IP address of your Android device
2085(@pxref{Predefined connection information}).
2052 2086
2053The user settings for the @code{$PATH} environment variable must be 2087The user settings for the @code{$PATH} environment variable must be
2054preserved. It has also been reported, that the commands in 2088preserved. It has also been reported, that the commands in