Variable: ange-ftp-gateway-prompt-pattern
ange-ftp-gateway-prompt-pattern is a customizable variable defined in
ange-ftp.el.gz.
Value
"^[^#$%>;\n]*[#$%>;] *"
Documentation
Regexp matching prompt after complete login sequence on gateway machine.
A match for this means the shell is now awaiting input. Make this regexp as strict as possible; it shouldn't match *anything* at all except the user's initial prompt. The above string will fail under most SUN-3's since it matches the login banner.
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(defcustom ange-ftp-gateway-prompt-pattern "^[^#$%>;\n]*[#$%>;] *"
"Regexp matching prompt after complete login sequence on gateway machine.
A match for this means the shell is now awaiting input. Make this regexp as
strict as possible; it shouldn't match *anything* at all except the user's
initial prompt. The above string will fail under most SUN-3's since it
matches the login banner."
:group 'ange-ftp
:type 'regexp)