The telnet method goes into a loop looking for the yesno prompt
regexp.

Here is the 'tramp/telnet' buffer showing that I am actually
connected:

----------------------------------------------
Last login: Tue Jul 30 23:40:06 from foobar
You have mail.
$ 
$ 

----------------------------------------------

And now here is the debug buffer showing the looping:

----------------------------------------------
# Opening connection for joe@hostname using telnet...
# Processing actions
# Waiting 60s for prompt from remote shell
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Sending login name `thermans'
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(Permission denied.\|Login [Ii]ncorrect\|Received signal 
[0-9]+\|Connection \(refused\|closed\)\|Sorry, try again.\|Name or service not 
known\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\\? *

----------------------------------------------


What's going on?  I tried setting "tramp-yesno-prompt-regexp" to nil,
but got the same thing.

Ned Ludd

===================================================================
Emacs  : XEmacs 21.4 (patch 8) "Honest Recruiter (Windows [3])" [Lucid] 
(i686-pc-cygwin) of Sun Jun 16 2002 on TSUNAMI
Package: tramp (2.0.5)

current state:
==============
(setq
 tramp-ls-command nil
 tramp-test-groks-nt nil
 tramp-file-exists-command nil
 tramp-current-multi-method nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory nil
 tramp-default-method "tu"
 tramp-rsh-end-of-line "\n"
 tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "/usr/ccs/bin" 
"/local/bin"
                     "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" 
"/usr/pkg/bin"
                     "/usr/contrib/bin")
 tramp-login-prompt-regexp ".*ogin: *"
 tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\):? *"
 tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login [Ii]ncorrect\\|Received 
signal [0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try again.\\|Name or 
service not known\\).*"
 tramp-temp-name-prefix "tramp."
 tramp-file-name-structure 
'("\\`/\\[\\(\\([a-zA-Z0-9-]+\\)/\\)?\\(\\([-a-zA-Z0-9_#/:]+\\)@\\)?\\([-a-zA-Z0-9_#/:@.]+\\)\\]\\(.*\\)\\'"
 2 4 5 6)
 tramp-file-name-regexp "\\`/\\[.*\\]"
 tramp-multi-file-name-structure 
'("\\`/\\[\\(\\([a-z0-9]+\\)?\\)\\(\\(%s\\)+\\)\\]\\(.*\\)\\'" 2
                                   3 -1)
 tramp-multi-file-name-hop-structure 
'("/\\([a-z0-9_]+\\):\\([a-z0-9_]+\\)@\\([a-z0-9.-]+\\)" 1 2
                                       3)
 tramp-multi-methods '("multi" "multiu")
 tramp-multi-connection-function-alist '(("telnet" tramp-multi-connect-telnet "telnet 
%h%n")
                                         ("rsh" tramp-multi-connect-rlogin "rsh %h -l 
%u%n")
                                         ("ssh" tramp-multi-connect-rlogin "ssh %h -l 
%u%n")
                                         ("su" tramp-multi-connect-su "su - %u%n")
                                         ("sudo" tramp-multi-connect-su "sudo -u %u 
-s%n"))
 tramp-make-tramp-file-format "/[%m/%u@%h]%p"
 tramp-end-of-output "/////"
 shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
 backup-by-copying nil
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch nil
 nil nil
 file-name-handler-alist '(("\\`/\\[.*\\]" . tramp-file-name-handler)
                           ("^/[^/:]+:" . efs-file-handler-function)
                           ("^/$" . efs-root-handler-function)
                           ("\\(^\\|[^$]\\)\\(\\$\\$\\)*\\$[{a-zA-Z0-9]" .
                            efs-sifn-handler-function)
                           )
 )


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel

Reply via email to