aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Großjohann2003-11-30 18:15:58 +0000
committerKai Großjohann2003-11-30 18:15:58 +0000
commita716bfbc113293a77b1787b52fc1a9bc6bc3cbe5 (patch)
treeee082f896bf2c4d17ae8fc07940a4260681dca06
parentc951aecb3091175d0e36ac8f62f8b5dfd073c382 (diff)
downloademacs-a716bfbc113293a77b1787b52fc1a9bc6bc3cbe5.tar.gz
emacs-a716bfbc113293a77b1787b52fc1a9bc6bc3cbe5.zip
2003-11-30 Kai Grossjohann <kai.grossjohann@gmx.net>
Tramp version 2.0.38 released. * tramp.texi (Remote shell setup): Warn of environment variables FRUMPLE if user frumple exists. Suggested by Sven Gabriel <sven.gabriel@imk.fzk.de>. (Configuration): Tramp now chooses base64/uuencode automatically. Update wording accordingly. (Top): More description for the `Default Method' menu entry. (Default Method): Use @code, not @var, for Lisp variables. (Default Method): New subsection `Which method is the right one for me?' Suggested by Christian Kirsch. (Configuration): Pointer to new subsection added. (Default Method): Too many "use" in one sentence. Rephrase. Reported by Christian Kirsch. (Filename Syntax): Old `su' example is probably a left-over from the sm/su method naming. Replace with `ssh', instead. (External transfer methods, Auto-save and Backup): Typo fixes. 2003-11-02 Michael Albinus <Michael.Albinus@alcatel.de> * tramp.texi (all): Harmonize all occurences of @tramp{}. (Top): Mention japanese manual only if flag `jamanual' is set. Insert section `Japanese manual' in menu.
-rw-r--r--man/ChangeLog26
-rw-r--r--man/tramp.texi112
-rw-r--r--man/trampver.texi6
3 files changed, 117 insertions, 27 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 834fd808b4a..b4447807c06 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,29 @@
12003-11-30 Kai Grossjohann <kai.grossjohann@gmx.net>
2 Tramp version 2.0.38 released.
3
4 * tramp.texi (Remote shell setup): Warn of environment variables
5 FRUMPLE if user frumple exists. Suggested by Sven Gabriel
6 <sven.gabriel@imk.fzk.de>.
7 (Configuration): Tramp now chooses base64/uuencode
8 automatically. Update wording accordingly.
9 (Top): More description for the `Default Method' menu entry.
10 (Default Method): Use @code, not @var, for Lisp variables.
11 (Default Method): New subsection `Which method is the right one
12 for me?' Suggested by Christian Kirsch.
13 (Configuration): Pointer to new subsection added.
14 (Default Method): Too many "use" in one sentence.
15 Rephrase. Reported by Christian Kirsch.
16 (Filename Syntax): Old `su' example is probably a left-over from
17 the sm/su method naming. Replace with `ssh', instead.
18 (External transfer methods, Auto-save and Backup):
19 Typo fixes.
20
212003-11-02 Michael Albinus <Michael.Albinus@alcatel.de>
22
23 * tramp.texi (all): Harmonize all occurences of @tramp{}.
24 (Top): Mention japanese manual only if flag `jamanual' is set.
25 Insert section `Japanese manual' in menu.
26
12003-11-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 272003-11-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 28
3 * frames.texi (Dialog Boxes): Added use-file-dialog. 29 * frames.texi (Dialog Boxes): Added use-file-dialog.
diff --git a/man/tramp.texi b/man/tramp.texi
index 9459f19312a..ada4d63fa55 100644
--- a/man/tramp.texi
+++ b/man/tramp.texi
@@ -102,8 +102,10 @@ You can find the latest version of this document on the web at
102@end ifset 102@end ifset
103 103
104@ifhtml 104@ifhtml
105This manual is also available as a @uref{tramp_ja.html, Japanese 105@ifset jamanual
106translation}. 106This manual is also available as a @uref{@value{japanese-manual},
107Japanese translation}.
108@end ifset
107 109
108The latest release of @tramp{} is available for 110The latest release of @tramp{} is available for
109@uref{http://savannah.gnu.org/download/tramp/, 111@uref{http://savannah.gnu.org/download/tramp/,
@@ -137,7 +139,7 @@ For the end user:
137* Usage:: An overview of the operation of @tramp{}. 139* Usage:: An overview of the operation of @tramp{}.
138* Bug Reports:: Reporting Bugs and Problems. 140* Bug Reports:: Reporting Bugs and Problems.
139* Frequently Asked Questions:: Questions and answers from the mailing list. 141* Frequently Asked Questions:: Questions and answers from the mailing list.
140* Concept Index:: An item for each concept 142* Concept Index:: An item for each concept.
141 143
142For the developer: 144For the developer:
143 145
@@ -153,6 +155,7 @@ Installing @tramp{} with your @value{emacs-name}
153 155
154* Installation parameters:: Parameters in order to control installation. 156* Installation parameters:: Parameters in order to control installation.
155* Load paths:: How to plug-in @tramp{} into your environment. 157* Load paths:: How to plug-in @tramp{} into your environment.
158* Japanese manual:: Japanese manual.
156 159
157@end ifset 160@end ifset
158 161
@@ -170,7 +173,7 @@ Configuring @tramp{} for use
170* Windows setup hints:: Issues with Cygwin ssh. 173* Windows setup hints:: Issues with Cygwin ssh.
171* Auto-save and Backup:: Auto-save and Backup. 174* Auto-save and Backup:: Auto-save and Backup.
172 175
173Using @tramp 176Using @tramp{}
174 177
175* Filename Syntax:: @tramp{} filename conventions. 178* Filename Syntax:: @tramp{} filename conventions.
176* Multi-hop filename syntax:: Multi-hop filename conventions. 179* Multi-hop filename syntax:: Multi-hop filename conventions.
@@ -198,7 +201,7 @@ How file names, directories and localnames are mangled and managed
198@end menu 201@end menu
199 202
200@node Overview 203@node Overview
201@chapter An overview of @tramp 204@chapter An overview of @tramp{}
202@cindex overview 205@cindex overview
203 206
204After the installation of @tramp{} into your @value{emacs-name}, you 207After the installation of @tramp{} into your @value{emacs-name}, you
@@ -208,8 +211,8 @@ control, and @command{dired} are transparently enabled.
208 211
209Your access to the remote machine can be with the @command{rsh}, 212Your access to the remote machine can be with the @command{rsh},
210@command{rlogin}, @command{telnet} programs or with any similar 213@command{rlogin}, @command{telnet} programs or with any similar
211connection method. This connection must pass @acronym{ASCII} successfully to be 214connection method. This connection must pass @acronym{ASCII}
212usable but need not be 8-bit clean. 215successfully to be usable but need not be 8-bit clean.
213 216
214The package provides support for @command{ssh} connections out of the 217The package provides support for @command{ssh} connections out of the
215box, one of the more common uses of the package. This allows 218box, one of the more common uses of the package. This allows
@@ -359,7 +362,7 @@ behind the scenes when you open a file with @tramp{}.
359@c For the end user 362@c For the end user
360@node Obtaining @tramp{} 363@node Obtaining @tramp{}
361@chapter Obtaining @tramp{}. 364@chapter Obtaining @tramp{}.
362@cindex obtaining Tramp 365@cindex obtaining @tramp{}
363 366
364@tramp{} is freely available on the Internet and the latest release 367@tramp{} is freely available on the Internet and the latest release
365may be downloaded from 368may be downloaded from
@@ -445,11 +448,12 @@ filenames in July 2002.
445@cindex configuration 448@cindex configuration
446 449
447@cindex default configuration 450@cindex default configuration
448@tramp{} is (normally) fully functional when it is initially 451@tramp{} is (normally) fully functional when it is initially installed.
449installed. It is initially configured to use the @command{ssh} program 452It is initially configured to use the @command{ssh} program to connect
450to connect to the remote host and to use base-64 encoding (on the 453to the remote host and to use base64 or uu encoding to transfer the
451remote host, via @command{mimencode}, and on the local host via the 454files through that shell connection. So in the easiest case, you just
452built-in support for base-64 encoding in Emacs). 455type @kbd{C-x C-f} and then enter the filename
456@file{@value{tramp-prefix}@var{user}@@@var{machine}@value{tramp-postfix}@var{/path/to.file}}.
453 457
454On some hosts, there are problems with opening a connection. These are 458On some hosts, there are problems with opening a connection. These are
455related to the behavior of the remote shell. See @xref{Remote shell 459related to the behavior of the remote shell. See @xref{Remote shell
@@ -457,10 +461,13 @@ setup}, for details on this.
457 461
458If you do not wish to use these commands to connect to the remote 462If you do not wish to use these commands to connect to the remote
459host, you should change the default connection and transfer method 463host, you should change the default connection and transfer method
460that @tramp uses. There are several different methods that @tramp{} 464that @tramp{} uses. There are several different methods that @tramp{}
461can use to connect to remote machines and transfer files 465can use to connect to remote machines and transfer files
462(@pxref{Connection types}). 466(@pxref{Connection types}).
463 467
468If you don't know which method is right for you, see @xref{Default
469Method}.
470
464 471
465@menu 472@menu
466* Connection types:: Types of connections made to remote machines. 473* Connection types:: Types of connections made to remote machines.
@@ -468,6 +475,9 @@ can use to connect to remote machines and transfer files
468* External transfer methods:: External transfer methods. 475* External transfer methods:: External transfer methods.
469* Multi-hop Methods:: Connecting to a remote host using multiple hops. 476* Multi-hop Methods:: Connecting to a remote host using multiple hops.
470* Default Method:: Selecting a default method. 477* Default Method:: Selecting a default method.
478 Here we also try to help those who
479 don't have the foggiest which method
480 is right for them.
471* Customizing Methods:: Using Non-Standard Methods. 481* Customizing Methods:: Using Non-Standard Methods.
472* Customizing Completion:: Selecting config files for user/host name completion. 482* Customizing Completion:: Selecting config files for user/host name completion.
473* Remote Programs:: How @tramp{} finds and uses programs on the remote machine. 483* Remote Programs:: How @tramp{} finds and uses programs on the remote machine.
@@ -486,7 +496,7 @@ advantages and limitations. Both types of connection make use of a
486remote shell access program such as @command{rsh}, @command{ssh} or 496remote shell access program such as @command{rsh}, @command{ssh} or
487@command{telnet} to connect to the remote machine. 497@command{telnet} to connect to the remote machine.
488 498
489This connection is used to perform many of the operations that @tramp 499This connection is used to perform many of the operations that @tramp{}
490requires to make the remote file system transparently accessible from 500requires to make the remote file system transparently accessible from
491the local machine. It is only when visiting files that the methods 501the local machine. It is only when visiting files that the methods
492differ. 502differ.
@@ -760,7 +770,7 @@ call @samp{ssh -1} and @samp{ssh -2}, respectively. This way, you can
760explicitly select whether you want to use the SSH protocol version 1 770explicitly select whether you want to use the SSH protocol version 1
761or 2 to connect to the remote host. (You can also specify in 771or 2 to connect to the remote host. (You can also specify in
762@file{~/.ssh/config}, the SSH configuration file, which protocol 772@file{~/.ssh/config}, the SSH configuration file, which protocol
763should be used, and use the regular @option{ssh} method.) 773should be used, and use the regular @option{scp} method.)
764 774
765Two other variants, @option{scp1_old} and @option{scp2_old}, use the 775Two other variants, @option{scp1_old} and @option{scp2_old}, use the
766@command{ssh1} and @command{ssh2} commands explicitly. If you don't 776@command{ssh1} and @command{ssh2} commands explicitly. If you don't
@@ -1013,7 +1023,7 @@ the standard port.
1013 1023
1014@vindex tramp-default-method 1024@vindex tramp-default-method
1015When you select an appropriate transfer method for your typical usage 1025When you select an appropriate transfer method for your typical usage
1016you should set the variable @var{tramp-default-method} to reflect that 1026you should set the variable @code{tramp-default-method} to reflect that
1017choice. This variable controls which method will be used when a method 1027choice. This variable controls which method will be used when a method
1018is not specified in the @tramp{} file name. For example: 1028is not specified in the @tramp{} file name. For example:
1019 1029
@@ -1023,7 +1033,7 @@ is not specified in the @tramp{} file name. For example:
1023 1033
1024@vindex tramp-default-method-alist 1034@vindex tramp-default-method-alist
1025You can also specify different methods for certain user/host 1035You can also specify different methods for certain user/host
1026combinations, via the variable @var{tramp-default-method-alist}. For 1036combinations, via the variable @code{tramp-default-method-alist}. For
1027example, the following two lines specify to use the @option{ssh} 1037example, the following two lines specify to use the @option{ssh}
1028method for all user names matching @samp{john} and the @option{rsync} 1038method for all user names matching @samp{john} and the @option{rsync}
1029method for all host names matching @samp{lily}. The third line 1039method for all host names matching @samp{lily}. The third line
@@ -1039,7 +1049,7 @@ the machine @samp{localhost}.
1039 1049
1040@noindent 1050@noindent
1041See the documentation for the variable 1051See the documentation for the variable
1042@var{tramp-default-method-alist} for more details. 1052@code{tramp-default-method-alist} for more details.
1043 1053
1044External transfer methods are normally preferable to inline transfer 1054External transfer methods are normally preferable to inline transfer
1045methods, giving better performance. They may not be useful if you use 1055methods, giving better performance. They may not be useful if you use
@@ -1064,6 +1074,48 @@ methods to connect. These provide a much higher level of security,
1064making it a non-trivial exercise for someone to obtain your password or 1074making it a non-trivial exercise for someone to obtain your password or
1065read the content of the files you are editing. 1075read the content of the files you are editing.
1066 1076
1077
1078@subsection Which method is the right one for me?
1079@cindex choosing the right method
1080
1081Given all of the above, you are probably thinking that this is all fine
1082and good, but it's not helping you to choose a method! Right you are.
1083As a developer, we don't want to boss our users around but give them
1084maximum freedom instead. However, the reality is that some users would
1085like to have some guidance, so here I'll try to give you this guidance
1086without bossing you around. You tell me whether it works @dots{}
1087
1088My suggestion is to use an inline method. For large files, out-of-band
1089methods might be more efficient, but I guess that most people will want
1090to edit mostly small files.
1091
1092I guess that these days, most people can access a remote machine by
1093using @code{ssh}. So I suggest that you use the @code{ssh} method.
1094So, type @kbd{C-x C-f /ssh:root@@otherhost:/etc/motd @key{RET}} to
1095edit the @file{/etc/motd} file on the other host.
1096
1097If you can't use @code{ssh} to log in to the remote host, then select a
1098method that uses a program that works. For instance, Windows users
1099might like the @code{plink} method which uses the PuTTY implementation
1100of @code{ssh}. Or you use Kerberos and thus like @code{krlogin}.
1101
1102For the special case of editing files on the local host as another
1103user, see the @code{su} or @code{sudo} method.
1104
1105People who edit large files may want to consider @code{scp} instead of
1106@code{ssh}, or @code{pscp} instead of @code{plink}. These out-of-band
1107methods are faster than inline methods for large files. Note, however,
1108that out-of-band methods suffer from some limitations. Please try
1109first whether you really get a noticeable speed advantage from using an
1110out-of-band method! Maybe even for large files, inline methods are
1111fast enough.
1112
1113The reason why I'm suggesting to use inline methods is that they work
1114even if the remote end is asking you for a password. Out-of-band
1115methods don't work in this situation. Also, multi-hop methods are
1116inherently inline.
1117
1118
1067@node Customizing Methods 1119@node Customizing Methods
1068@section Using Non-Standard Methods 1120@section Using Non-Standard Methods
1069@cindex customizing methods 1121@cindex customizing methods
@@ -1310,6 +1362,16 @@ The other approach is to teach @tramp{} about these questions. See
1310the variables @code{tramp-actions-before-shell} and 1362the variables @code{tramp-actions-before-shell} and
1311@code{tramp-multi-actions} (for multi-hop connections). 1363@code{tramp-multi-actions} (for multi-hop connections).
1312 1364
1365
1366@item Environment variables named like users in @file{.profile}
1367
1368If you have a user named frumple and set the variable @code{FRUMPLE} in
1369your shell environment, then this might cause trouble. Maybe rename
1370the variable to @code{FRUMPLE_DIR} or the like.
1371
1372This weird effect was actually reported by a @tramp{} user!
1373
1374
1313@item Non-Bourne commands in @file{.profile} 1375@item Non-Bourne commands in @file{.profile}
1314 1376
1315After logging in to the remote host, @tramp{} issues the command 1377After logging in to the remote host, @tramp{} issues the command
@@ -1379,7 +1441,7 @@ When @code{backup-directory-alist} is nil (the default), such problems
1379do not occur. 1441do not occur.
1380 1442
1381If you wish to customize the variable, the workaround is to include 1443If you wish to customize the variable, the workaround is to include
1382special settings for Tramp files. For example, the following statement 1444special settings for @tramp{} files. For example, the following statement
1383effectively `turns off' the effect of @code{backup-directory-alist} for 1445effectively `turns off' the effect of @code{backup-directory-alist} for
1384@tramp{} files: 1446@tramp{} files:
1385 1447
@@ -1436,8 +1498,8 @@ know anything at all about Windows@dots{}
1436 1498
1437 1499
1438@node Usage 1500@node Usage
1439@chapter Using @tramp 1501@chapter Using @tramp{}
1440@cindex using @tramp 1502@cindex using @tramp{}
1441 1503
1442Once you have installed @tramp{} it will operate fairly transparently. You 1504Once you have installed @tramp{} it will operate fairly transparently. You
1443will be able to access files on any remote machine that you can log in 1505will be able to access files on any remote machine that you can log in
@@ -1532,9 +1594,9 @@ This is done by replacing the initial
1532The user, machine and file specification remain the same. 1594The user, machine and file specification remain the same.
1533 1595
1534So, to connect to the machine @code{melancholia} as @code{daniel}, 1596So, to connect to the machine @code{melancholia} as @code{daniel},
1535using the @option{su} method to transfer files, and edit @file{.emacs} 1597using the @option{ssh} method to transfer files, and edit @file{.emacs}
1536in my home directory I would specify the filename 1598in my home directory I would specify the filename
1537@file{@value{tramp-prefix}su@value{tramp-postfix-single-hop}daniel@@melancholia@value{tramp-postfix}.emacs}. 1599@file{@value{tramp-prefix}ssh@value{tramp-postfix-single-hop}daniel@@melancholia@value{tramp-postfix}.emacs}.
1538 1600
1539 1601
1540@node Multi-hop filename syntax 1602@node Multi-hop filename syntax
@@ -1618,7 +1680,7 @@ is a possible completion for the respective method,
1618machine, 1680machine,
1619@end ifset 1681@end ifset
1620and @samp{@value{tramp-prefix-single-hop}toto@value{tramp-postfix}} 1682and @samp{@value{tramp-prefix-single-hop}toto@value{tramp-postfix}}
1621might be a host @tramp has detected in your @file{~/.ssh/known_hosts} 1683might be a host @tramp{} has detected in your @file{~/.ssh/known_hosts}
1622file (given you're using default method @option{ssh}). 1684file (given you're using default method @option{ssh}).
1623 1685
1624If you go on to type @kbd{e @key{TAB}}, the minibuffer is completed to 1686If you go on to type @kbd{e @key{TAB}}, the minibuffer is completed to
diff --git a/man/trampver.texi b/man/trampver.texi
index 4f9ba4dd49b..ae80490d703 100644
--- a/man/trampver.texi
+++ b/man/trampver.texi
@@ -5,7 +5,7 @@
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@macro trampver{} 7@macro trampver{}
82.0.36 82.0.38
9@end macro 9@end macro
10 10
11@c Other flags from configuration 11@c Other flags from configuration
@@ -32,6 +32,7 @@
32@set tramp-postfix : 32@set tramp-postfix :
33@set tramp-postfix-single-hop : 33@set tramp-postfix-single-hop :
34@set tramp-postfix-multi-hop : 34@set tramp-postfix-multi-hop :
35@set japanese-manual tramp_ja-emacs.html
35@end ifset 36@end ifset
36 37
37@c XEmacs counterparts. 38@c XEmacs counterparts.
@@ -44,6 +45,7 @@
44@set tramp-postfix ] 45@set tramp-postfix ]
45@set tramp-postfix-single-hop / 46@set tramp-postfix-single-hop /
46@set tramp-postfix-multi-hop : 47@set tramp-postfix-multi-hop :
48@set japanese-manual tramp_ja-xemacs.html
47@end ifset 49@end ifset
48 50
49@c Empty macro definitions in order to satisfy texi2dvi 51@c Empty macro definitions in order to satisfy texi2dvi
@@ -55,7 +57,7 @@
55 57
56@c The installation chapter is needed only in case Tramp is installed 58@c The installation chapter is needed only in case Tramp is installed
57@c standalone. That's why it is included from `trampinst.texi'. 59@c standalone. That's why it is included from `trampinst.texi'.
58@c Otherwise, '/dev/null/' is tken, which leaves this part empty. 60@c Otherwise, '/dev/null/' is taken, which leaves this part empty.
59 61
60 62
61@ignore 63@ignore