Function: ange-ftp-add-bs2000-posix-host
ange-ftp-add-bs2000-posix-host is an interactive and byte-compiled
function defined in ange-ftp.el.gz.
Signature
(ange-ftp-add-bs2000-posix-host HOST)
Documentation
Mark HOST as the name of a machine running BS2000 with POSIX subsystem.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(defun ange-ftp-add-bs2000-posix-host (host)
"Mark HOST as the name of a machine running BS2000 with POSIX subsystem."
(interactive
(list (read-string "Host: "
(let ((name (or (buffer-file-name) default-directory)))
(and name (car (ange-ftp-ftp-name name)))))))
(if (not (ange-ftp-bs2000-posix-host host))
(setq ange-ftp-bs2000-posix-host-regexp
(concat "^" (regexp-quote host) "$"
(and ange-ftp-bs2000-posix-host-regexp "\\|")
ange-ftp-bs2000-posix-host-regexp)
ange-ftp-host-cache nil))
;; Install CD hook to cd to posix on connecting:
(add-hook 'ange-ftp-process-startup-hook 'ange-ftp-bs2000-cd-to-posix)
host)