Function: internal-ange-ftp-mode
internal-ange-ftp-mode is an interactive and byte-compiled function
defined in ange-ftp.el.gz.
Signature
(internal-ange-ftp-mode)
Documentation
Major mode for interacting with the FTP process.
<delete> delete-forward-char
<kp-delete> delete-forward-char
<mouse-2> comint-insert-input
C-<down> comint-next-input
C-<up> comint-previous-input
C-M-l comint-show-output
C-c . comint-insert-previous-argument
C-c C-\ comint-quit-subjob
C-c C-a comint-bol-or-process-mark
C-c C-c comint-interrupt-subjob
C-c C-d comint-send-eof
C-c C-e comint-show-maximum-output
C-c C-l comint-dynamic-list-input-ring
C-c C-n comint-next-prompt
C-c C-o comint-delete-output
C-c C-p comint-previous-prompt
C-c C-r comint-show-output
C-c C-s comint-write-output
C-c C-u comint-kill-input
C-c C-w backward-kill-word
C-c C-x comint-get-next-from-history
C-c C-z comint-stop-subjob
C-c M-o comint-clear-buffer
C-c M-r comint-previous-matching-input-from-input
C-c M-s comint-next-matching-input-from-input
C-c RET comint-copy-old-input
C-c SPC comint-accumulate
C-d comint-delchar-or-maybe-eof
M-n comint-next-input
M-p comint-previous-input
M-r comint-history-isearch-backward-regexp
RET comint-send-input
In addition to any hooks its parent mode comint-mode might have run,
this mode runs the hook internal-ange-ftp-mode-hook, as the final or
penultimate step during initialization.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(define-derived-mode internal-ange-ftp-mode comint-mode "Internal Ange-ftp"
"Major mode for interacting with the FTP process.
\\{comint-mode-map}"
(setq-local ange-ftp-process-string "")
(make-local-variable 'ange-ftp-process-busy)
(make-local-variable 'ange-ftp-process-result)
(make-local-variable 'ange-ftp-process-msg)
(make-local-variable 'ange-ftp-process-multi-skip)
(make-local-variable 'ange-ftp-process-continue)
(make-local-variable 'ange-ftp-binary-hash-mark-size)
(make-local-variable 'ange-ftp-ascii-hash-mark-size)
(make-local-variable 'ange-ftp-hash-mark-unit)
(make-local-variable 'ange-ftp-last-percent)
(setq-local ange-ftp-hash-mark-count 0)
(setq-local ange-ftp-xfer-size 0)
(setq-local ange-ftp-process-result-line "")
(setq comint-prompt-regexp "^ftp> ")
;; This is a regexp that can't match anything.
;; ange-ftp has its own ways of handling passwords.
(setq-local comint-password-prompt-regexp regexp-unmatchable)
(setq-local paragraph-start comint-prompt-regexp))