Function: ange-ftp-bs2000-cd-to-posix
ange-ftp-bs2000-cd-to-posix is a byte-compiled function defined in
ange-ftp.el.gz.
Signature
(ange-ftp-bs2000-cd-to-posix)
Documentation
cd to POSIX subsystem if the current host matches
ange-ftp-bs2000-posix-host-regexp. All BS2000 hosts with POSIX subsystem
MUST BE EXPLICITLY SET with ange-ftp-add-bs2000-posix-host for they cannot
be recognized automatically (they are all valid BS2000 hosts too).
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(defun ange-ftp-bs2000-cd-to-posix ()
"cd to POSIX subsystem if the current host matches
`ange-ftp-bs2000-posix-host-regexp'. All BS2000 hosts with POSIX subsystem
MUST BE EXPLICITLY SET with `ange-ftp-add-bs2000-posix-host' for they cannot
be recognized automatically (they are all valid BS2000 hosts too)."
(if (and ange-ftp-this-host (ange-ftp-bs2000-posix-host ange-ftp-this-host))
(progn
;; change to POSIX:
; (ange-ftp-raw-send-cmd proc "cd %POSIX")
(ange-ftp-cd ange-ftp-this-host ange-ftp-this-user "%POSIX")
;; put new home directory in the expand-dir hashtable.
;; `ange-ftp-this-host' and `ange-ftp-this-user' are bound in
;; ange-ftp-get-process.
(puthash (concat ange-ftp-this-host "/" ange-ftp-this-user "/~")
(car (ange-ftp-get-pwd ange-ftp-this-host ange-ftp-this-user))
ange-ftp-expand-dir-hashtable))))