comparison lisp/net/tramp-ftp.el @ 51177:6234a4fe96f9

Version 2.0.34 (of Tramp) released. (tramp-handle-file-symlink-p): If target of symlink is absolute, return a Tramp filename. (Ie, return "/user@host:/target" instead of "/target".) (tramp-handle-file-truename): Deal with new return value from `file-symlink-p'. (tramp-handle-expand-file-name): Make default method explicit in file name. (tramp-unified-filenames): Move to an earlier spot in the file. (top-level): If tramp-unified-filenames is set and we're running on XEmacs, load tramp-efs. (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt): New functions, used by tramp-send-command-internal. (tramp-open-connection-setup-interactive-shell): Simplify using `tramp-send-command-internal'. (tramp-send-command-internal): New function. (tramp-methods): New entries "remsh" and "remcp" are like "rsh" and "rcp" but invoke "remsh" instead of "rsh". This is useful on Cray systems, for instance. Unify tramp-rsh-program, tramp-telnet-program, tramp-su-program into tramp-login-program. Likewise with tramp-login-args, tramp-copy-program, tramp-copy-args, tramp-copy-keep-date-arg. Users changed. New method plink1; like plink but pass "-1" to force protocol version 1. (tramp-default-method): Use plink as the default on machines where the plink program is present. (tramp-completion-file-name-handler): Add safe-magic property. (tramp-shell-prompt-pattern): Allow ANSI escapes at end of prompt. (ANSI escapes elsewhere in the prompt are recognized properly already.)
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sat, 24 May 2003 14:10:15 +0000
parents 5b6aaf393205
children 695cf19ef79e
comparison
equal deleted inserted replaced
51176:4ac4c9dab97f 51177:6234a4fe96f9
100 (nth 2 tramp-file-name-structure) 100 (nth 2 tramp-file-name-structure)
101 (nth 4 tramp-file-name-structure)))) 101 (nth 4 tramp-file-name-structure))))
102 (cond 102 (cond
103 ;; If argument is a symlink, 'file-directory-p` and 'file-exists-p` 103 ;; If argument is a symlink, 'file-directory-p` and 'file-exists-p`
104 ;; call the traversed file recursively. So we cannot disable the 104 ;; call the traversed file recursively. So we cannot disable the
105 ;;file-name-handler this case. 105 ;; file-name-handler this case.
106 ((memq operation '(file-directory-p file-exists-p)) 106 ((memq operation '(file-directory-p file-exists-p))
107 (apply 'ange-ftp-hook-function operation args)) 107 (apply 'ange-ftp-hook-function operation args))
108 ;; Normally, the handlers must be discarded 108 ;; Normally, the handlers must be discarded
109 (t (let* ((inhibit-file-name-handlers 109 (t (let* ((inhibit-file-name-handlers
110 (list 'tramp-file-name-handler 110 (list 'tramp-file-name-handler