I can do more elisp debugging, if needed.
=============== *tramp/su [EMAIL PROTECTED]* ===============
================================================================
============ *debug tramp/su [EMAIL PROTECTED]* ============
# Opening connection for [EMAIL PROTECTED] using su...
# Waiting 60s for shell or passwd prompt from wind.ing.unipi.it
[EMAIL PROTECTED]'s password: # Sending password...
================================================================
======================= *Backtrace* ============================
Signaling: (args-out-of-range 1 35)
match-string(1)
tramp-open-connection-rsh(nil "su" "pot" "wind.ing.unipi.it")
tramp-maybe-open-connection(nil "su" "pot" "wind.ing.unipi.it")
tramp-send-command(nil "su" "pot" "wind.ing.unipi.it" "cd ~; pwd")
tramp-handle-expand-file-name("/r:wind.ing.unipi.it:" nil)
apply(tramp-handle-expand-file-name ("/r:wind.ing.unipi.it:" nil))
tramp-file-name-handler(expand-file-name "/r:wind.ing.unipi.it:" nil)
expand-file-name("/r:wind.ing.unipi.it:" nil)
apply(expand-file-name ("/r:wind.ing.unipi.it:" nil))
jka-aux-handler(expand-file-name "/r:wind.ing.unipi.it:" nil)
expand-file-name("/r:wind.ing.unipi.it:")
dired-noselect("/r:wind.ing.unipi.it:" nil)
dired("/r:wind.ing.unipi.it:" nil)
call-interactively(dired)
================================================================
Emacs : GNU Emacs 20.7.1 (i686-pc-linux-gnu, X toolkit)
of Thu Jun 15 2000 on pot
Package: tramp ($Id: tramp.el,v 1.409 2000/08/29 16:30:45 grossjoh Exp $)
current state:
==============
(setq
tramp-ls-command nil
tramp-current-method nil
tramp-current-user nil
tramp-current-host nil
tramp-auto-save-directory "/home/pot/autosave"
tramp-default-method "su"
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")
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
'("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([a-z0-9_#]+\\)@\\)?\\([a-z0-9.-]+\\):\\(.*\\)\\'"
2 4 5 6)
tramp-file-name-regexp "\\`/r[@:]"
tramp-make-tramp-file-format "/r@%m:%u@%h:%p"
tramp-end-of-output "/////"
shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
)