diff options
| author | Kai Großjohann | 2004-02-29 17:52:17 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2004-02-29 17:52:17 +0000 |
| commit | 5ec2cc41db095268a8597af7705bfc3d156b99db (patch) | |
| tree | 0dcf5f2e73da2e610f04417e80290c58f314e814 /man | |
| parent | cc86f83f38c5c9ffbe8ac6a2a5ba35b9e9080a93 (diff) | |
| download | emacs-5ec2cc41db095268a8597af7705bfc3d156b99db.tar.gz emacs-5ec2cc41db095268a8597af7705bfc3d156b99db.zip | |
Tramp: sync with upstream version 2.0.39.
Diffstat (limited to 'man')
| -rw-r--r-- | man/ChangeLog | 17 | ||||
| -rw-r--r-- | man/tramp.texi | 269 | ||||
| -rw-r--r-- | man/trampver.texi | 5 |
3 files changed, 209 insertions, 82 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 9d95b6bae45..c1e3859986c 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2004-02-29 Kai Grossjohann <kgrossjo@eu.uu.net> | ||
| 2 | Tramp version 2.0.39 released. | ||
| 3 | |||
| 4 | 2004-02-29 Michael Albinus <Michael.Albinus@alcatel.de> | ||
| 5 | |||
| 6 | * tramp.texi (Customizing Completion): Explain new functions | ||
| 7 | `tramp-parse-shostkeys' and `tramp-parse-sknownhosts'. | ||
| 8 | (all): Savannah URLs unified to "http://savannah.nongnu.org". | ||
| 9 | (Top): Refer to Savannah mailing list as the major one. Mention | ||
| 10 | older mailing lists in HTML mode only. | ||
| 11 | (Auto-save and Backup): Add auto-save. Based on wording of Kai. | ||
| 12 | (Frequently Asked Questions): Remote hosts must not be Unix-like | ||
| 13 | for "smb" method. | ||
| 14 | (Password caching): New node. | ||
| 15 | (External transfer methods): Refer to password caching for "smb" | ||
| 16 | method. | ||
| 17 | |||
| 1 | 2004-02-23 Nick Roberts <nick@nick.uklinux.net> | 18 | 2004-02-23 Nick Roberts <nick@nick.uklinux.net> |
| 2 | 19 | ||
| 3 | * building.texi (Watch Expressions): Update. | 20 | * building.texi (Watch Expressions): Update. |
diff --git a/man/tramp.texi b/man/tramp.texi index ada4d63fa55..ffc22837b54 100644 --- a/man/tramp.texi +++ b/man/tramp.texi | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | @end macro | 30 | @end macro |
| 31 | 31 | ||
| 32 | @copying | 32 | @copying |
| 33 | Copyright @copyright{} 1999, 2000, 2001, 2002, 2003 Free Software | 33 | Copyright @copyright{} 1999, 2000, 2001, 2002, 2003, 2004 Free Software |
| 34 | Foundation, Inc. | 34 | Foundation, Inc. |
| 35 | 35 | ||
| 36 | @quotation | 36 | @quotation |
| @@ -54,10 +54,10 @@ license to the document, as described in section 6 of the license. | |||
| 54 | @end copying | 54 | @end copying |
| 55 | 55 | ||
| 56 | @c Entries for @command{install-info} to use | 56 | @c Entries for @command{install-info} to use |
| 57 | @dircategory Emacs | 57 | @dircategory @value{emacs-name} |
| 58 | @direntry | 58 | @direntry |
| 59 | * TRAMP: (tramp). Transparent Remote Access, Multiple Protocol | 59 | * TRAMP: (tramp). Transparent Remote Access, Multiple Protocol |
| 60 | Emacs remote file access via rsh and rcp. | 60 | @value{emacs-name} remote file access via rsh and rcp. |
| 61 | @end direntry | 61 | @end direntry |
| 62 | 62 | ||
| 63 | @tex | 63 | @tex |
| @@ -108,18 +108,27 @@ Japanese translation}. | |||
| 108 | @end ifset | 108 | @end ifset |
| 109 | 109 | ||
| 110 | The latest release of @tramp{} is available for | 110 | The latest release of @tramp{} is available for |
| 111 | @uref{http://savannah.gnu.org/download/tramp/, | 111 | @uref{http://savannah.nongnu.org/download/tramp/, |
| 112 | download}, or you may see @ref{Obtaining @tramp{}} for more details, | 112 | download}, or you may see @ref{Obtaining @tramp{}} for more details, |
| 113 | including the CVS server details. | 113 | including the CVS server details. |
| 114 | 114 | ||
| 115 | @tramp{} also has a @uref{https://savannah.gnu.org/projects/tramp/, | 115 | @tramp{} also has a @uref{http://savannah.nongnu.org/projects/tramp/, |
| 116 | Savannah Project Page}. | 116 | Savannah Project Page}. |
| 117 | @end ifhtml | 117 | @end ifhtml |
| 118 | 118 | ||
| 119 | There is a mailing list for @tramp{}, available at | 119 | There is a mailing list for @tramp{}, available at |
| 120 | @email{tramp-devel@@mail.freesoftware.fsf.org}, and archived at | 120 | @email{tramp-devel@@mail.freesoftware.fsf.org}, and archived at |
| 121 | @uref{http://www.mail-archive.com/emacs-rcp@@ls6.cs.uni-dortmund.de/} as | 121 | @uref{http://savannah.nongnu.org/mail/?group=tramp, Savannah Mail |
| 122 | well as the usual Savannah archives. | 122 | Archive}. |
| 123 | @ifhtml | ||
| 124 | Older archives are located at | ||
| 125 | @uref{http://sourceforge.net/mailarchive/forum.php?forum=tramp-devel, | ||
| 126 | SourceForge Mail Archive} and | ||
| 127 | @uref{http://www.mail-archive.com/emacs-rcp@@ls6.cs.uni-dortmund.de/, | ||
| 128 | The Mail Archive}. | ||
| 129 | @c in HTML output, there's no new paragraph. | ||
| 130 | @*@* | ||
| 131 | @end ifhtml | ||
| 123 | 132 | ||
| 124 | @insertcopying | 133 | @insertcopying |
| 125 | 134 | ||
| @@ -168,6 +177,7 @@ Configuring @tramp{} for use | |||
| 168 | * Default Method:: Selecting a default method. | 177 | * Default Method:: Selecting a default method. |
| 169 | * Customizing Methods:: Using Non-Standard Methods. | 178 | * Customizing Methods:: Using Non-Standard Methods. |
| 170 | * Customizing Completion:: Selecting config files for user/host name completion. | 179 | * Customizing Completion:: Selecting config files for user/host name completion. |
| 180 | * Password caching:: Reusing passwords for several connections. | ||
| 171 | * Remote Programs:: How @tramp{} finds and uses programs on the remote machine. | 181 | * Remote Programs:: How @tramp{} finds and uses programs on the remote machine. |
| 172 | * Remote shell setup:: Remote shell setup hints. | 182 | * Remote shell setup:: Remote shell setup hints. |
| 173 | * Windows setup hints:: Issues with Cygwin ssh. | 183 | * Windows setup hints:: Issues with Cygwin ssh. |
| @@ -383,20 +393,15 @@ following URL and then clicking on the CVS link in the navigation bar | |||
| 383 | at the top. | 393 | at the top. |
| 384 | 394 | ||
| 385 | @noindent | 395 | @noindent |
| 386 | @uref{http://savannah.gnu.org/projects/tramp/} | 396 | @uref{http://savannah.nongnu.org/projects/tramp/} |
| 387 | 397 | ||
| 388 | @noindent | 398 | @noindent |
| 389 | Or follow the example session below: | 399 | Or follow the example session below: |
| 390 | 400 | ||
| 391 | @example | 401 | @example |
| 392 | ] @strong{cd ~/@value{emacs-dir}} | 402 | ] @strong{cd ~/@value{emacs-dir}} |
| 393 | ] @strong{cvs -d:pserver:anoncvs@@subversions.gnu.org:/cvsroot/tramp login} | 403 | ] @strong{export CVS_RSH="ssh"} |
| 394 | 404 | ] @strong{cvs -z3 -d:ext:anoncvs@@savannah.nongnu.org:/cvsroot/tramp co tramp} | |
| 395 | (Logging in to anoncvs@@subversions.gnu.org) | ||
| 396 | CVS password: @strong{(just hit RET here)} | ||
| 397 | @dots{} | ||
| 398 | |||
| 399 | ] @strong{cvs -z3 -d:pserver:anoncvs@@subversions.gnu.org:/cvsroot/tramp co tramp} | ||
| 400 | @end example | 405 | @end example |
| 401 | 406 | ||
| 402 | @noindent | 407 | @noindent |
| @@ -406,6 +411,7 @@ updates from the repository by issuing the command: | |||
| 406 | 411 | ||
| 407 | @example | 412 | @example |
| 408 | ] @strong{cd ~/@value{emacs-dir}/tramp} | 413 | ] @strong{cd ~/@value{emacs-dir}/tramp} |
| 414 | ] @strong{export CVS_RSH="ssh"} | ||
| 409 | ] @strong{cvs update -d} | 415 | ] @strong{cvs update -d} |
| 410 | @end example | 416 | @end example |
| 411 | 417 | ||
| @@ -480,6 +486,7 @@ Method}. | |||
| 480 | is right for them. | 486 | is right for them. |
| 481 | * Customizing Methods:: Using Non-Standard Methods. | 487 | * Customizing Methods:: Using Non-Standard Methods. |
| 482 | * Customizing Completion:: Selecting config files for user/host name completion. | 488 | * Customizing Completion:: Selecting config files for user/host name completion. |
| 489 | * Password caching:: Reusing passwords for several connections. | ||
| 483 | * Remote Programs:: How @tramp{} finds and uses programs on the remote machine. | 490 | * Remote Programs:: How @tramp{} finds and uses programs on the remote machine. |
| 484 | * Remote shell setup:: Remote shell setup hints. | 491 | * Remote shell setup:: Remote shell setup hints. |
| 485 | * Windows setup hints:: Issues with Cygwin ssh. | 492 | * Windows setup hints:: Issues with Cygwin ssh. |
| @@ -554,9 +561,9 @@ allow you to transfer files between @emph{user identities} rather than | |||
| 554 | hosts, see below.) | 561 | hosts, see below.) |
| 555 | 562 | ||
| 556 | These methods depend on the existence of a suitable encoding and | 563 | These methods depend on the existence of a suitable encoding and |
| 557 | decoding command on remote machine. Locally, @tramp{} may be able to use | 564 | decoding command on remote machine. Locally, @tramp{} may be able to |
| 558 | features of Emacs to decode and encode the files or it may require | 565 | use features of @value{emacs-name} to decode and encode the files or |
| 559 | access to external commands to perform that task. | 566 | it may require access to external commands to perform that task. |
| 560 | 567 | ||
| 561 | @cindex uuencode | 568 | @cindex uuencode |
| 562 | @cindex mimencode | 569 | @cindex mimencode |
| @@ -662,11 +669,11 @@ question (yet), therefore you will need to make sure that you can log | |||
| 662 | in without such questions. | 669 | in without such questions. |
| 663 | 670 | ||
| 664 | This is also useful for Windows users where @command{ssh}, when | 671 | This is also useful for Windows users where @command{ssh}, when |
| 665 | invoked from an Emacs buffer, tells them that it is not allocating a | 672 | invoked from an @value{emacs-name} buffer, tells them that it is not |
| 666 | pseudo tty. When this happens, the login shell is wont to not print | 673 | allocating a pseudo tty. When this happens, the login shell is wont |
| 667 | any shell prompt, which confuses @tramp{} mightily. For reasons | 674 | to not print any shell prompt, which confuses @tramp{} mightily. For |
| 668 | unknown, some Windows ports for @command{ssh} (maybe the Cygwin one) | 675 | reasons unknown, some Windows ports for @command{ssh} (maybe the |
| 669 | require the doubled @samp{-t} option. | 676 | Cygwin one) require the doubled @samp{-t} option. |
| 670 | 677 | ||
| 671 | This supports the @samp{-p} kludge. | 678 | This supports the @samp{-p} kludge. |
| 672 | 679 | ||
| @@ -820,10 +827,10 @@ just gives @tramp{} a more-or-less `standard' login shell to work | |||
| 820 | with. | 827 | with. |
| 821 | 828 | ||
| 822 | This is also useful for Windows users where @command{ssh}, when | 829 | This is also useful for Windows users where @command{ssh}, when |
| 823 | invoked from an Emacs buffer, tells them that it is not allocating a | 830 | invoked from an @value{emacs-name} buffer, tells them that it is not |
| 824 | pseudo tty. When this happens, the login shell is wont to not print | 831 | allocating a pseudo tty. When this happens, the login shell is wont |
| 825 | any shell prompt, which confuses @tramp{} mightily. Maybe this | 832 | to not print any shell prompt, which confuses @tramp{} mightily. |
| 826 | applies to the Cygwin port of SSH. | 833 | Maybe this applies to the Cygwin port of SSH. |
| 827 | 834 | ||
| 828 | This method supports the @samp{-p} hack. | 835 | This method supports the @samp{-p} hack. |
| 829 | 836 | ||
| @@ -864,19 +871,21 @@ This method uses the command @samp{fsh @var{host} -l @var{user} | |||
| 864 | 871 | ||
| 865 | @cindex method fsh | 872 | @cindex method fsh |
| 866 | @cindex fsh method | 873 | @cindex fsh method |
| 874 | |||
| 867 | There is no inline method using @command{fsh} as the multiplexing | 875 | There is no inline method using @command{fsh} as the multiplexing |
| 868 | provided by the program is not very useful in our context. @tramp{} | 876 | provided by the program is not very useful in our context. @tramp{} |
| 869 | opens just one connection to the remote host and then keeps it open, | 877 | opens just one connection to the remote host and then keeps it open, |
| 870 | anyway. | 878 | anyway. |
| 871 | 879 | ||
| 872 | 880 | ||
| 873 | @ifset emacs | ||
| 874 | @item @option{ftp} | 881 | @item @option{ftp} |
| 875 | @cindex method ftp | 882 | @cindex method ftp |
| 876 | @cindex ftp method | 883 | @cindex ftp method |
| 877 | 884 | ||
| 878 | This is not a native @tramp{} method. Instead of, it forwards all | 885 | This is not a native @tramp{} method. Instead of, it forwards all |
| 879 | requests to @value{ftp-package-name}. | 886 | requests to @value{ftp-package-name}. |
| 887 | @ifset xemacs | ||
| 888 | This works only for unified filenames, see @ref{Issues}. | ||
| 880 | @end ifset | 889 | @end ifset |
| 881 | 890 | ||
| 882 | 891 | ||
| @@ -899,7 +908,7 @@ directory @code{/}), all available shares are listed. | |||
| 899 | 908 | ||
| 900 | Since authorization is done on share level, you will be prompted | 909 | Since authorization is done on share level, you will be prompted |
| 901 | always for a password if you access another share on the same host. | 910 | always for a password if you access another share on the same host. |
| 902 | Due to security reasons, the password is not cached. | 911 | This can be suppressed by @ref{Password caching}. |
| 903 | 912 | ||
| 904 | MS Windows uses for authorization both a user name and a domain name. | 913 | MS Windows uses for authorization both a user name and a domain name. |
| 905 | Because of this, the @tramp{} syntax has been extended: you can | 914 | Because of this, the @tramp{} syntax has been extended: you can |
| @@ -917,10 +926,11 @@ methods, where in such a case the local user name is taken. | |||
| 917 | 926 | ||
| 918 | The @option{smb} method supports the @samp{-p} hack. | 927 | The @option{smb} method supports the @samp{-p} hack. |
| 919 | 928 | ||
| 920 | @strong{Please note:} If Emacs runs locally under MS Windows, this | 929 | @strong{Please note:} If @value{emacs-name} runs locally under MS |
| 921 | method isn't available. Instead of, you can use UNC file names like | 930 | Windows, this method isn't available. Instead of, you can use UNC |
| 922 | @file{//melancholia/daniel$$/.emacs}. The only disadvantage is that | 931 | file names like @file{//melancholia/daniel$$/.emacs}. The only |
| 923 | there's no possibility to specify another user name. | 932 | disadvantage is that there's no possibility to specify another user |
| 933 | name. | ||
| 924 | 934 | ||
| 925 | @end table | 935 | @end table |
| 926 | 936 | ||
| @@ -1197,6 +1207,21 @@ in such files, it can return host names only. | |||
| 1197 | This function returns the host nicknames defined by @code{Host} entries | 1207 | This function returns the host nicknames defined by @code{Host} entries |
| 1198 | in @file{~/.ssh/config} style files. | 1208 | in @file{~/.ssh/config} style files. |
| 1199 | 1209 | ||
| 1210 | @item @code{tramp-parse-shostkeys} | ||
| 1211 | @findex tramp-parse-shostkeys | ||
| 1212 | |||
| 1213 | SSH2 parsing of directories @file{/etc/ssh2/hostkeys/*} and | ||
| 1214 | @file{~/ssh2/hostkeys/*}. Hosts are coded in file names | ||
| 1215 | @file{hostkey_PORTNUMBER_HOST-NAME.pub}. User names are always nil. | ||
| 1216 | |||
| 1217 | @item @code{tramp-parse-sknownhosts} | ||
| 1218 | @findex tramp-parse-shostkeys | ||
| 1219 | |||
| 1220 | Another SSH2 style parsing of directories like | ||
| 1221 | @file{/etc/ssh2/knownhosts/*} and @file{~/ssh2/knownhosts/*}. This | ||
| 1222 | case, hosts names are coded in file names | ||
| 1223 | @file{HOST-NAME.ALGORITHM.pub}. User names are always nil. | ||
| 1224 | |||
| 1200 | @item @code{tramp-parse-hosts} | 1225 | @item @code{tramp-parse-hosts} |
| 1201 | @findex tramp-parse-hosts | 1226 | @findex tramp-parse-hosts |
| 1202 | 1227 | ||
| @@ -1233,6 +1258,49 @@ Example: | |||
| 1233 | @end defun | 1258 | @end defun |
| 1234 | 1259 | ||
| 1235 | 1260 | ||
| 1261 | @node Password caching | ||
| 1262 | @section Reusing passwords for several connections. | ||
| 1263 | @cindex passwords | ||
| 1264 | |||
| 1265 | Sometimes it is necessary to connect to the same remote host several | ||
| 1266 | times. Reentering passwords again and again would be annoying, when | ||
| 1267 | the choosen method does not support access without password prompt | ||
| 1268 | throught own configuration. | ||
| 1269 | |||
| 1270 | By default, @tramp{} caches the passwords entered by you. They will | ||
| 1271 | be reused next time if a connection needs them for the same user name | ||
| 1272 | and host name, independant of the connection method. | ||
| 1273 | |||
| 1274 | @vindex password-cache-expiry | ||
| 1275 | Passwords are not saved permanently, that means the password caching | ||
| 1276 | is limited to the lifetime of your @value{emacs-name} session. You | ||
| 1277 | can influence the lifetime of password caching by customizing the | ||
| 1278 | variable @code{password-cache-expiry}. The value is the number of | ||
| 1279 | seconds how long passwords are cached. Setting it to @code{nil} | ||
| 1280 | disables the expiration. | ||
| 1281 | |||
| 1282 | @findex tramp-clear-passwd | ||
| 1283 | A password is removed from the cache if a connection isn't established | ||
| 1284 | successfully. You can remove a password from the cache also by | ||
| 1285 | executing @kbd{M-x tramp-clear-passwd} in a buffer containing a | ||
| 1286 | related remote file or directory. | ||
| 1287 | |||
| 1288 | @vindex password-cache | ||
| 1289 | If you don't like this feature for security reasons, password caching | ||
| 1290 | can be disabled totally by customizing the variable | ||
| 1291 | @code{password-cache} (setting it to @code{nil}). | ||
| 1292 | |||
| 1293 | Implementation Note: password caching is based on the package | ||
| 1294 | password.el in No Gnus. For the time being, it is activated only when | ||
| 1295 | this package is seen in the @code{load-path} while loading @tramp{}. | ||
| 1296 | @ifset tramp-inst | ||
| 1297 | If you don't use No Gnus, you can take password.el from the @tramp{} | ||
| 1298 | @file{contrib} directory, see @ref{Installation parameters}. | ||
| 1299 | @end ifset | ||
| 1300 | It will be activated mandatory once No Gnus has found its way into | ||
| 1301 | @value{emacs-name}. | ||
| 1302 | |||
| 1303 | |||
| 1236 | @node Remote Programs | 1304 | @node Remote Programs |
| 1237 | @section How @tramp{} finds and uses programs on the remote machine. | 1305 | @section How @tramp{} finds and uses programs on the remote machine. |
| 1238 | 1306 | ||
| @@ -1426,16 +1494,15 @@ find out if the shell is Bourne-ish? | |||
| 1426 | @cindex backup | 1494 | @cindex backup |
| 1427 | @vindex backup-directory-alist | 1495 | @vindex backup-directory-alist |
| 1428 | 1496 | ||
| 1429 | Explaining auto-save is still to do. | 1497 | Normally, @value{emacs-name} writes backup files to the same directory |
| 1430 | 1498 | as the original files, but this behavior can be changed via the | |
| 1431 | Normally, Emacs writes backup files to the same directory as the | 1499 | variable @code{backup-directory-alist}. In connection with @tramp{}, |
| 1432 | original files, but this behavior can be changed via the variable | 1500 | this can have unexpected side effects. Suppose that you specify that |
| 1433 | @code{backup-directory-alist}. In connection with @tramp{}, this can | 1501 | all backups should go to the directory @file{~/.emacs.d/backups/}, and |
| 1434 | have unexpected side effects. Suppose that you specify that all backups | 1502 | then you edit the file @file{/su:root@@localhost:/etc/secretfile}. |
| 1435 | should go to the directory @file{~/.emacs.d/backups/}, and then you edit | 1503 | The effect is that the backup file will be owned by you and not by |
| 1436 | the file @file{/su:root@@localhost:/etc/secretfile}. The effect is that | 1504 | root, thus possibly enabling others to see it even if they were not |
| 1437 | the backup file will be owned by you and not by root, thus possibly | 1505 | intended to see it. |
| 1438 | enabling others to see it even if they were not intended to see it. | ||
| 1439 | 1506 | ||
| 1440 | When @code{backup-directory-alist} is nil (the default), such problems | 1507 | When @code{backup-directory-alist} is nil (the default), such problems |
| 1441 | do not occur. | 1508 | do not occur. |
| @@ -1451,6 +1518,29 @@ effectively `turns off' the effect of @code{backup-directory-alist} for | |||
| 1451 | (cons tramp-file-name-regexp nil)) | 1518 | (cons tramp-file-name-regexp nil)) |
| 1452 | @end lisp | 1519 | @end lisp |
| 1453 | 1520 | ||
| 1521 | The same problem can happen with auto-saving files. | ||
| 1522 | @ifset emacs | ||
| 1523 | Since @value{emacs-name} 21, the variable | ||
| 1524 | @code{auto-save-file-name-transforms} keeps information, on which | ||
| 1525 | directory an auto-saved file should go. By default, it is initialized | ||
| 1526 | for @tramp{} files to the local temporary directory. | ||
| 1527 | |||
| 1528 | On some versions of @value{emacs-name}, namely the version built for | ||
| 1529 | Debian Linux, the variable @code{auto-save-file-name-transforms} | ||
| 1530 | contains the directory where @value{emacs-name} was built. A | ||
| 1531 | workaround is to manually set the variable to a sane value. | ||
| 1532 | |||
| 1533 | If auto-saved files should go into the same directory as the original | ||
| 1534 | files, @code{auto-save-file-name-transforms} should be set to nil. | ||
| 1535 | |||
| 1536 | Another possibility is to set the variable | ||
| 1537 | @code{tramp-auto-save-directory} to a proper value. | ||
| 1538 | @end ifset | ||
| 1539 | @ifset xemacs | ||
| 1540 | For this purpose you can set the variable | ||
| 1541 | @code{tramp-auto-save-directory} to a proper value. | ||
| 1542 | @end ifset | ||
| 1543 | |||
| 1454 | 1544 | ||
| 1455 | @node Windows setup hints | 1545 | @node Windows setup hints |
| 1456 | @section Issues with Cygwin ssh | 1546 | @section Issues with Cygwin ssh |
| @@ -1468,29 +1558,30 @@ setting up Cygwin in their FAQ at @uref{http://cygwin.com/faq/}. | |||
| 1468 | @cindex method scpx with Cygwin | 1558 | @cindex method scpx with Cygwin |
| 1469 | @cindex scpx method with Cygwin | 1559 | @cindex scpx method with Cygwin |
| 1470 | If you wish to use the @code{scpx} connection method, then you might | 1560 | If you wish to use the @code{scpx} connection method, then you might |
| 1471 | have the problem that Emacs calls @code{scp} with a Windows filename | 1561 | have the problem that @value{emacs-name} calls @code{scp} with a |
| 1472 | such as @code{c:/foo}. The Cygwin version of @code{scp} does not know | 1562 | Windows filename such as @code{c:/foo}. The Cygwin version of |
| 1473 | about Windows filenames and interprets this as a remote filename on the | 1563 | @code{scp} does not know about Windows filenames and interprets this |
| 1474 | host @code{c}. | 1564 | as a remote filename on the host @code{c}. |
| 1475 | 1565 | ||
| 1476 | One possible workaround is to write a wrapper script for @code{scp} | 1566 | One possible workaround is to write a wrapper script for @code{scp} |
| 1477 | which converts the Windows filename to a Cygwinized filename. | 1567 | which converts the Windows filename to a Cygwinized filename. |
| 1478 | 1568 | ||
| 1479 | I guess that another workaround is to run Emacs under Cygwin, or to run | 1569 | I guess that another workaround is to run @value{emacs-name} under |
| 1480 | a Cygwinized Emacs. | 1570 | Cygwin, or to run a Cygwinized @value{emacs-name}. |
| 1481 | 1571 | ||
| 1482 | @cindex Cygwin and ssh-agent | 1572 | @cindex Cygwin and ssh-agent |
| 1483 | @cindex SSH_AUTH_SOCK and Emacs on Windows | 1573 | @cindex SSH_AUTH_SOCK and @value{emacs-name} on Windows |
| 1484 | If you want to use either @code{ssh} based method on Windows, then you | 1574 | If you want to use either @code{ssh} based method on Windows, then you |
| 1485 | might encounter problems with @code{ssh-agent}. Using this program, | 1575 | might encounter problems with @code{ssh-agent}. Using this program, |
| 1486 | you can avoid typing the pass-phrase every time you log in (and the | 1576 | you can avoid typing the pass-phrase every time you log in (and the |
| 1487 | @code{scpx} method more or less requires you to use @code{ssh-agent} | 1577 | @code{scpx} method more or less requires you to use @code{ssh-agent} |
| 1488 | because it does not allow you to type a password or pass-phrase). | 1578 | because it does not allow you to type a password or pass-phrase). |
| 1489 | However, if you start Emacs from a desktop shortcut, then the | 1579 | However, if you start @value{emacs-name} from a desktop shortcut, then |
| 1490 | environment variable @code{SSH_AUTH_SOCK} is not set and so Emacs and | 1580 | the environment variable @code{SSH_AUTH_SOCK} is not set and so |
| 1491 | thus @tramp{} and thus @code{ssh} and @code{scp} started from @tramp{} | 1581 | @value{emacs-name} and thus @tramp{} and thus @code{ssh} and |
| 1492 | cannot communicate with @code{ssh-agent}. It works better to start | 1582 | @code{scp} started from @tramp{} cannot communicate with |
| 1493 | Emacs from the shell. | 1583 | @code{ssh-agent}. It works better to start @value{emacs-name} from |
| 1584 | the shell. | ||
| 1494 | 1585 | ||
| 1495 | If anyone knows how to start @code{ssh-agent} under Windows in such a | 1586 | If anyone knows how to start @code{ssh-agent} under Windows in such a |
| 1496 | way that desktop shortcuts can profit, please holler. I don't really | 1587 | way that desktop shortcuts can profit, please holler. I don't really |
| @@ -1510,15 +1601,15 @@ details of the system to connect to. This is similar to the syntax used | |||
| 1510 | by the @value{ftp-package-name} package. | 1601 | by the @value{ftp-package-name} package. |
| 1511 | 1602 | ||
| 1512 | @cindex type-ahead | 1603 | @cindex type-ahead |
| 1513 | Something that might happen which surprises you is that Emacs | 1604 | Something that might happen which surprises you is that |
| 1514 | remembers all your keystrokes, so if you see a password prompt from | 1605 | @value{emacs-name} remembers all your keystrokes, so if you see a |
| 1515 | Emacs, say, and hit @kbd{@key{RET}} twice instead of once, then the | 1606 | password prompt from @value{emacs-name}, say, and hit @kbd{@key{RET}} |
| 1516 | second keystroke will be processed by Emacs after @tramp{} has done | 1607 | twice instead of once, then the second keystroke will be processed by |
| 1517 | its thing. Why, this type-ahead is normal behavior, you say. Right | 1608 | @value{emacs-name} after @tramp{} has done its thing. Why, this |
| 1518 | you are, but be aware that opening a remote file might take quite a | 1609 | type-ahead is normal behavior, you say. Right you are, but be aware |
| 1519 | while, maybe half a minute when a connection needs to be opened. | 1610 | that opening a remote file might take quite a while, maybe half a |
| 1520 | Maybe after half a minute you have already forgotten that you hit that | 1611 | minute when a connection needs to be opened. Maybe after half a |
| 1521 | key! | 1612 | minute you have already forgotten that you hit that key! |
| 1522 | 1613 | ||
| 1523 | @menu | 1614 | @menu |
| 1524 | * Filename Syntax:: @tramp{} filename conventions. | 1615 | * Filename Syntax:: @tramp{} filename conventions. |
| @@ -1606,7 +1697,7 @@ in my home directory I would specify the filename | |||
| 1606 | 1697 | ||
| 1607 | The syntax of multi-hop file names is necessarily slightly different | 1698 | The syntax of multi-hop file names is necessarily slightly different |
| 1608 | than the syntax of other @tramp{} file names. Here's an example | 1699 | than the syntax of other @tramp{} file names. Here's an example |
| 1609 | multi-hop file name, first in Emacs syntax and then in XEmacs syntax: | 1700 | multi-hop file name: |
| 1610 | 1701 | ||
| 1611 | @example | 1702 | @example |
| 1612 | @value{tramp-prefix}multi@value{tramp-postfix-single-hop}rsh@value{tramp-postfix-multi-hop}out@@gate@value{tramp-postfix-single-hop}telnet@value{tramp-postfix-multi-hop}kai@@real.host@value{tramp-postfix}/path/to.file | 1703 | @value{tramp-prefix}multi@value{tramp-postfix-single-hop}rsh@value{tramp-postfix-multi-hop}out@@gate@value{tramp-postfix-single-hop}telnet@value{tramp-postfix-multi-hop}kai@@real.host@value{tramp-postfix}/path/to.file |
| @@ -1769,7 +1860,7 @@ Where can I get the latest @tramp{}? | |||
| 1769 | There is also a Savannah project page. | 1860 | There is also a Savannah project page. |
| 1770 | 1861 | ||
| 1771 | @noindent | 1862 | @noindent |
| 1772 | @uref{https://savannah.gnu.org/projects/tramp/} | 1863 | @uref{http://savannah.nongnu.org/projects/tramp/} |
| 1773 | 1864 | ||
| 1774 | @item | 1865 | @item |
| 1775 | Which systems does it work on? | 1866 | Which systems does it work on? |
| @@ -1779,8 +1870,9 @@ as XEmacs 21. XEmacs 20 is more problematic, see the notes in | |||
| 1779 | @file{tramp.el}. I don't think anybody has really tried it on Emacs 19. | 1870 | @file{tramp.el}. I don't think anybody has really tried it on Emacs 19. |
| 1780 | 1871 | ||
| 1781 | The package was intended to work on Unix, and it really expects a | 1872 | The package was intended to work on Unix, and it really expects a |
| 1782 | Unix-like system on the remote end, but some people seemed to have some | 1873 | Unix-like system on the remote end (except the @option{smb} method), |
| 1783 | success getting it to work on NT Emacs. | 1874 | but some people seemed to have some success getting it to work on NT |
| 1875 | Emacs. | ||
| 1784 | 1876 | ||
| 1785 | There is some informations on @tramp{} on NT at the following URL; | 1877 | There is some informations on @tramp{} on NT at the following URL; |
| 1786 | many thanks to Joe Stoy for providing the information: | 1878 | many thanks to Joe Stoy for providing the information: |
| @@ -1888,8 +1980,9 @@ work on NT with some tweaking. | |||
| 1888 | @item | 1980 | @item |
| 1889 | How can I get notified when @tramp{} file transfers are complete? | 1981 | How can I get notified when @tramp{} file transfers are complete? |
| 1890 | 1982 | ||
| 1891 | The following snippet can be put in your @file{~/.emacs} file. It makes | 1983 | The following snippet can be put in your @file{~/.emacs} file. It |
| 1892 | Emacs beep after reading from or writing to the remote host. | 1984 | makes @value{emacs-name} beep after reading from or writing to the |
| 1985 | remote host. | ||
| 1893 | 1986 | ||
| 1894 | @lisp | 1987 | @lisp |
| 1895 | (defadvice tramp-handle-write-region | 1988 | (defadvice tramp-handle-write-region |
| @@ -2036,10 +2129,11 @@ Minor implementation details, &c. | |||
| 2036 | @node Remote File Ownership | 2129 | @node Remote File Ownership |
| 2037 | @subsection How VC determines who owns a workfile | 2130 | @subsection How VC determines who owns a workfile |
| 2038 | 2131 | ||
| 2039 | Emacs provides the @code{user-full-name} function to return the login name | 2132 | @value{emacs-name} provides the @code{user-full-name} function to |
| 2040 | of the current user as well as mapping from arbitrary user id values | 2133 | return the login name of the current user as well as mapping from |
| 2041 | back to login names. The VC code uses this functionality to map from the | 2134 | arbitrary user id values back to login names. The VC code uses this |
| 2042 | uid of the owner of a workfile to the login name in some circumstances. | 2135 | functionality to map from the uid of the owner of a workfile to the |
| 2136 | login name in some circumstances. | ||
| 2043 | 2137 | ||
| 2044 | This will not, for obvious reasons, work if the remote system has a | 2138 | This will not, for obvious reasons, work if the remote system has a |
| 2045 | different set of logins. As such, it is necessary to delegate to the | 2139 | different set of logins. As such, it is necessary to delegate to the |
| @@ -2157,6 +2251,29 @@ uses EFS for downloading new packages. So, obviously, EFS has to be | |||
| 2157 | installed from the start. If the filenames were unified, @tramp{} | 2251 | installed from the start. If the filenames were unified, @tramp{} |
| 2158 | would have to be installed from the start, too. | 2252 | would have to be installed from the start, too. |
| 2159 | 2253 | ||
| 2254 | @ifset xemacs | ||
| 2255 | @strong{Note:} If you'ld like to use a similar syntax like | ||
| 2256 | @value{ftp-package-name}, you need the following settings in your init | ||
| 2257 | file: | ||
| 2258 | |||
| 2259 | @lisp | ||
| 2260 | (setq tramp-unified-filenames t) | ||
| 2261 | (require 'tramp) | ||
| 2262 | @end lisp | ||
| 2263 | |||
| 2264 | The autoload of the @value{emacs-name} @tramp{} package must be | ||
| 2265 | disabled. This can be achieved by setting file permissions @code{000} | ||
| 2266 | to the files @file{.../xemacs-packages/lisp/tramp/auto-autoloads.el*}. | ||
| 2267 | |||
| 2268 | In case of unified filenames, all @value{emacs-name} download sites | ||
| 2269 | are added to @code{tramp-default-method-alist} with default method | ||
| 2270 | @code{ftp} @xref{Default Method}. These settings shouldn't be touched | ||
| 2271 | for proper working of the @value{emacs-name} package system. | ||
| 2272 | |||
| 2273 | The syntax for unified filenames is described in the @tramp{} manual | ||
| 2274 | for @value{emacs-other-name}. | ||
| 2275 | @end ifset | ||
| 2276 | |||
| 2160 | @end itemize | 2277 | @end itemize |
| 2161 | 2278 | ||
| 2162 | @node Concept Index | 2279 | @node Concept Index |
| @@ -2181,7 +2298,3 @@ would have to be installed from the start, too. | |||
| 2181 | @c ** Use `filename' resp. `file name' consistently. | 2298 | @c ** Use `filename' resp. `file name' consistently. |
| 2182 | @c ** Use `host' resp. `machine' consistently. | 2299 | @c ** Use `host' resp. `machine' consistently. |
| 2183 | @c ** Consistent small or capitalized words especially in menues. | 2300 | @c ** Consistent small or capitalized words especially in menues. |
| 2184 | |||
| 2185 | @ignore | ||
| 2186 | arch-tag: f96dd66e-6dd3-4c92-8d77-9c56205ba808 | ||
| 2187 | @end ignore | ||
diff --git a/man/trampver.texi b/man/trampver.texi index ae80490d703..d6b9c73610b 100644 --- a/man/trampver.texi +++ b/man/trampver.texi | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | @c configure.ac, so you should edit that file and run | 5 | @c configure.ac, so you should edit that file and run |
| 6 | @c "autoconf && ./configure" to change the version number. | 6 | @c "autoconf && ./configure" to change the version number. |
| 7 | @macro trampver{} | 7 | @macro trampver{} |
| 8 | 2.0.38 | 8 | 2.0.39 |
| 9 | @end macro | 9 | @end macro |
| 10 | 10 | ||
| 11 | @c Other flags from configuration | 11 | @c Other flags from configuration |
| @@ -60,6 +60,3 @@ | |||
| 60 | @c Otherwise, '/dev/null/' is taken, which leaves this part empty. | 60 | @c Otherwise, '/dev/null/' is taken, which leaves this part empty. |
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | @ignore | ||
| 64 | arch-tag: e0fe322c-e06b-46eb-bb5b-d091b521f41c | ||
| 65 | @end ignore | ||