aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2007-10-21 14:11:18 +0000
committerMichael Albinus2007-10-21 14:11:18 +0000
commitdd753688122625b82ede34e657cb6ceb904f372e (patch)
tree1048e09eae372f616c43e37200862e4aaf43f6fd
parent9c13938d8e013e72c797489eaf91bc986bb5046f (diff)
downloademacs-dd753688122625b82ede34e657cb6ceb904f372e.tar.gz
emacs-dd753688122625b82ede34e657cb6ceb904f372e.zip
* tramp.texi (Cleanup remote connections): New section.
(Password caching): Remove `tramp-clear-passwd'. It's not a command anymore. (Bug Reports): Add `tramp-bug' to function index. (Function Index, Variable Index): New nodes. (Remote shell setup): Describe `tramp-password-prompt-regexp'. * trampver.texi: Update release number.
-rw-r--r--doc/misc/ChangeLog11
-rw-r--r--doc/misc/tramp.texi84
-rw-r--r--doc/misc/trampver.texi2
3 files changed, 88 insertions, 9 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 703d59f92a6..03a3730eefb 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,14 @@
12007-10-21 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Cleanup remote connections): New section.
4 (Password caching): Remove `tramp-clear-passwd'. It's not a command
5 anymore.
6 (Bug Reports): Add `tramp-bug' to function index.
7 (Function Index, Variable Index): New nodes.
8 (Remote shell setup): Describe `tramp-password-prompt-regexp'.
9
10 * trampver.texi: Update release number.
11
12007-10-20 Jay Belanger <jay.p.belanger@gmail.com> 122007-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2 13
3 * calc.texi (History and Acknowledgements): Turn comment 14 * calc.texi (History and Acknowledgements): Turn comment
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index e5cd5e1a33b..7a3cc923e95 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -164,6 +164,8 @@ For the end user:
164* Usage:: An overview of the operation of @value{tramp}. 164* Usage:: An overview of the operation of @value{tramp}.
165* Bug Reports:: Reporting Bugs and Problems. 165* Bug Reports:: Reporting Bugs and Problems.
166* Frequently Asked Questions:: Questions and answers from the mailing list. 166* Frequently Asked Questions:: Questions and answers from the mailing list.
167* Function Index:: @value{tramp} functions.
168* Variable Index:: User options and variables.
167* Concept Index:: An item for each concept. 169* Concept Index:: An item for each concept.
168 170
169For the developer: 171For the developer:
@@ -214,6 +216,7 @@ Using @value{tramp}
214* Alternative Syntax:: URL-like filename syntax. 216* Alternative Syntax:: URL-like filename syntax.
215* Filename completion:: Filename completion. 217* Filename completion:: Filename completion.
216* Remote processes:: Integration with other @value{emacsname} packages. 218* Remote processes:: Integration with other @value{emacsname} packages.
219* Cleanup remote connections:: Cleanup remote connections.
217 220
218The inner workings of remote version control 221The inner workings of remote version control
219 222
@@ -1548,12 +1551,6 @@ variable @code{password-cache-expiry}. The value is the number of
1548seconds how long passwords are cached. Setting it to @code{nil} 1551seconds how long passwords are cached. Setting it to @code{nil}
1549disables the expiration. 1552disables the expiration.
1550 1553
1551@findex tramp-clear-passwd
1552A password is removed from the cache if a connection isn't established
1553successfully. You can remove a password from the cache also by
1554executing @kbd{M-x tramp-clear-passwd} in a buffer containing a
1555related remote file or directory.
1556
1557@vindex password-cache 1554@vindex password-cache
1558If you don't like this feature for security reasons, password caching 1555If you don't like this feature for security reasons, password caching
1559can be disabled totally by customizing the variable 1556can be disabled totally by customizing the variable
@@ -1654,7 +1651,6 @@ you must exit @value{emacsname}, remove your persistency file
1654 1651
1655 1652
1656@node Remote shell setup 1653@node Remote shell setup
1657@comment node-name, next, previous, up
1658@section Remote shell setup hints 1654@section Remote shell setup hints
1659@cindex remote shell setup 1655@cindex remote shell setup
1660@cindex @file{.profile} file 1656@cindex @file{.profile} file
@@ -1719,6 +1715,39 @@ different user. The default value of
1719@code{shell-prompt-pattern}, which is reported to work well in many 1715@code{shell-prompt-pattern}, which is reported to work well in many
1720circumstances. 1716circumstances.
1721 1717
1718@item @var{tramp-password-prompt-regexp}
1719@vindex tramp-password-prompt-regexp
1720@vindex tramp-wrong-passwd-regexp
1721
1722During login, @value{tramp} might be forced to enter a password or a
1723passphrase. The difference between both is that a password is
1724requested from the shell on the remote host, while a passphrase is
1725needed for accessing local authentication information, like your ssh
1726key.
1727
1728@var{tramp-password-prompt-regexp} handles the detection of such
1729requests for English environments. When you use another localization
1730of your (local or remote) host, you might need to adapt this. Example:
1731
1732@lisp
1733(setq
1734 tramp-password-prompt-regexp
1735 (concat
1736 "^.*"
1737 (regexp-opt
1738 '("passphrase" "Passphrase"
1739 ;; English
1740 "password" "Password"
1741 ;; Deutsch
1742 "passwort" "Passwort"
1743 ;; Fran@,{c}ais
1744 "mot de passe" "Mot de passe") t)
1745 ".*:
1746@end lisp
1747
1748In parallel, it might also be necessary to adapt
1749@var{tramp-wrong-passwd-regexp}.
1750
1722@item @command{tset} and other questions 1751@item @command{tset} and other questions
1723@cindex Unix command tset 1752@cindex Unix command tset
1724@cindex tset Unix command 1753@cindex tset Unix command
@@ -2030,6 +2059,7 @@ minute you have already forgotten that you hit that key!
2030* Alternative Syntax:: URL-like filename syntax. 2059* Alternative Syntax:: URL-like filename syntax.
2031* Filename completion:: Filename completion. 2060* Filename completion:: Filename completion.
2032* Remote processes:: Integration with other @value{emacsname} packages. 2061* Remote processes:: Integration with other @value{emacsname} packages.
2062* Cleanup remote connections:: Cleanup remote connections.
2033@end menu 2063@end menu
2034 2064
2035 2065
@@ -2356,6 +2386,35 @@ means file names as arguments must be given as ordinary relative or
2356absolute file names, without any remote specification. 2386absolute file names, without any remote specification.
2357 2387
2358 2388
2389@node Cleanup remote connections
2390@section Cleanup remote connections.
2391@cindex cleanup
2392
2393Sometimes it is useful to cleanup remote connections. The following
2394commands support this.
2395
2396@deffn Command tramp-cleanup-connection vec
2397This command flushes all connection related objects. @option{vec} is
2398the internal representation of a remote connection. Called
2399interactively, the command offers all active remote connections in the
2400minibuffer as remote file name prefix like @file{@trampfn{method,
2401user, host, }}. The cleanup includes password cache (@pxref{Password
2402caching}), file cache, connection cache (@pxref{Connection caching}),
2403connection buffers.
2404@end deffn
2405
2406@deffn Command tramp-cleanup-all-connections
2407This command flushes objects for all active remote connections. The
2408same objects are removed as in @code{tramp-cleanup-connection}.
2409@end deffn
2410
2411@deffn Command tramp-cleanup-all-buffers
2412Like in @code{tramp-cleanup-all-connections}, all remote connections
2413are cleaned up. Additionally all buffers, which are related to a
2414remote connection, are killed.
2415@end deffn
2416
2417
2359@node Bug Reports 2418@node Bug Reports
2360@chapter Reporting Bugs and Problems 2419@chapter Reporting Bugs and Problems
2361@cindex bug reports 2420@cindex bug reports
@@ -2379,6 +2438,7 @@ Subscribing to the list is performed via
2379@uref{http://lists.gnu.org/mailman/listinfo/tramp-devel/, 2438@uref{http://lists.gnu.org/mailman/listinfo/tramp-devel/,
2380the @value{tramp} Mail Subscription Page}. 2439the @value{tramp} Mail Subscription Page}.
2381 2440
2441@findex tramp-bug
2382To report a bug in @value{tramp}, you should execute @kbd{M-x 2442To report a bug in @value{tramp}, you should execute @kbd{M-x
2383tramp-bug}. This will automatically generate a buffer with the details 2443tramp-bug}. This will automatically generate a buffer with the details
2384of your system and @value{tramp} version. 2444of your system and @value{tramp} version.
@@ -3304,10 +3364,18 @@ for @value{emacsothername}.
3304@appendix GNU Free Documentation License 3364@appendix GNU Free Documentation License
3305@include doclicense.texi 3365@include doclicense.texi
3306 3366
3367@node Function Index
3368@unnumbered Function Index
3369@printindex fn
3370
3371@node Variable Index
3372@unnumbered Variable Index
3373@printindex vr
3374
3307@node Concept Index 3375@node Concept Index
3308@comment node-name, next, previous, up
3309@unnumbered Concept Index 3376@unnumbered Concept Index
3310@printindex cp 3377@printindex cp
3378
3311@contents 3379@contents
3312@c End of tramp.texi - the TRAMP User Manual 3380@c End of tramp.texi - the TRAMP User Manual
3313@bye 3381@bye
diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi
index 179af979c06..44babab9f5e 100644
--- a/doc/misc/trampver.texi
+++ b/doc/misc/trampver.texi
@@ -4,7 +4,7 @@
4@c In the Tramp CVS, the version number is auto-frobbed from 4@c In the Tramp CVS, the version number is auto-frobbed from
5@c configure.ac, so you should edit that file and run 5@c configure.ac, so you should edit that file and run
6@c "autoconf && ./configure" to change the version number. 6@c "autoconf && ./configure" to change the version number.
7@set trampver 2.1.11 7@set trampver 2.1.12-pre
8 8
9@c Other flags from configuration 9@c Other flags from configuration
10@set instprefix /usr/local 10@set instprefix /usr/local