annotate man/efs.texi @ 170:98a42ee61975

Added tag r20-3b11 for changeset 15872534500d
author cvs
date Mon, 13 Aug 2007 09:47:00 +0200
parents 6608ceec7cf8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
2 @comment %**start of header (This is for running Texinfo on a region.)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
3 @setfilename efs.info
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
4 @settitle EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
5 @comment %**end of header (This is for running Texinfo on a region.)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
6
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 116
diff changeset
7 @direntry
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 116
diff changeset
8 * EFS:: Transparent remote file access via FTP.
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 116
diff changeset
9 @end direntry
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 116
diff changeset
10
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
11 @synindex fn vr
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
12
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
13 @node Top, What is EFS?, (dir), (dir)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
14 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
15 @ifinfo
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
16 @unnumbered EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
17
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
18 This file documents EFS, a system for transparent file-transfer
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
19 between remote hosts using the FTP protocol within Emacs.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
20
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
21 This info is for version 1.15 of EFS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
22
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
23 Documentation version: 1.0
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
24
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
25 Copyright @copyright{} 1991, 1992 Free Software Foundation, Inc.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
26
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
27 Permission is granted to make and distribute verbatim copies of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
28 this manual provided the copyright notice and this permission notice
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
29 are preserved on all copies.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
30
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
31 @ignore
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
32 Permission is granted to process this file through TeX and print the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
33 results, provided the printed document carries a copying permission
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
34 notice identical to this one except for the removal of this paragraph
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
35 (this paragraph not being relevant to the printed manual).
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
36
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
37 @end ignore
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
38 Permission is granted to copy and distribute modified versions of this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
39 manual under the conditions for verbatim copying, provided that the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
40 entire resulting derived work is distributed under the terms of a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
41 permission notice identical to this one.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
42 @end ifinfo
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
43
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
44 @titlepage
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
45 @sp5
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
46 @center @titlefont{EFS}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
47 @center version 1.15
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
48 @sp2
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
49 @center A transparent remote file system, by Sandy Rutherford and Andy Norman
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
50 @sp7
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
51 @center This documentation based on ange-ftp documentation by David Smith
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
52 @center and on documentation in the EFS source code
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
53 @center It was put together by Mike Sperber.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
54
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
55 This documentation is definitely incomplete and parts of it may be
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
56 outright incorrect or out-of-date.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
57
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
58 @center info-version 1.0
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
59 @page
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
60 @vskip 0pt plus 1filll
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
61 Copyright @copyright{} 1991, 1992 Free Software Foundation, Inc.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
62
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
63 Permission is granted to make and distribute verbatim copies of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
64 this manual provided the copyright notice and this permission notice
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
65 are preserved on all copies.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
66
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
67 Permission is granted to copy and distribute modified versions of this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
68 manual under the conditions for verbatim copying, provided that the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
69 entire resulting derived work is distributed under the terms of a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
70 permission notice identical to this one.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
71 @end titlepage
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
72
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
73 @menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
74 * What is EFS?::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
75 * Installing EFS:: Where to find it, and how to use it.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
76 * Using EFS:: EFS -- a users' guide.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
77 * Getting help:: Mailing lists and newsgroups.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
78 * Bugs:: Known bugs, and a wish list.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
79
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
80 Indices:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
81 * Concept Index::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
82 * Variable and function index::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
83 @end menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
84
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
85
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
86 @node What is EFS?, Installing EFS, Top, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
87 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
88 @chapter Introducing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
89
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
90 EFS is a system for transparent file-transfer between remote UNIX,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
91 Guardian, DOS, Macintosh, KA9Q, Netware, NOS/VE, Plan 9, TI Explorer,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
92 Twenex, TOPS 20, VOS, MPE, MVS, VMS, CMS or MTS hosts using FTP. This
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
93 means that you can edit, copy and otherwise manipulate files on any
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
94 machine you have access to from within Emacs as if it were a local
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
95 file. EFS works by introducing an extended filename syntax, and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
96 overloading functions such as @code{insert-file-contents} so that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
97 accessing a remote file causes appropriate commands to be sent to an FTP
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
98 process. EFS includes and enhanced version of Dired to facilitate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
99 directory browsing and multiple file transfer from remote hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
100
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
101 The authors of EFS are Sandy Rutherford (@code{sandy@@math.ubc.ca}) and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
102 Andy (Ange) Norman (@code{ange@@hplb.hpl.hp.com}). EFS is partly based
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
103 on an earlier package called ange-ftp. The integration of EFS 1.15 into
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
104 XEmacs and numerous bug fixes were done by Mike Sperber
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
105 (@code{sperber@@informatik.uni-tuebingen.de}).
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
106
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
107 @ifinfo
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
108 Many people have sent in enhancements for ange-ftp and EFS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
109 Members of the ange-ftp and EFS Hall of Fame include:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
110
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
111 @itemize @bullet
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
112 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
113 Many thanks to Roland McGrath for improving the filename syntax handling,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
114 for suggesting many enhancements and for numerous cleanups to the code.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
115
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
116 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
117 Thanks to Jamie Zawinski for bugfixes and for ideas such as gateways.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
118
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
119 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
120 Thanks to Ken Laprade for improved @file{.netrc} parsing and password
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
121 reading, and Dired/shell autoloading.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
122
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
123 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
124 Thanks to Sebastian Kremer for tree dired support and for many ideas and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
125 bugfixes.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
126
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
127 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
128 Thanks to Joe Wells for bugfixes, non-UNIX system support, VOS support,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
129 and hostname completion.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
130
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
131 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
132 Thanks to Nakagawa Takayuki for many good ideas, filename-completion, help
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
133 with file-name expansion, efficiency worries, stylistic concerns and many
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
134 bugfixes.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
135
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
136 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
137 Also, thanks to Rob Austein, Doug Bagley, Andy Caiger, Jim Franklin,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
138 Noah Friedman, Aksnes Knut-Havard, Elmar Heeb, John Interrante, Roland
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
139 McGrath, Jeff Morgenthaler, Mike Northam, Jens Petersen, Jack Repenning,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
140 Joerg-Martin Schwarz, Michael Sperber, Svein Tjemsland, Andy Whitcroft,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
141 Raymond A. Wiker and many others whose names have been forgotten who
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
142 have helped to debug and fix problems.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
143 @end itemize
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
144 @end ifinfo
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
145
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
146 Finally, this info file was put together by Mike Sperber
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
147 (@code{sperber@@informatik.uni-tuebingen.de}) from an ange-ftp info file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
148 written by Dave Smith (@code{dsmith@@stats.adelaide.edu.au}) and the EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
149 source code.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
150
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
151 @node Installing EFS, Using EFS, What is EFS?, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
152 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
153 @chapter Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
154
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
155 At the time of writing of this documentation, the version of EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
156 distributed with XEmacs (this means the EFS running on XEmacs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
157 19.15/20.1) is the latest version available. It includes many bugfixes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
158 and some enhancements over the last separately released version of EFS,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
159 1.15. This situation will change once a new version of EFS is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
160 available.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
161
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
162 Generally, EFS is pretty easy to get hold of. FTP is the probably the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
163 simplest method, but other options such as mail are available.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
164
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
165 Once you have the Emacs-Lisp source, there are a few customisations you
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
166 might need to make. The ideal configuration is to have the FTP process running
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
167 on the same machine as you are running Emacs on, but this is not always
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
168 possible since some machines cannot access hosts outside the local
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
169 network. In this case, the FTP process needs to be run on a machine
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
170 which @emph{does} have access to the local world --- this is called the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
171 @strong{gateway host}. EFS has facilities to make use of a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
172 gateway host when accessing remote hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
173
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
174 @menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
175 * Obtaining source code:: Where to find the EFS source.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
176 * Installing source:: Where to put it, how to load it.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
177 * Using a gateway:: If your local machine has limited access.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
178 * Setting up a gateway::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
179 * Gateway types::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
180 * Gateway problems::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
181 * Other options:: More user variables to twiddle.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
182 @end menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
183
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
184 @node Obtaining source code, Installing source, Installing EFS, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
185 @section How to get the EFS source code
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
186 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
187
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
188 The latest separately distributed version of EFS should always be
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
189 available from Andy Norman's home page at
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
190 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
191 http://www-uk.hpl.hp.com/people/ange/efs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
192 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
193
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
194 There are also some ftp locations:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
195
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
196 @table @b
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
197 @item Switzerland
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
198 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
199 /anonymous@@itp.ethz.ch:/sandy/efs/
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
200 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
201
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
202 @item Massachusetts, USA
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
203 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
204 /anonymous@@alpha.gnu.ai.mit.edu:/efs/
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
205 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
206
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
207 @item California, USA
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
208 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
209 /anonymous@@ftp.hmc.edu:/pub/emacs/packages/efs/
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
210 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
211 @end table
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
212
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
213 Failing these, someone on the EFS mailing list (@xref{Getting help}) may
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
214 be able to help you find the latest version.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
215
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
216 @node Installing source, Using a gateway, Obtaining source code, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
217 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
218 @section Installing the source
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
219
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
220 For byte compiling the EFS package, a @file{Makefile} is provided. You
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
221 should follow the instructions at the top of the @file{Makefile}. If
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
222 you have any problems, please let us know so that we can fix them for
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
223 other users. Don't even consider using eFS without byte compiling it. It
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
224 will be far too slow.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
225
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
226 If you decide to byte compile efs by hand, it is important that the file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
227 @file{efs-defun.el} be byte compiled first, followed by @file{efs.el}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
228 The other files may be byte compiled in any order.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
229
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
230 To use EFS, simply put the byte compiled files in your load path
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
231 and add
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
232
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
233 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
234 (require 'efs)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
235 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
236
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
237 in your @file{.emacs} file. Note this takes awhile, and some users have
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
238 found this to be unbearably slow. Therefore ...
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
239
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
240 If you would like efs to be autoloaded when you attempt to access
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
241 a remote file, put
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
242
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
243 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
244 (require 'efs-auto)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
245 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
246
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
247 in your @file{.emacs} file. Note that there are some limitations associated
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
248 with autoloading EFS. A discussion of them is given at the top of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
249 @file{efs-auto.el}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
250
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
251 Note that, in XEmacs, EFS automatically loads @file{efs-auto} when the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
252 user accesses a remote file. Therefore, no additional @code{require}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
253 statements should be necessary to use EFS. Just fire away ...
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
254
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
255 The above instructions should allow you to access all hosts that your
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
256 local machine can access. If your local host has limited access,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
257 however, you may wish to have EFS working through a gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
258 machine. If so, read on. Otherwise, @xref{Using EFS} to get started
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
259 using EFS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
260
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
261 @node Using a gateway, Setting up a gateway, Installing source, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
262 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
263 @section Using a gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
264
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
265 Sometimes it is necessary for the FTP process to be run on a different
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
266 machine than the machine running Emacs. This can happen when the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
267 local machine has restrictions on what hosts it can access.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
268
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
269 Suppose you are running Emacs (and EFS, of course) on a machine X
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
270 (let's call it the `local host') and you want to access a file on a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
271 machine Z (which we will call the `remote host'). Unfortunately, X does
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
272 not have FTP access to Z: when you try a manual FTP something like
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
273 the following happens:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
274 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
275 X$ ftp Z.foo.bar.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
276 ftp: connect: Host is unreachable
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
277 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
278 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
279 However, X @emph{does} have access to a machine Y (the `gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
280 machine') which @emph{can} access Z. Fortunately, you have an account on
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
281 the gateway machine, and so the solution is to login to Y, ftp to Z,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
282 download the file you want from Z to Y, and then copy it from Y to the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
283 local host, X. This can get a bit tedious, to say the least, but
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
284 fortunately EFS can do all the hard work for you.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
285
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
286 @node Setting up a gateway, Gateway types, Using a gateway, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
287 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
288 @section Setting up a gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
289
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
290 @enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
291
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
292 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
293 Set the variable @code{efs-gateway-host} to the name of a machine
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
294 @vindex efs-gateway-host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
295 that doesn't have the access restrictions. If you need to use a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
296 nonstandard port to access this host for gateway use, then specify
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
297 @code{efs-gateway-host} as @code{<hostname>#<port>}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
298
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
299 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
300 Set the variable @code{efs-ftp-local-host-regexp} to a regular
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
301 expression
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
302 @vindex efs-ftp-local-host-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
303 that matches hosts that can be contacted from running a local ftp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
304 process, but fails to match hosts that can't be accessed locally.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
305
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
306 For example:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
307
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
308 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
309 "\\.hp\\.com$\\|^[^.]*$"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
310 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
311
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
312 will match all hosts that are in the @t{.hp.com} domain, or don't have
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
313 an explicit domain in their name, but will fail to match hosts with
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
314 explicit domains or that are specified by their ip address.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
315
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
316 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
317 Set the variable @code{efs-local-host-regexp} to machines that you have
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
318 @vindex efs-local-host-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
319 direct TCP/IP access. In other words, you must be able to ping these
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
320 hosts. Usually, @code{efs-ftp-local-host-regexp} and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
321 @code{efs-local-host-regexp} will be the same. However, they will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
322 differ for so-called transparent gateways. See below for more
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
323 details.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
324
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
325 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
326 Set the variable @code{efs-gateway-tmp-name-template} to the name of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
327 @vindex efs-gateway-tmp-name-template
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
328 a directory plus an identifying filename prefix for making temporary
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
329 files on the gateway. For example: @code{"/tmp/hplose/ange/efs"}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
330
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
331 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
332 If the gateway and the local host share cross-mounted directories,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
333 set the value of @code{efs-gateway-mounted-dirs-alist} accordingly. It
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
334 @vindex efs-gateway-mounted-dirs-alist
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
335 is particularly useful, but not mandatory, that the directory
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
336 of @code{efs-gateway-tmp-name-template} be cross-mounted.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
337 @vindex efs-gateway-tmp-name-template
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
338
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
339 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
340 Set the variable @code{efs-gateway-type} to the type gateway that you have.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
341 This variable is a list, the first element of which is a symbol
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
342 denoting the type of gateway.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
343 @end enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
344
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
345 @node Gateway types, Gateway problems, Setting up a gateway, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
346 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
347 @section Supported gateway types
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
348
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
349 @vindex efs-gateway-type
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
350
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
351 @table @samp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
352
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
353 @item local
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
354 This means that your local host is itself the gateway. However,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
355 it is necessary to use a different FTP client to gain access to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
356 the outside world. If the name of the FTP client were @t{xftp}, you might
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
357 set @code{efs-gateway-type} to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
358
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
359 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
360 (list 'local "xftp" efs-ftp-program-args)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
361 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
362
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
363 If @t{xftp} required special arguments, then give them in place of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
364 @t{efs-ftp-program-args}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
365 @vindex efs-ftp-program-args
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
366
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
367 @item proxy
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
368
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
369 This indicates that your gateway works by first FTP'ing to it, and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
370 then issuing a @code{USER} command of the form
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
371
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
372 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
373 USER <username>@@<host>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
374 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
375
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
376 In this case, you might set @code{efs-gateway-type} to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
377
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
378 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
379 (list 'proxy "ftp" efs-ftp-program-args)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
380 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
381
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
382 If you need to use a nonstandard client, such as @t{iftp}, give this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
383 @pindex iftp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
384 instead of @t{ftp}. If this client needs to take special arguments,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
385 give them instead of @t{efs-ftp-program-args}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
386
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
387 @item remsh
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
388
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
389 For this type of gateway, you need to start a remote shell on
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
390 your gateway, using either @t{remsh} or @t{rsh}. You should set
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
391 @pindex remsh
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
392 @pindex rsh
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
393 @sc{efs-gateway-type} to something like
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
394
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
395 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
396 (list 'remsh "remsh" nil "ftp" efs-ftp-program-args)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
397 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
398
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
399 If you use @t{rsh} instead of @r{remsh}, change the second element from
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
400 @code{"remsh"} to @code{"rsh"}. Note that the symbol indicating the gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
401 type should still be @code{'remsh}. If you want to pass arguments
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
402 to the remsh program, give them as the third element. For example,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
403 if you need to specify a user, make this @code{(list "-l" "sandy")}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
404 If you need to use a nonstandard FTP client, specify that as the fourth
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
405 element. If your FTP client needs to be given special arguments,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
406 give them instead of @code{efs-ftp-program-args}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
407
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
408 @item interactive
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
409
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
410 This indicates that you need to establish a login on the gateway,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
411 using either @t{telnet} or @t{rlogin}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
412 @pindex telnet
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
413 @pindex rlogin
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
414 You should set @code{efs-gateway-type} to something like
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
415
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
416 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
417 (list 'interactive "rlogin" nil "exec ftp" efs-ftp-program-args)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
418 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
419
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
420 If you need to use @t{telnet}, then give @code{"telnet"} in place of the second
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
421 element @code{"rlogin"}. If your login program needs to be given arguments,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
422 then they should be given in the third slot. The fourth element
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
423 is for the name of the FTP client program. Giving this as @code{"exec ftp"},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
424 instead of @code{"ftp"}, ensures that you are logged out if the FTP client
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
425 dies. If the FTP client takes special arguments, give these instead
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
426 of @code{efs-ftp-program-args}. Furthermore, you should see the documentation
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
427 at the top of @file{efs-gwp.el}. You may need to set the variables
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
428 @code{efs-gwp-setup-term-command}, and @code{efs-gwp-prompt-pattern}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
429 @vindex efs-gwp-setup-term-command
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
430 @vindex efs-gwp-prompt-pattern
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
431
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
432 @item raptor
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
433 This is a type of gateway where efs is expected to specify a gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
434 user, and send a password for this user using the @code{ACCOUNT} command.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
435 For example, to log in to @samp{foobar.edu} as sandy, while using the account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
436 ange on the gateway, the following commands would be sent:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
437
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
438 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
439 open raptorgate.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
440 quote USER sandy@@foobar.edu ange
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
441 quote pass <sandy's password on foobar>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
442 quote account <ange's password on raptorgate>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
443 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
444
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
445 For such a gateway, you would set @code{efs-gateway-type} to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
446
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
447 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
448 (list 'raptor efs-ftp-program efs-ftp-program-args <GATEWAY USER>)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
449 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
450
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
451 where @code{<GATEWAY USER>} is the name of your account on the gateway. In
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
452 the above example, this would be @code{"ange"}. You can set your gateway
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
453 password by simply setting an account password for the gateway host.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
454 This can be done with either efs-set-account, or within your .netrc
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
455 file. If no password is set, you will be prompted for one.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
456
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
457 @item interlock
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
458 This is a type of gateway where you are expected to send a PASS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
459 command after opening the connection to the gateway.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
460 The precise login sequence is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
461
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
462 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
463 open interlockgate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
464 quote PASS <sandy's password on interlockgate>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
465 quote USER sandy@@foobar.edu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
466 quote PASS <sandy's password on foobar.edu>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
467 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
468
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
469 For such a gateway, you should set @code{efs-gateway-type} to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
470
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
471 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
472 (list 'interlock efs-ftp-program efs-ftp-program-args)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
473 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
474
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
475 If you need to use a nonstandard name for your FTP client,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
476 then replace @code{efs-ftp-program} with this name. If your FTP client
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
477 needs to take nonstandard arguments, then replace @code{efs-ftp-program-args}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
478 with these arguments.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
479
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
480 If your gateway returns both a 220 code and a 331 code to the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
481 @code{"open interlockgate"} command, then you should add a regular
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
482 expression to @code{efs-skip-msgs} that matches the 220 response.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
483 Returning two response codes to a single FTP command is not permitted
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
484 in RFC 959. It is not possible for efs to ignore the 220 by default,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
485 because than it would hang for interlock installations which do not
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
486 require a password.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
487
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
488 @item kerberos
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
489 With this gateway, you need to authenticate yourself by getting a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
490 kerberos "ticket" first. Usually, this is done with the kinit program.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
491 Once authenticated, you connect to @samp{foobar.com} as user sandy with the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
492 sequence: (Note that the @code{"-n"} argument inhibits automatic login.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
493 Although, in manual use you probably don't use it, EFS always uses it.)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
494
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
495 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
496 iftp -n
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
497 open foobar.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
498 user sandy@@foobar.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
499 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
500 @pindex iftp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
501
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
502 You should set @code{efs-gateway-type} to something like
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
503
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
504 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
505 (list 'kerberos "iftp" efs-ftp-program-args "kinit" <KINIT-ARGS>)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
506 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
507
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
508 If you use an FTP client other than @t{iftp}, insert its name instead of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
509 @code{"iftp"} above. If your FTP client needs special arguments, give
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
510 them as a list of strings in place of @code{efs-ftp-program-args}. If
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
511 the program that you use to collect a ticket in not called
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
512 @code{"kinit"}, then give its name in place of @code{"kinit"} above.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
513 @code{<KINIT-ARGS>} should be any arguments that you need to pass to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
514 your kinit program, given as a list of strings. Most likely, you will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
515 give this as nil.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
516
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
517 See the file @file{efs-kerberos.el} for more configuration variables. If you
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
518 need to adjust any of these variables, please report this to us so that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
519 we can fix them for other users.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
520
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
521 If EFS detects that you are not authenticated to use the gateway, it
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
522 will run the kinit program automatically, prompting you for a password.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
523 If you give a password in your @file{.netrc} file for login the value of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
524 @code{efs-gateway-host} and user @t{kerberos}, then EFS will use this to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
525 obtain gateway authentication.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
526
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
527 @item Transparent gateways
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
528
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
529 If your gateway is completely transparent (for example it uses socks),
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
530 then you should set @code{efs-gateway-type} to @code{nil}. Also, set
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
531 @code{efs-ftp-local-host-regexp} to @code{".*"}. However,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
532 @code{efs-local-host-regexp}, must still be set to a regular expression
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
533 matching hosts in your local domain. EFS uses this to determine which
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
534 machines that it can open-network-stream to. Furthermore, you should
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
535 still set @code{efs-gateway-host} to the name of your gateway machine.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
536 That way EFS will know that this is a special machine having direct
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
537 TCP/IP access to both hosts in the outside world, and hosts in your
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
538 local domain.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
539
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
540 @end table
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
541
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
542
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
543
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
544 @node Gateway problems, Other options, Gateway types, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
545 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
546 @section Common Problems with Gateways
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
547
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
548 @subsection Spurious 220 responses
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
549
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
550 Some proxy-style gateways (eg gateway type @code{'proxy} or @code{'raptor}),
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
551 return two 3-digit FTP reply codes to the @code{USER} command.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
552 For example:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
553
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
554 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
555 open gateway.weird
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
556 220 Connected to gateway.weird
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
557 quote USER sandy@@foobar
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
558 220 Connected to foobar
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
559 331 Password required for sandy
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
560 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
561
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
562 This is wrong, according to the FTP Protocol. Each command must return
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
563 exactly one 3-digit reply code. It may be preceded by continuation
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
564 lines. What should really be returned is:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
565
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
566 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
567 quote USER sandy@@foobar
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
568 331-Connected to foobar.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
569 331 Password required for sandy.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
570 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
571
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
572 or even
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
573
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
574 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
575 quote USER sandy@@foobar
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
576 331-220 Connected to foobar.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
577 331 Password required for sandy.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
578 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
579
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
580 Even though the @samp{"331-220"} looks strange, it is correct protocol,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
581 and EFS will parse it properly.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
582
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
583 If your gateway is returning a spurious 220 to @code{USER}, a work-around
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
584 is to add a regular expression to @code{efs-skip-msgs} that matches
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
585 @vindex efs-skip-msgs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
586 this line. It must not match the 220 line returned to the open
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
587 command. This work-around may not work, as some system FTP clients
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
588 also get confused by the spurious 220. In this case, the only
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
589 solution is to patch the gateway server. In either case, please
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
590 send a bug report to the author of your gateway software.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
591
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
592 @subsection Case-sensitive parsing of FTP commands
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
593
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
594 Some gateway servers seem to treat FTP commands case-sensitively.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
595 This is incorrect, as RFC 959 clearly states that FTP commands
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
596 are always to be case-insensitive. If this is a problem with your
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
597 gateway server, you should send a bug report to its author.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
598 If efs is using a case for FTP commands that does not suit your server,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
599 a possible work-around is to edit the efs source so that the required
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
600 case is used. However, we will not be making any changes to the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
601 standard EFS distribution to support this type of server behaviour.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
602 If you need help changing the efs source, you should enquire with the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
603 efs-help mailing list.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
604
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
605 @node Other options, , Gateway problems, Installing EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
606 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
607 @section Other user options
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
608
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
609 Here are other user options available in EFS:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
610
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
611 @code{efs-netrc-filename}: The name of a file in @code{netrc(5)}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
612 format that EFS will use to match hostnames, users and their
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
613 respective passwords. Hostnames specified here are also used for hostname
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
614 completion.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
615 The default is @code{"~/.netrc"}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
616 @vindex efs-netrc-filename
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
617
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
618 @code{efs-default-user}: If this is a string, it is the username to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
619 use when none is specified in a filename. If @code{nil}, then the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
620 name under which the user is logged in is used. If non-@code{nil} but
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
621 not a string, the user is prompted for the name. The default is @code{nil}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
622 @vindex efs-default-user
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
623
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
624 @code{efs-default-password}: The password to use when the user is the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
625 same as @code{efs-default-user}. The default is @code{nil}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
626 @vindex efs-default-password
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
627
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
628 @code{efs-default-account}: Account password to use when the user
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
629 is the same as @code{efs-default-user}. The default is @code{nil}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
630 @vindex efs-default-account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
631
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
632 @code{efs-dumb-unix-host-regexp}: The FTP servers on some machines have
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
633 problems if the @code{ls} command is used. The usual indication that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
634 something is wrong is when EFS erroneously thinks that a directory
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
635 is just a plain file. The routine @code{efs-add-host} can
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
636 be called to tell EFS to limit itself to the @code{DIR} command and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
637 not @code{ls} for a given host (but this change will take effect for the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
638 current Emacs session only) when called like this:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
639
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
640 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
641 (efs-add-host 'dumb-unix "hostname")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
642 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
643
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
644 If a large number of machines with similar hostnames have this problem
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
645 then it is easier to change the value of this variable to a regexp which
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
646 matches hostnames which have this problem, particularly since EFS cannot
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
647 automatically detect such hosts. The default is @code{nil}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
648 @vindex efs-dumb-unix-host-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
649 @findex efs-add-host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
650
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
651 @code{efs-binary-file-name-regexp}: By default EFS will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
652 transfer files in ASCII mode. If a file being transferred matches the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
653 value of this regexp then the FTP process will be toggled into BINARY
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
654 mode before the transfer and back to ASCII mode after the transfer. The
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
655 default is:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
656 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
657 (concat "\\." ; the dot
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
658 ;; extensions
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
659 "\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
660 "ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
661 "\\(~\\|~[0-9]+~\\)?$" ; backups
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
662 "\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
663 ;; UPPER CASE LAND
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
664 "\\."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
665 "\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI\|ZOO\\|GIF\\|T?GZ\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
666 "[JM]PG\\)"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
667 "\\([.#;][0-9]+\\)?$" ; versions
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
668 )
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
669 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
670 @vindex efs-binary-file-name-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
671
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
672 @code{efs-hash-mark-size}: EFS by default requests that the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
673 FTP process sends hash marks (just @code{#} characters) during transfers
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
674 to keep track of how much data has been sent or received. This variable,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
675 if non-@code{nil}, should be the number of kilobytes represented by the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
676 FTP client's hash mark. The default value of 1 doesn't work for me --- I
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
677 use 2 instead.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
678 @vindex efs-hash-mark-size
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
679
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
680 @code{efs-verbose}: If this is @code{t} then EFS will be chatty about
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
681 interaction with the FTP process. The default is @code{t}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
682 @vindex efs-process-verbose
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
683
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
684 @code{efs-ftp-program-name}: This should be the name of the FTP
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
685 program to run on the local host. The default value of @code{"ftp"}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
686 should be fine for most systems.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
687 @vindex efs-ftp-program-name
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
688
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
689 @code{efs-make-backup-files}: A list of operating systems for which
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
690 EFS will make Emacs backup files on the remote host. For example,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
691 @code{'(unix)} makes sense, but @code{'(unix vms)} or @code{'(vms)}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
692 would be silly, since VMS makes its own backups. The host type is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
693 determined by the function @code{efs-host-type}. Possible host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
694 types are: @code{dumb-unix}; @code{vos}; @code{vms}; @code{mts}; and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
695 @code{unix}. The default of @code{nil} means make no backups on remote
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
696 hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
697 @vindex efs-make-backup-files
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
698 @cindex backup files
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
699
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
700 @code{efs-skip-msgs}: A regular expression matching messages from
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
701 the ftp process that can be ignored. The default is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
702 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
703 (concat
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
704 "^110 \\|" ; Restart marker reply.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
705 "^125 \\|" ; Data connection already open; transfer starting.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
706 "^150 ") ; File status OK; about to open connection.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
707 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
708 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
709 but you might need to tweak it if EFS is giving up when it
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
710 shouldn't.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
711 @vindex efs-skip-msgs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
712
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
713 @code{efs-fatal-msgs}: A regular expression matching messages from
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
714 the FTP process that indicate something has gone drastically wrong
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
715 attempting the action that was initiated and that the FTP process should
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
716 (or already has) been killed. The default is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
717 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
718 (concat
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
719 ;; RFC959 codes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
720 "^221 \\|" ; Service closing control connection.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
721 "^421 \\|" ; Service not available.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
722 "^425 \\|" ; Can't open data connection.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
723 "^426 \\|" ; Connection closed, transfer aborted.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
724 "^451 \\|" ; Requested action aborted, local error in processing.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
725 ;; RFC959 non-compliant codes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
726 "^552 Maximum Idle Time Exceded\\.$\\|" ; Hellsoft server uses this to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
727 ; indicate a timeout. 552 is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
728 ; supposed to be used for exceeded
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
729 ; storage allocation. Note that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
730 ; they also misspelled the error
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
731 ; message.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
732 ;; client problems
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
733 "^ftp: \\|^Not connected\\|^rcmd: \\|^No control connection\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
734 "^unknown host\\|: unknown host$\\|^lost connection\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
735 "^[Ss]egmentation fault\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
736 ;; Make sure that the "local: " isn't just a message about a file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
737 "^local: [^/]\\|"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
738 ;; Gateways
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
739 "^iftp: cannot authenticate to server\\b"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
740 )
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
741 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
742 @vindex efs-fatal-msgs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
743
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
744 @code{efs-gateway-fatal-msgs}: Regular expression matching messages
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
745 from the rlogin / telnet process that indicates that logging in to the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
746 gateway machine has gone wrong. The default is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
747 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
748 "No route to host\\|Connection closed\\|No such host\\|Login incorrect"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
749 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
750 @vindex efs-gateway-fatal-msgs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
751
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
752 @code{efs-tmp-name-template}: This should be a directory and a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
753 filename prefix indicating where EFS should make temporary files.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
754 The default of @code{"/tmp/efs"} should be fine for most systems.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
755 @vindex efs-tmp-name-template
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
756 @cindex temporary files
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
757
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
758 @code{efs-retry-time}: Number of seconds to wait before retrying if
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
759 a file or listing doesn't arrive. For slow connections, you might get a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
760 ``listing unreadable'' error messages
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
761 @cindex listing unreadable error
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
762 or an empty buffer for a file that you know has something in it. The
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
763 solution is to increase the value of @code{efs-retry-time}. Its default
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
764 value is 5 which is plenty for reasonable connections. However, for
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
765 some transatlantic connections 20 might be a better value.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
766 @vindex efs-retry-time
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
767
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
768 @node Using EFS, Getting help, Installing EFS, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
769 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
770 @chapter Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
771
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
772 Once installed, efs operates largely transparently. All files normally
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
773 accessible to you on the internet, become part of a large virtual file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
774 system. These files are accessed using an extended file name syntax. To
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
775 access file @code{<path>} on remote host @code{<host>} by logging in as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
776 user @code{<user>}, you simply specify the full path of the file as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
777 @code{/<user>@@<host>:<path>}. Nearly all Emacs file handling functions
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
778 work for remote files. It is not possible to access remote files using
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
779 shell commands in an emacs *shell* buffer, as such commands are passed
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
780 directly to the shell, and not handled by emacs.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
781
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
782 FTP is the underlying utility that efs uses to operate on remote files.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
783
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
784 For example, if @code{find-file} is given a filename of:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
785
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
786 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
787 /ange@@anorman:/tmp/notes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
788 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
789
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
790 then EFS will spawn an FTP process, connect to the host 'anorman' as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
791 user 'ange', get the file @file{/tmp/notes} and pop up a buffer containing the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
792 contents of that file as if it were on the local file system. If efs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
793 needed a password to connect then it would prompt the user in the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
794 minibuffer. For further discussion of the EFS path syntax, see the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
795 paragraph on extended file name syntax @ref{Remote filenames}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
796
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
797 Full file-name completion is supported on every type of remote host. To
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
798 do filename completion, EFS needs a listing from the remote host.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
799 Therefore, for very slow connections, it might not save any
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
800 time. However, the listing is cached, so subsequent uses of file-name
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
801 completion will be just as fast as for local file names.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
802
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
803 @menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
804 * Ports:: Using nonstandard ports.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
805 * Remote filenames:: The EFS extended filename syntax.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
806 * Passwords::
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
807 * Using Dired:: Browsing directories.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
808 * Using a .netrc:: Preventing password pestering.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
809 * EFS commands:: Interactive commands supplied by EFS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
810 * FTP processes:: How EFS does its work
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
811 * Tips:: Some stuff to help you use EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
812 * DL support:: Descriptive directory listings
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
813 * Non-Unix Hosts:: Some of what you want to know
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
814 * Completion:: Works but has its price
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
815 * Accessing the FTP process:: ... manually
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
816 @end menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
817
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
818 @node Ports, Remote filenames, Using EFS, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
819 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
820 @section Using nonstandard ports
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
821
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
822 EFS supports the use of nonstandard ports on remote hosts. To specify
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
823 that port @code{<port>} should be used, give the host name as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
824 @code{host#<port>}. Host names may be given in this form anywhere that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
825 efs normally expects a host name. This includes in the @file{.netrc} file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
826 Logically, EFS treats different ports to correspond to different remote
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
827 hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
828
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
829 @node Remote filenames, Passwords, Ports, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
830 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
831 @section Extended filename syntax
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
832
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
833 The default full EFS path syntax is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
834
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
835 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
836 /<user>@@<host>#<port>:<path>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
837 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
838
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
839 Both the @code{#<port>'}and @code{<user>@@} may be omitted.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
840
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
841 If the @code{#<port>} is omitted, then the default port is taken to be 21,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
842 the usual FTP port. For most users, the port syntax will only
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
843 very rarely be necessary.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
844
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
845 If the @code{<user>@@} is omitted, then EFS will use a default user. If
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
846 a login token is specified in your @file{.netrc} file, then this will be
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
847 used as the default user for @code{<host>}. Otherwise, it is determined
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
848 based on the value of the variable @code{efs-default-user}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
849 @vindex efs-default-user
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
850
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
851 This EFS path syntax can be customised to a certain extent by changing a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
852 number of variables. To
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
853 undertake such a customization requires some knowledge about the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
854 internal workings of EFS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
855
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
856 @node Passwords, Using Dired, Remote filenames, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
857 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
858 @section Passwords
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
859
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
860 A password is required for each host / user pair. This will be prompted
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
861 for when needed, unless already set by calling @code{efs-set-passwd},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
862 @findex efs-set-passwd
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
863 or specified in a @emph{valid} @file{~/.netrc} file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
864
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
865 When EFS prompts for a password, it provides defaults from its cache of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
866 currently known passwords. The defaults are ordered such that passwords
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
867 for accounts which have the same user name as the login which is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
868 currently underway have priority. You can cycle through your list of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
869 defaults with @kbd{C-n} to cycle forwards and @kbd{C-p} to cycle
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
870 backwards. The list is circular.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
871
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
872 @subsection Passwords for anonymous user
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
873
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
874 Passwords for the user @t{anonymous} (or @t{ftp}) are handled specially.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
875 The variable @code{efs-generate-anonymous-password} controls what
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
876 \vindex efs-generate-anonymous-password happens. If the value of this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
877 variable is a string, then this is used as the password; if
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
878 non-@code{nil}, then a password is created from the name of the user and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
879 the hostname of the machine on which Emacs is running; if @code{nil}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
880 (the default) then the user is prompted for a password as normal.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
881
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
882 @subsection Account passwords
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
883
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
884 Some FTP servers require an additional password which is sent by the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
885 @code{ACCOUNT} command. EFS will detect this and prompt the user for an
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
886 account password if the server expects one. Also, an account password
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
887 can be set by calling @code{efs-set-account}, or by specifying an
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
888 @findex efs-set-account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
889 account token in the @file{.netrc} file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
890
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
891 Some operating systems, such as CMS, require that @code{ACCOUNT} be used
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
892 to give a write access password for minidisks. @code{efs-set-account} can be
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
893 used to set a write password for a specific minidisk. Also, tokens of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
894 the form
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
895
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
896 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
897 minidisk <minidisk name> <password>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
898 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
899
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
900 may be added to host lines in your @file{.netrc} file. Minidisk tokens
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
901 must be at the end of the host line, however there may be an arbitrary
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
902 number of them for any given host.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
903
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
904 @node Using Dired, Using a .netrc, Passwords, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
905 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
906 @section Using Dired
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
907
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
908 This feature of EFS is particularly useful when file transfers, as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
909 opposed to file editing, are the order of the day. Simply run
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
910 @code{find-file} on a directory to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
911 get a listing of the files in that directory. For example, you might
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
912 run @code{find-file} on
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
913 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
914 /anonymous@@archive.site.com:pub
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
915 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
916 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
917 to see what's in the @file{pub} directory of your favourite archive
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
918 @cindex archive sites
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
919 site. This brings up a Dired buffer of all the files in that directory.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
920 The @kbd{f} command is useful for looking at @file{README} files --- if
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
921 you then decide to save it @kbd{C-x C-w} is useful. You can also use
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
922 this method to copy files, but the @kbd{c} command is easier. The
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
923 @kbd{f} command can also be used to descend the directory tree by
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
924 applying it to directories.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
925
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
926 You can also use Dired to refresh EFS's internal cache. If you
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
927 (or anybody else) has changed a remote directory since you first accessed it
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
928 with EFS, completion is not provided on any new files that EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
929 does not know about. If you have
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
930 (or create) a Dired buffer which contains the modified directory,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
931 executing @code{revert-buffer}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
932 @findex revert-buffer
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
933 with a prefix argument (@kbd{C-u g} in the Dired buffer)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
934 will force a refresh of both the the buffer @emph{and also EFS's
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
935 internal cache}. If you find that filename completion isn't working on a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
936 @cindex filename completion
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
937 file that you @emph{know} is there, this is how to fix the problem.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
938
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
939 Dired provides facilities for maintaining an
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
940 entire directory tree in a Dired buffer, for marking files which match a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
941 certain regexp (or you can select files interactively) and then copying
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
942 all those files to your local host (or even a different remote host).
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
943 Another useful feature is Virtual Dired, which allows you to save Dired
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
944 @cindex virtual dired
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
945 buffers of remote hosts, allowing you to browse them at a later date
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
946 without actually needing to connect to the host.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
947
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
948 @node Using a .netrc, EFS commands, Using Dired, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
949 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
950 @section Using a .netrc file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
951
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
952 Being prompted for passwords all the time can get rather annoying, but
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
953 there is a way to fix the problem --- a @file{.netrc} (but @xref{Other
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
954 options} and @code{efs-netrc-filename}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
955 @vindex efs-netrc-filename
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
956 if you want another
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
957 filename) file in your home directory. Basically, this is a file (in the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
958 format of Unix @code{netrc(5)}) which
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
959 contains the names of all the machines you regularly login to, as well
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
960 as the username and password you use for that machine. You can also
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
961 supply an account password, if required.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
962
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
963 Your @file{.netrc} file consists of lines of the form
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
964 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
965 machine <machine-name> login <user-name> password <password>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
966 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
967 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
968 It doesn't all have to be on the one line, though: any @code{login} or
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
969 @code{password} commands in the file refer to the previous
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
970 @code{machine} command. You can also have @code{account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
971 <account-passwd>} commands if you need special account passwords.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
972
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
973 For example, you might have the following line in your @file{.netrc}:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
974 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
975 machine Y.local.lan.edu login myname password secret
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
976 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
977 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
978 Then if you run @code{find-file} on the file @file{/Y.local.lan.edu:somefile}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
979 you will automatically be logged in as user @code{myname} with password
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
980 @code{secret}. You can still login under another name and password, if
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
981 you so desire: just include the @code{user@@} part of the filename.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
982
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
983 You may also include a default option, as follows:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
984 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
985 default login <user-name> password <password>
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
986 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
987 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
988 which applies to any other machines not mentioned elsewhere in your
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
989 @file{.netrc}. A particularly useful application of this is with
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
990 anonymous logins:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
991 @cindex anonymous FTP
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
992 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
993 default login myname password myname@@myhost.edu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
994 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
995 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
996 so that accessing @file{/anyhost:anyfile} will automatically log you in
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
997 anonymously, provided the host is not mentioned in the @file{.netrc}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
998 Note also that if the value of @code{efs-default-user} is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
999 @vindex efs-default-user
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1000 non-@code{nil}, its value will have precedence over the username
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1001 supplied in the default option of the @file{.netrc}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1002
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1003 The @file{.netrc} file is also useful in another regard: machines
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1004 included in it are provided with hostname completion. That is, for any
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1005 @cindex hostname completion
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1006 machine in the @file{.netrc}, you need only type a slash and the first
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1007 few characters of its name and then press @key{TAB} to be logged in
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1008 automatically with a username and password from the @file{.netrc} file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1009 So it's a good idea to put hosts you use regularly in your @file{.netrc}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1010 as well:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1011 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1012 machine archive.site.com login anonymous password myname@@X.local.lan.edu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1013 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1014
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1015 @node EFS commands, FTP processes, Using a .netrc, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1016 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1017 @section EFS commands
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1018
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1019 EFS supplies a few interactive commands to make connecting with
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1020 hosts a little easier.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1021
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1022 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1023 Command @code{efs-set-user}: Prompts for a hostname and a username.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1024 Next time access to the host is attempted, EFS will attempt to log
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1025 in again with the new username.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1026 @findex efs-set-user
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1027
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1028 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1029 Command @code{efs-set-passwd}: Prompts for a hostname, user and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1030 password. Future logins to that host as that user will use the given
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1031 password.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1032 @findex efs-set-passwd
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1033
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1034 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1035 Command @code{efs-set-account}: Prompts for a hostname, user and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1036 account. Future logins to that host as that user will use the given
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1037 account.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1038 @findex efs-set-account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1039
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1040 Note that the effects of the above three commands only last the duration
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1041 of the current Emacs session. To make their effects permanent, you may
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1042 include them as lisp code in your @file{.emacs}:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1043 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1044 (efs-set-user HOST USER)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1045 (efs-set-password HOST USER PASSWORD)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1046 (efs-set-account HOST USER ACCOUNT)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1047 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1048 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1049 This is an alternative to using a @file{.netrc}; @xref{Using a .netrc}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1050
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1051 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1052 Command @code{efs-kill-ftp-process}: kill the FTP process
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1053 associated with a given buffer's filename (by default the current
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1054 buffer). This is an easy way to achieve a resynch: any future accesses
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1055 to the remote host will cause the FTP process to be recreated.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1056 @findex efs-kill-ftp-process
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1057
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1058 @node FTP processes, Tips, EFS commands, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1059 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1060 @section FTP processes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1061
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1062 When EFS starts up an FTP process, it leaves it running for speed
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1063 purposes. Some FTP servers will close the connection after a period of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1064 time, but EFS should be able to quietly reconnect the next time that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1065 the process is needed.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1066
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1067 The FTP process will be killed should the associated @samp{*ftp user@@host*}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1068 buffer be deleted. This should not cause efs any grief.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1069
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1070 @subsection Showing background FTP activity on the mode-line
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1071
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1072 After EFS is loaded, the command @code{efs-display-ftp-activity} will cause
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1073 @findex efs-display-ftp-activity
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1074 background FTP activity to be displayed on the mode line. The variable
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1075 @code{efs-mode-line-format} is used to determine how this data is displayed.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1076 @vindex efs-mode-line-format
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1077 efs does not continuously track the number of active sessions, as this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1078 would cause the display to change too rapidly. Rather, it uses a heuristic
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1079 algorithm to determine when there is a significant change in FTP activity.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1080
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1081 @subsection File types
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1082
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1083 By default EFS will assume that all files are ASCII. If a file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1084 being transferred matches the value of @code{efs-binary-file-name-regexp}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1085 @vindex efs-binary-file-name-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1086 then the file will be assumed to be a binary file, and EFS will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1087 transfer it using "type image". ASCII files will be transferred
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1088 using a transfer type which efs computes to be correct according
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1089 to its knowledge of the file system of the remote host. The
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1090 command @code{efs-prompt-for-transfer-type} toggles the variable
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1091 @findex efs-prompt-for-transfer-type
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1092 @code{efs-prompt-for-transfer-type}. When this variable is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1093 @vindex efs-prompt-for-transfer-type
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1094 non-@code{nil}, EFS will prompt the user for the transfer type to use
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1095 for every FTP transfer. Having this set all the time is annoying, but
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1096 it is useful to give special treatment to a small set of files. There
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1097 is also a variable @code{efs-text-file-name-regexp}. This is tested
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1098 @vindex efs-text-file-name-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1099 before @code{efs-binary-file-name-regexp}, so if you set
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1100 @code{efs-text-file-name-regexp} to a non-trivial regular expression,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1101 and @code{efs-binary-file-name-regexp} to @samp{".*"}, the result will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1102 to make image the default tranfer type.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1103
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1104 Also, if you set @code{efs-treat-crlf-as-nl},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1105 @vindex efs-treat-crlf-as-nl
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1106 then EFS will use type image
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1107 to transfer files between hosts whose file system differ only in that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1108 one specifies end of line as CR-LF, and the other as NL. This is useful
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1109 if you are transferring files between UNIX and DOS machines, and have a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1110 package such as @file{dos-mode.el}, that handles the extra @key{^M}'s.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1111
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1112 @subsection Status reports
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1113
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1114 Most EFS commands that talk to the FTP process output a status
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1115 message on what they are doing. In addition, efs can take advantage
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1116 of the FTP client's @code{HASH} command to display the status of transferring
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1117 files and listing directories. See the documentation for the variables
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1118 @code{efs-hash-mark-size},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1119 @vindex efs-hash-mark-size
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1120 @code{efs-send-hash}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1121 @vindex efs-send-hash
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1122 and @code{efs-verbose}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1123 @vindex efs-verbose
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1124 for more details.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1125
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1126 @subsection Caching of directory information
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1127
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1128 EFS keeps an internal cache of file listings from remote hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1129 If this cache gets out of synch, it can be renewed by reverting a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1130 dired buffer for the appropriate directory (@code{dired-revert} is usually
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1131 bound to @kbd{g}).
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1132
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1133 Alternatively, you can add the following two lines to your @file{.emacs} file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1134 if you want @kbd{C-r} to refresh EFS's cache whilst doing filename
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1135 completion.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1136
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1137 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1138 (define-key minibuffer-local-completion-map "\C-r" 'efs-re-read-dir)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1139 (define-key minibuffer-local-must-match-map "\C-r" 'efs-re-read-dir)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1140 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1141
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1142 @node Tips, DL support, FTP processes, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1143 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1144
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1145 @section Tips for using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1146
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1147 @enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1148 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1149 Beware of compressing files on non-UNIX hosts. EFS will do it by
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1150 copying the file to the local machine, compressing it there, and then
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1151 sending it back. Binary file transfers between machines of different
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1152 architectures can be a risky business. Test things out first on some
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1153 test files. @xref{Bugs} Also, note that EFS sometimes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1154 copies files by moving them through the local machine. Again,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1155 be careful when doing this with binary files on non-Unix
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1156 machines.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1157
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1158 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1159 Beware that dired over ftp will use your setting of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1160 @code{dired-no-confirm}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1161 @vindex dired-no-confirm
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1162 (list of dired commands for which confirmation is not asked).
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1163 You might want to reconsider your setting of this variable,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1164 because you might want confirmation for more commands on remote
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1165 direds than on local direds. For example, I strongly recommend
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1166 that you not include compress in this list. If there is enough
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1167 demand it might be a good idea to have an alist
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1168 @code{efs-dired-no-confirm} of pairs @code{( TYPE . LIST )}, where @code{TYPE} is an
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1169 operating system type and @code{LIST} is a list of commands for which
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1170 confirmation would be suppressed. Then remote dired listings
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1171 would take their (buffer-local) value of @code{dired-no-confirm} from
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1172 this alist. Who votes for this?
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1173
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1174 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1175 Some combinations of FTP clients and servers break and get out of sync
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1176 when asked to list a non-existent directory. Some of the @t{ai.mit.edu}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1177 machines cause this problem for some FTP clients. Using
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1178 @code{efs-kill-ftp-process}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1179 @findex efs-kill-ftp-process
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1180 can be used to restart the ftp process, which
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1181 should get things back in synch.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1182
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1183 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1184 Some ftp servers impose a length limit on the password that can
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1185 be sent. If this limit is exceeded they may bomb in an
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1186 incomprehensible way. This sort of behaviour is common with
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1187 MVS servers. Therefore, you should beware of this possibility
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1188 if you are generating a long password (like an email address)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1189 with @code{efs-generate-anonymous-password}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1190 @vindex efs-generate-anonymous-password
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1191
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1192 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1193 Some antiquated FTP servers hang when asked for an @code{RNFR} command.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1194 EFS sometimes uses this to test whether its local cache is stale.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1195 If your server for @code{HOST} hangs when asked for this command, put
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1196
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1197 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1198 (efs-set-host-property HOST 'rnfr-failed t)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1199 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1200
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1201 in your @code{efs-ftp-startup-function-alist}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1202 @vindex efs-ftp-startup-function-alist
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1203 entry for @code{HOST}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1204
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1205 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1206 The FTP servers on some Unix machines have problems if the @code{ls}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1207 command is used. EFS will try to correct for this automatically,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1208 and send the @code{dir} command instead. If it fails, you can call the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1209 function @code{efs-add-host},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1210 @findex efs-add-host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1211 and give the host type as @code{dumb-unix}. Note that this change will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1212 take effect for the current Emacs session only. To make this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1213 specification for future emacs sessions, put
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1214
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1215 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1216 (efs-add-host 'dumb-unix "hostname")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1217 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1218
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1219 in your @file{.emacs} file. Also, please report any failure to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1220 automatically recognize dumb unix to the "bugs" address given below, so
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1221 that we can fix the auto recognition code.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1222
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1223 @end enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1224
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1225 @node DL support, Non-Unix Hosts, Tips, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1226 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1227 @section Descriptive directory listings
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1228
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1229 Some hosts (such as @code{cs.uwp.edu}) now use descriptive directory
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1230 listings
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1231 @cindex descriptive directory listings
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1232 @cindex extended directory listings
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1233 (which in fact contain @emph{less} information than the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1234 standard listing!) when issued the @code{ls} command, and EFS has
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1235 been modified to cope with this. EFS can detect such listings, but
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1236 if you regularly use a remote host which uses this extended listing
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1237 format you should set the variable @code{efs-dl-dir-regexp} to a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1238 @vindex efs-dl-dir-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1239 regular expression which matches directories using the extended listing
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1240 format. You shouldn't anchor the regexp with @samp{$} -- that way the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1241 regexp will match subdirectories as well. Alternatively, you can use
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1242 the interactive command @code{efs-add-dl-dir} to temporarily add a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1243 @findex efs-add-dl-dir
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1244 remote directory for this Emacs session only.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1245
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1246 Dired has been modified to work with such descriptive listings.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1247
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1248 @node Non-Unix Hosts, Completion, DL support, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1249 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1250 @section Using EFS with non-Unix hosts
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1251
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1252 EFS also works with some non-Unix hosts, although not necessarily
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1253 with all the features available with Unix hosts. VMS, CMS, and MTS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1254 systems will all now work with EFS and Dired. It also works with a whole
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1255 bunch of others, but documentation for that has not been written yet.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1256 This section was taken straight from the ange-ftp manual, and is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1257 therefore in all likelihood out-of-date.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1258
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1259 EFS should be able to automatically detect which type of host you
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1260 are using (VMS, CMS or MTS), but if it is unable to do so you can fix
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1261 the problem by setting the appropriate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1262 @code{efs-TYPE-host-regexp} variable (where @code{TYPE} is one of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1263 @samp{vms}, @samp{cms} or @samp{mts}) -- see below. If EFS is unable
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1264 to automatically detect any VMS, CMS or MTS host, please report this as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1265 a bug: @xref{Bugs}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1266
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1267 In all cases the file-name conventions of the remote host are converted
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1268 to a UNIX-ish format, and this is the format you should use to find
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1269 files on such hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1270
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1271 @menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1272 * VMS support:: Using EFS with VMS systems
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1273 * CMS support:: Using EFS with CMS systems
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1274 * MTS support:: Using EFS with MTS systems
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1275 @end menu
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1276
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1277 @node VMS support, CMS support, Non-Unix Hosts, Non-Unix Hosts
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1278 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1279 @subsection VMS support
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1280 @cindex VMS filenames
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1281 VMS filenames are of the form @code{FILE.TYPE;##}, where both
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1282 @code{FILE} and @code{TYPE} can be up to 39 characters long, and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1283 @code{##} is an integer version number between 1 and 32,767. Valid
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1284 characters in filenames are @samp{A}-@samp{Z}, @samp{0}-@samp{9},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1285 @samp{_}, @samp{-} and @samp{$}, however @samp{$} cannot begin a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1286 filename and @samp{-} cannot be used as the first or last character.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1287
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1288 Directories in VMS are converted to the standard UNIX @samp{/} notation.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1289 For example, the VMS filename
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1290 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1291 PUB$:[ANONYMOUS.SDSCPUB.NEXT]README.TXT;1
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1292 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1293 would be entered as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1294 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1295 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1296 /PUB$$:/ANONYMOUS/SDSCPUB/NEXT/README.TXT;1
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1297 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1298 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1299 (The double @samp{$} is required to prevent Emacs from attempting to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1300 expand an environment variable.) Similarly, to anonymously FTP the file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1301 @file{[.CSV.POLICY]RULES.MEM;1} from @code{ymir.claremont.edu} you would
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1302 type @kbd{C-x C-f
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1303 /anonymous@@ymir.claremont.edu:CSV/POLICY/RULES.MEM;1}. You can always
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1304 drop off the @samp{;##} part at the end of the filename to get the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1305 latest version.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1306
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1307 Sandy Rutherford provides some tips for using VMS hosts:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1308 @itemize @bullet
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1309 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1310 Although VMS is not case sensitive, EMACS running under UNIX is.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1311 Therefore, to access a VMS file, you must enter the filename with upper
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1312 case letters.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1313
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1314 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1315 To access the latest version of file under VMS, you use the filename
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1316 without the @samp{;} and version number. You should always edit the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1317 latest version of a file. If you want to edit an earlier version, copy
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1318 it to a new file first. This has nothing to do with EFS, but is
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1319 simply good VMS operating practice. Therefore, to edit @file{FILE.TXT;3}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1320 (say 3 is latest version), do @kbd{C-x C-f
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1321 /ymir.claremont.edu:FILE.TXT}. If you inadvertently do
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1322 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1323 @kbd{C-x C-f /ymir.claremont.edu:FILE.TXT;3}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1324 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1325 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1326 you will find that VMS will not allow
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1327 you to save the file because it will refuse to overwrite
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1328 @file{FILE.TXT;3}, but instead will want to create @file{FILE.TXT;4},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1329 and attach the buffer to this file. To get out of this situation,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1330 @kbd{M-x write-file /ymir.claremont.edu:FILE.TXT} will attach the buffer
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1331 to latest version of the file. For this reason, in Dired @kbd{f}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1332 (@code{dired-find-file}),
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1333 @findex dired-find-file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1334 always loads the file sans version, whereas @kbd{v},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1335 (@code{dired-view-file}),
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1336 @findex dired-view-file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1337 always loads the explicit version number. The
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1338 reasoning being that it reasonable to view old versions of a file, but
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1339 not to edit them.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1340
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1341 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1342 VMS filenames often contain @samp{$} characters: make sure you always
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1343 quote these as @samp{$$} and watch out for the Emacs bug which fails to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1344 quote @samp{$}'s when defaults are presented in the minibuffer: see
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1345 @xref{Bugs}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1346 @end itemize
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1347
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1348 EFS should automatically detect that you are using a VMS host. If
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1349 it fails to do so (which should be reported as a bug) you can use the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1350 command @code{efs-add-vms-host}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1351 @findex efs-add-vms-host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1352 to inform EFS manually. For a more permanent effect, or
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1353 if you use a VMS host regularly, it's a good idea to set
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1354 @code{efs-vms-host-regexp} to a regular expression matching that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1355 @vindex efs-vms-host-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1356 host's name. For instance, if use use @code{ymir.claremont.edu} a lot,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1357 place the following in your .emacs:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1358 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1359 (setq efs-vms-host-regexp "^ymir.claremont.edu$")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1360 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1361
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1362 @node CMS support, MTS support, VMS support, Non-Unix Hosts
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1363 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1364 @subsection CMS support
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1365 EFS has full support, including Dired support, for hosts
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1366 running CMS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1367
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1368 @cindex CMS filenames
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1369 CMS filenames are entered in a UNIX-y way. Minidisks are
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1370 treated as UNIX directories; for example to access the file @file{READ.ME} in
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1371 minidisk @file{*.311} on @file{cuvmb.cc.columbia.edu}, you would enter
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1372 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1373 /anonymous@@cuvmb.cc.columbia.edu:/*.311/READ.ME
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1374 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1375 If @file{*.301} is the default minidisk for this account, you could access
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1376 @file{FOO.BAR} on this minidisk as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1377 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1378 /anonymous@@cuvmb.cc.columbia.edu:FOO.BAR
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1379 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1380 CMS filenames are of the form @file{FILE.TYPE}, where both @file{FILE}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1381 and @file{TYPE} can be up to 8 characters. Again, beware that CMS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1382 filenames are always upper case, and hence must be entered as such.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1383
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1384 Sandy Rutherford provides some tips on using CMS hosts:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1385 @itemize @bullet
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1386 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1387 CMS machines, with the exception of anonymous accounts, nearly always
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1388 need an account password. To have EFS send an account password,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1389 you can either include it in your @file{.netrc} (@xref{Using a .netrc}), or use
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1390 @code{efs-set-account}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1391 @findex efs-set-account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1392
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1393 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1394 EFS cannot send ``write passwords'' for a minidisk. Hopefully, we
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1395 can fix this.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1396 @end itemize
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1397
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1398 EFS should automatically detect that you are using a CMS host. If
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1399 it fails to do so (which should be reported as a bug) you can use the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1400 command @code{efs-add-cms-host}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1401 @findex efs-add-cms-host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1402 to inform EFS manually. For a more permanent effect, or
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1403 if you use a CMS host regularly, it's a good idea to set
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1404 @code{efs-cms-host-regexp} to a regular expression matching that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1405 @vindex efs-cms-host-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1406 host's name.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1407
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1408 @node MTS support, , CMS support, Non-Unix Hosts
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1409 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1410 @subsection MTS support
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1411 EFS has full support, including Dired support, for hosts
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1412 running the Michigan terminal system, and should be able to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1413 automatically recognise any MTS machine.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1414
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1415 @cindex MTS filenames
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1416 MTS filenames are entered in a UNIX-y way. For example, if your account
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1417 was @file{YYYY}, the file @file{FILE} in the account @file{XXXX:} on
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1418 @file{mtsg.ubc.ca} would be entered as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1419 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1420 /YYYY@@mtsg.ubc.ca:/XXXX:/FILE
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1421 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1422 In other words, MTS accounts are treated as UNIX directories. Of course,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1423 to access a file in another account, you must have access permission for
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1424 it. If @file{FILE} were in your own account, then you could enter it in a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1425 relative path fashion as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1426 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1427 /YYYY@@mtsg.ubc.ca:FILE
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1428 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1429 MTS filenames can be up to 12 characters. Like UNIX, the structure of the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1430 filename does not contain a type (i.e. it can have as many @samp{.}'s as you
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1431 like.) MTS filenames are always in upper case, and hence be sure to enter
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1432 them as such! MTS is not case sensitive, but an EMACS running under UNIX
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1433 is.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1434
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1435 EFS should automatically detect that you are using an MTS host. If
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1436 it fails to do so (which should be reported as a bug) you can use the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1437 command @code{efs-add-mts-host}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1438 @findex efs-add-mts-host
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1439 to inform EFS manually. For a more permanent effect, or
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1440 if you use an MTS host regularly, it's a good idea to set
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1441 @code{efs-mts-host-regexp} to a regular expression matching that
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1442 @vindex efs-mts-host-regexp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1443 host's name.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1444
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1445 @node Completion, Accessing the FTP process, Non-Unix Hosts, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1446 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1447 @section File- and host-name completion
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1448
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1449 Full filename completion is supported on all remote UNIX hosts and some
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1450 non-Unix hosts. Hostnames also have completion if they are mentioned in
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1451 the @file{.netrc} and no username is specified. However using the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1452 filename completion feature can be a bit of a two edged sword.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1453
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1454 To understand why, we need to discuss how EFS works. Whenever
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1455 EFS is asked to find a remote file (or directory) an @code{ls}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1456 command is sent to the FTP process to list all the files in the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1457 directory. This list is maintained in an internal cache, to provide
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1458 filename completion for later requests on that directory. EFS keeps
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1459 this cache up-to-date by monitoring Emacs commands which affect files
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1460 and directories, but if a process outside Emacs (such as another user)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1461 changes a directory (e.g. a new file is added)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1462 completion won't work on
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1463 that file since EFS doesn't know about it yet. The solution if to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1464 force EFS to reread the directory and update it's cache, and the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1465 easiest way to do that is with Dired --- @xref{Using Dired} to see how.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1466
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1467 Another problem is that the @code{ls} command can take a long time,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1468 especially when dealing with distant hosts over slow links. So if you're
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1469 after a file in the @file{pub/images} directory but nothing else, it's a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1470 better idea to type @kbd{pub/images/file @key{TAB}} than @kbd{pub/im @key{TAB}}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1471 which will force a read of the @file{pub} directory (since
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1472 EFS needs to know how to complete @code{im}). A little extra typing
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1473 can often save a lot of waiting. Don't be afraid to use the @key{TAB}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1474 key once the directory is cached, though.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1475
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1476 @node Accessing the FTP process, , Completion, Using EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1477 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1478 @section Accessing the FTP process buffer
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1479
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1480 The FTP process used to access the remote files is available for access
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1481 if you wish. It will be in a buffer
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1482 @cindex process buffers
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1483 @cindex buffers
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1484 called @samp{"*ftp @var{remote-file-name}*"},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1485 i.e. if you found the file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1486 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1487 /anonymous@@archive.site.com:pub/README
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1488 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1489 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1490 there will be a buffer
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1491 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1492 *ftp anonymous@@archive.site.com*
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1493 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1494 @noindent
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1495 where all the transfers are taking place. You can have a look at the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1496 buffer using @kbd{C-x b} as usual, and even type in commands to the FTP
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1497 process under an interface very much like @samp{shell-mode}. There are
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1498 two instances when doing this can be very useful: one is accessing
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1499 non-UNIX hosts, where Dired and filename completion may not work (if EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1500 even works at all). If you are going to use @code{mget} or @code{mput},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1501 make sure you type @code{glob} first: EFS turns globbing off by
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1502 default. Don't be afraid of changing directories, either --- EFS always
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1503 uses absolute pathnames when communicating with the FTP process.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1504
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1505 You can kill the FTP process at any time simply by killing this buffer.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1506 @cindex FTP processes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1507 @cindex processes
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1508 You can also call @code{efs-kill-ftp-process}.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1509 @findex efs-kill-ftp-process
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1510 This won't cause EFS any grief whatsoever --- if you later make
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1511 another request to that host, EFS will simply fire up another
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1512 process and create a new buffer to hold it.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1513
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1514 @node Getting help, Bugs, Using EFS, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1515 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1516 @chapter Getting help
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1517
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1518 EFS has its own mailing list called @t{efs-help}. All users of EFS
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1519 are welcome to subscribe (see below) and to discuss aspects of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1520 EFS.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1521
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1522 To [un]subscribe to @t{efs-help}, or to report mailer problems with the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1523 list, please mail one of the following addresses:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1524
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1525 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1526 efs-help-request@@cuckoo.hpl.hp.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1527 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1528 or
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1529 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1530 efs-help-request%cuckoo.hpl.hp.com@@hplb.hpl.hp.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1531 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1532
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1533 Please don't forget the @t{-request} part.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1534
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1535 For mail to be posted directly to @t{efs-help}, send to one of the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1536 following addresses:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1537
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1538 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1539 efs-help@@cuckoo.hpl.hp.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1540 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1541 or
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1542 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1543 efs-help%cuckoo.hpl.hp.com@@hplb.hpl.hp.com
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1544 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1545
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1546 Alternatively, there is a mailing list that only gets
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1547 announcements of new EFS releases. This is called @t{efs-announce},
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1548 and can be subscribed to by e-mailing to the @t{-request} address as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1549 above. Please make it clear in the request which mailing list you
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1550 wish to join.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1551
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1552 Mailing list archives are also accessible from this web page:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1553
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1554 @example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1555 http://www-uk.hpl.hp.com/people/ange/efs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1556 @end example
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1557
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1558
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1559 @node Bugs, Concept Index, Getting help, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1560 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1561 @chapter Bugs and Wish List
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1562
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1563
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1564 If you find any bugs or problems with this package, @strong{please}
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1565 e-mail the authors. Ideas and constructive comments are especially
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1566 welcome. So are any enhancements to EFS, preferably debugged and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1567 documented. Also welcome are any typo fixes, corrections or additions to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1568 this manual.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1569
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1570 Here is a list of known bugs:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1571
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1572 If you hit a bug in this list, please report it anyway. Most of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1573 the bugs here remain unfixed because they are considered too
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1574 esoteric to be a high priority. If one of them gets reported
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1575 enough, we will likely change our view on that.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1576
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1577 @enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1578 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1579 EFS does not check to make sure that when creating a new file,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1580 you provide a valid filename for the remote operating system.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1581 If you do not, then the remote FTP server will most likely
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1582 translate your filename in some way. This may cause EFS to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1583 get confused about what exactly is the name of the file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1584
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1585 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1586 For CMS support, we send too many @code{cd}'s. Since @code{cd}'s are
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1587 cheap, I haven't worried about this too much. Eventually, we should have
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1588 some caching of the current minidisk. This is complicated by the fact
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1589 that some CMS servers lie about the current minidisk, so sending
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1590 redundant cd's helps us recover in this case.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1591
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1592 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1593 The code to do compression of files over ftp is not as careful as it
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1594 should be. It deletes the old remote version of the file, before
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1595 actually checking if the local to remote transfer of the compressed file
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1596 succeeds. Of course to delete the original version of the file after
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1597 transferring the compressed version back is also dangerous, because some
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1598 OS's have severe restrictions on the length of filenames, and when the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1599 compressed version is copied back the @code{"-Z"} or @code{".Z"} may be
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1600 truncated. Then, EFS would delete the only remaining version of the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1601 file. Maybe EFS should make backups when it compresses files (of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1602 course, the backup @code{"~"} could also be truncated off, sigh...).
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1603 Suggestions?
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1604
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1605 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1606 If a dir listing is attempted for an empty directory on (at least
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1607 some) VMS hosts, an ftp error is given. This is really an ftp bug, and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1608 I don't know how to get EFS work to around it.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1609
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1610 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1611 EFS gets confused by directories containing file names with embedded
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1612 newlines. A temporary solution is to add @code{"q"} to your dired
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1613 listing switches. As long as your dired listing switches also contain
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1614 @code{"l"} and either @code{"a"} or @code{"A"}, EFS will use these
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1615 switches to get listings for its internal cache. The "q" switch should
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1616 force listings to be exactly one file per line. You still will not be
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1617 able to access a file with embedded newlines, but at least it won't mess
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1618 up the parsing of the rest of the files.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1619
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1620 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1621 EFS cannot parse symlinks which have an embedded @code{" -> "} in their
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1622 name. It's alright to have an embedded @code{" -> "} in the name of any
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1623 other type of file. A fix is possible, but probably not worth the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1624 trouble. If you disagree, send us a bug report.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1625
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1626 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1627 EFS doesn't handle context-dep. files in H-switch listings on
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1628 HP's. It wouldn't be such a big roaring deal to fix this. I'm
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1629 waiting until I get an actual bug report though.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1630
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1631 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1632 If a hard link is added or deleted, EFS will not update its
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1633 internal cache of the link count for other names of the file.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1634 This may cause file-nlinks to return incorrectly. Reverting
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1635 any dired buffer containing other names for the file will
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1636 cause the file data to be updated, including the link counts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1637 A fix for this problem is known and will be eventually
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1638 implemented. How it is implemented will depend on how we decide
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1639 to handle inodes. See below.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1640
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1641 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1642 EFS is unable to parse R-switch listings from remote Unix hosts.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1643 This is inefficient, because EFS will insist on doing individual
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1644 listings of the subdirectories to get its file information.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1645 This may be fixed if there is enough demand.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1646
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1647 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1648 In file-attributes, EFS returns a fake inode number. Of course
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1649 this is necessary, but this inode number is not even necessarily
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1650 unique. It is simply the sum of the characters (treated as
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1651 integers) in the host name, user name, and file name. Possible
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1652 ways to get a unique inode number are:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1653
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1654 @enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1655 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1656 Simply keep a count of all remote file in the cache, and
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1657 return the file's position in this count as a negative number.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1658 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1659 For unix systems, we could actually get at the real inode number on the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1660 remote host, by adding an @code{"i"} to the ls switches. The inode
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1661 numbers would then be removed from the listing returned by @code{efs-ls}, if
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1662 the caller hadn't requested the @code{"i"} switch. We could then make a
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1663 unique number out of the host name and the real inode number.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1664 @end enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1665
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1666 @item
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1667 EFS tries to determine if a file is readable or writable by comparing
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1668 the file modes, file owner, and user name under which it is logged
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1669 into the remote host. This does not take into account groups.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1670 We simply assume that the user belongs to all groups. As a result
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1671 we may assume that a file is writable, when in fact it is not.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1672 Groups are tough to handle correctly over FTP. Suggestions?
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1673 (For new FTP servers, can do a @code{"QUOTE SITE EXEC groups"} to
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1674 handle this.)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1675 @end enumerate
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1676
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1677
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1678 @node Concept Index, Variable and function index, Bugs, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1679 @comment node-name, next, previous, up
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1680 @unnumbered Concept Index
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1681
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1682 @printindex cp
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1683
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1684 @node Variable and function index, , Concept Index, Top
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1685 @unnumbered Variable and function index
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1686
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1687 @printindex vr
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1688
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1689 @contents
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1690
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1691 @bye
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1692