--bug report follows this line--
Greetings,
At least sudu method (sudm probably too) seems to assume that the
shell (of the account one is sudoing to) is (ba)sh. Thus, when I
try to open, say, /r@sudu:root@localhost:/etc/passwd, I get (root's
shell on the machine in question is zsh):
set +o history
set: no such option: history
[senstation] set +o vi +o emacs
set: no such option: vi
set: no such option: emacs
[senstation] unset MAIL MAILCHECK MAILPATH 1>/dev/null 2>/dev/null
[senstation] PS1='
quote> /////
quote> '; PS2=''; PS3=''
to *tramp/sudu root@localhost* buffer and
Couldn't set remote shell prompt. \
See buffer `*tramp/sudu root@localhost*' for details
to *Messages*.
If TRAMP needs sh, I think it should use it explicitly.
Emacs : GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
of Tue Jun 20 2000 on raven
Package: tramp ($Id: tramp.el,v 1.431 2000/11/01 12:35:08 grossjoh Exp $)
current state:
==============
(setq
tramp-ls-command nil
tramp-test-groks-nt nil
tramp-file-exists-command nil
tramp-current-method nil
tramp-current-user nil
tramp-current-host nil
tramp-auto-save-directory nil
tramp-default-method "scp"
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]*[]#$%>] *"
backup-by-copying nil
backup-by-copying-when-linked nil
backup-by-copying-when-mismatch nil
)
--
Hannu