aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-23 03:05:12 +0000
committerRichard M. Stallman1993-12-23 03:05:12 +0000
commit80e9d8283a40af38e8a38bc4a0fe4d4e683b2649 (patch)
tree1d6580a5287534eeb6cc79c3aa883188adf91999 /lisp
parent13eaa0261c2dc97cf242e33a40f7a61acbfd68fc (diff)
downloademacs-80e9d8283a40af38e8a38bc4a0fe4d4e683b2649.tar.gz
emacs-80e9d8283a40af38e8a38bc4a0fe4d4e683b2649.zip
(ange-ftp-hash-mark-msgs): Make match more general.
(ange-ftp-gateway-prompt-pattern): Don't match more than one line.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ange-ftp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 099d60660f3..8ed9ae6c0b4 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -729,7 +729,7 @@ like this.")
729are rsh (remsh on hp-ux), telnet and rlogin. See also the gateway variable 729are rsh (remsh on hp-ux), telnet and rlogin. See also the gateway variable
730above.") 730above.")
731 731
732(defvar ange-ftp-gateway-prompt-pattern "^[^#$%>;]*[#$%>;] *" 732(defvar ange-ftp-gateway-prompt-pattern "^[^#$%>;\n]*[#$%>;] *"
733 "*Regexp used to detect that the logging-in sequence is completed on the 733 "*Regexp used to detect that the logging-in sequence is completed on the
734gateway machine and that the shell is now awaiting input. Make this regexp as 734gateway machine and that the shell is now awaiting input. Make this regexp as
735strict as possible; it shouldn't match *anything* at all except the user's 735strict as possible; it shouldn't match *anything* at all except the user's
@@ -857,7 +857,7 @@ SIZE, if supplied, should be a prime number."
857;;;; Internal variables. 857;;;; Internal variables.
858;;;; ------------------------------------------------------------ 858;;;; ------------------------------------------------------------
859 859
860(defconst ange-ftp-version "$Revision: 1.36 $") 860(defconst ange-ftp-version "$Revision: 1.37 $")
861 861
862(defvar ange-ftp-data-buffer-name " *ftp data*" 862(defvar ange-ftp-data-buffer-name " *ftp data*"
863 "Buffer name to hold directory listing data received from ftp process.") 863 "Buffer name to hold directory listing data received from ftp process.")
@@ -1851,7 +1851,7 @@ PROC is the process to the FTP-client."
1851 (cdr result))))))) 1851 (cdr result)))))))
1852 1852
1853(defvar ange-ftp-hash-mark-msgs 1853(defvar ange-ftp-hash-mark-msgs
1854 "[hH]ash mark [^0-9]*\\([0-9]+\\)" 1854 "[hH]ash mark \\(printing on \\)?(?[^0-9]*\\([0-9]+\\)"
1855 "*Regexp matching the FTP client's output upon doing a HASH command.") 1855 "*Regexp matching the FTP client's output upon doing a HASH command.")
1856 1856
1857(defun ange-ftp-guess-hash-mark-size (proc) 1857(defun ange-ftp-guess-hash-mark-size (proc)