aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/ChangeLog9
-rw-r--r--man/files.texi57
-rw-r--r--man/tramp.texi34
3 files changed, 61 insertions, 39 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index ca084e4e38c..8e6aa9cc464 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,12 @@
12002-07-13 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2
3 * files.texi (Remote Files): Explain new unified file name synatx.
4
5 * tramp.texi: Remove version variables.
6 (Inline methods): Clarify which questions `smx' deals with.
7 (Remote shell setup): shell-prompt-pattern must match at end of
8 buffer.
9
12002-06-17 David Kastrup <David.Kastrup@t-online.de> 102002-06-17 David Kastrup <David.Kastrup@t-online.de>
2 11
3 * tramp.texi: use correct @setfilename 12 * tramp.texi: use correct @setfilename
diff --git a/man/files.texi b/man/files.texi
index 347c3a11c14..35c7b558732 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -2977,42 +2977,55 @@ extract or manipulate the subfiles in the archive.
2977@section Remote Files 2977@section Remote Files
2978 2978
2979@cindex Tramp 2979@cindex Tramp
2980 In the following, file access via FTP will be discussed. In
2981addition to that facility, it is also possible to access remote files
2982through a shell connection. @xref{Top, The Tramp Manual,, tramp, The
2983Tramp Manual}.
2984
2985@cindex FTP 2980@cindex FTP
2986@cindex remote file access 2981@cindex remote file access
2987 You can refer to files on other machines using a special file name syntax: 2982 You can refer to files on other machines using a special file name
2983syntax:
2988 2984
2989@example 2985@example
2990@group 2986@group
2991/@var{host}:@var{filename} 2987/@var{host}:@var{filename}
2992/@var{user}@@@var{host}:@var{filename} 2988/@var{user}@@@var{host}:@var{filename}
2993/@var{user}@@@var{host}#@var{port}:@var{filename} 2989/@var{user}@@@var{host}#@var{port}:@var{filename}
2990/@var{method}:@var{user}@@@var{host}:@var{filename}
2991/@var{method}:@var{user}@@@var{host}#@var{port}:@var{filename}
2994@end group 2992@end group
2995@end example 2993@end example
2996 2994
2997@noindent 2995@noindent
2998When you do this, Emacs uses the FTP program to read and write files on 2996When you do this, Emacs may use the FTP program to access files on the
2999the specified host. It logs in through FTP using your user name or the 2997remote host, or Emacs may use a remote-login program (such as
3000name @var{user}. It may ask you for a password from time to time; this 2998@command{ssh}, @command{rlogin}, or @command{telnet}) to do this.
3001is used for logging in on @var{host}. The form using @var{port} allows 2999
3002you to access servers running on a non-default TCP port. 3000You can always specify in the file name which method should be used to
3003 3001access the remote files, for example
3004For using Tramp, the file name syntax looks like this: 3002@file{/ftp:@var{user}@@@var{host}:@var{filename}} will use FTP, whereas
3005 3003@file{/sm:@var{user}@@@var{host}:@var{filename}} will use
3006@example 3004@command{ssh}. When no method is specified in the file name, Emacs
3007@group 3005determines a default method according to the following rules:
3008/[@var{host}]@var{filename} 3006
3009/[@var{user}@@@var{host}]@var{filename} 3007@enumerate
3010/[@var{method}/@var{user}@@@var{host}]@var{filename} 3008@item
3011@end group 3009If the host name starts with @samp{ftp.} (with dot), then Emacs assumes
3012@end example 3010the @command{ftp} method.
3011@item
3012If the user name is @samp{ftp} or @samp{anonymous}, then Emacs assumes
3013the @command{ftp} method.
3014@item
3015Otherwise, Emacs assumes the @command{sm} method.
3016@end enumerate
3013 3017
3014@noindent 3018@noindent
3015Note that the square brackets are part of the file names. 3019Remote file access through FTP is handled by the Ange-FTP package, which
3020is documented in the following. Remote file access through the other
3021methods is handled by the Tramp package, which has its own manual.
3022@xref{Top, The Tramp Manual,, tramp, The Tramp Manual}.
3023
3024When the Ange-FTP package is used, Emacs logs in through FTP using your
3025user name or the name @var{user}. It may ask you for a password from
3026time to time; this is used for logging in on @var{host}. The form using
3027@var{port} allows you to access servers running on a non-default TCP
3028port.
3016 3029
3017@cindex backups for remote files 3030@cindex backups for remote files
3018@vindex ange-ftp-make-backup-files 3031@vindex ange-ftp-make-backup-files
diff --git a/man/tramp.texi b/man/tramp.texi
index c90fbadcb55..d4408fa2277 100644
--- a/man/tramp.texi
+++ b/man/tramp.texi
@@ -8,12 +8,6 @@
8@c This is *so* much nicer :) 8@c This is *so* much nicer :)
9@footnotestyle end 9@footnotestyle end
10 10
11@c Version values, for easy modification
12@c NOTE: The 'UPDATED' value is updated by the 'time-stamp' function.
13@c If you change it by hand, the modifications will not stay.
14@set VERSION $Revision: 1.3 $
15@set UPDATED Monday, 17 June, 2002
16
17 11
18@c Entries for @command{install-info} to use 12@c Entries for @command{install-info} to use
19@direntry 13@direntry
@@ -61,7 +55,6 @@ approved by the Free Software Foundation.
61 55
62@titlepage 56@titlepage
63@title @tramp{} User Manual 57@title @tramp{} User Manual
64@subtitle Last updated @value{UPDATED}
65 58
66@author by Daniel Pittman 59@author by Daniel Pittman
67@author based on documentation by Kai Gro@ss{}johann 60@author based on documentation by Kai Gro@ss{}johann
@@ -102,9 +95,6 @@ local and the remote host, whereas @tramp{} uses a combination of
102@command{rsh} and @command{rcp} or other work-alike programs, such as 95@command{rsh} and @command{rcp} or other work-alike programs, such as
103@command{ssh}/@command{scp}. 96@command{ssh}/@command{scp}.
104 97
105This is version @value{VERSION} of the @tramp{} manual, last updated on
106@value{UPDATED}.
107
108You can find the latest version of this document on the web at 98You can find the latest version of this document on the web at
109@uref{http://www.freesoftware.fsf.org/tramp/}. 99@uref{http://www.freesoftware.fsf.org/tramp/}.
110 100
@@ -726,6 +716,13 @@ normal login shell is set up to ask them a number of questions when
726logging in. This procedure avoids these questions, and just gives 716logging in. This procedure avoids these questions, and just gives
727@tramp{} a more-or-less `standard' login shell to work with. 717@tramp{} a more-or-less `standard' login shell to work with.
728 718
719Note that this procedure does not eliminate questions asked by
720@command{ssh} itself. For example, @command{ssh} might ask ``Are you
721sure you want to continue connecting?'' if the host key of the remote
722host is not known. Tramp does not know how to deal with such a
723question (yet), therefore you will need to make sure that you can log
724in without such questions.
725
729This is also useful for Windows users where @command{ssh}, when 726This is also useful for Windows users where @command{ssh}, when
730invoked from an Emacs buffer, tells them that it is not allocating a 727invoked from an Emacs buffer, tells them that it is not allocating a
731pseudo tty. When this happens, the login shell is wont to not print 728pseudo tty. When this happens, the login shell is wont to not print
@@ -1091,6 +1088,13 @@ shell. The strategy here is to wait for the shell prompt. In order to
1091recognize the shell prompt, the variable @code{shell-prompt-pattern} has 1088recognize the shell prompt, the variable @code{shell-prompt-pattern} has
1092to be set correctly to recognize the shell prompt on the remote host. 1089to be set correctly to recognize the shell prompt on the remote host.
1093 1090
1091Note that Tramp requires the match for @code{shell-prompt-pattern} to
1092be at the end of the buffer. Many people have something like the
1093following as the value for the variable: @code{"^[^>$][>$] *"}. Now
1094suppose your shell prompt is @code{a <b> c $ }. In this case, Tramp
1095recognizes the @code{>} character as the end of the prompt, but it is
1096not at the end of the buffer.
1097
1094@item @code{tset} and other questions 1098@item @code{tset} and other questions
1095 1099
1096Some people invoke the @code{tset} program from their shell startup 1100Some people invoke the @code{tset} program from their shell startup
@@ -1640,11 +1644,7 @@ mailing list.
1640@c shells. 1644@c shells.
1641@c * Explain how tramp.el works in principle: open a shell on a remote 1645@c * Explain how tramp.el works in principle: open a shell on a remote
1642@c host and then send commands to it. 1646@c host and then send commands to it.
1647@c * Mention that bookmarks are a cool feature to go along with Tramp.
1648@c * Make terminology "inline" vs "out-of-band" consistent.
1649@c It seems that "external" is also used instead of "out-of-band".
1643 1650
1644@c Local Variables:
1645@c eval: (add-hook 'write-file-functions 'time-stamp)
1646@c time-stamp-start: "@set UPDATED "
1647@c time-stamp-format: "%:a, %:d %:b, %:y"
1648@c time-stamp-end: "$"
1649@c time-stamp-line-limit: 50
1650@c End: