Revision 2.240 of lisp/tramp.el contains the following code at line
4271:

      (tramp-send-command
       multi-method method user host
       (concat "PS1='$ ' exec " shell)) ;
      (unless (tramp-wait-for-regexp
               (get-buffer-process (current-buffer))
               60 (format "\\(\\(%s\\)\\|\\(%s\\)\\)\\'"
                          tramp-shell-prompt-pattern shell-prompt-pattern))
        (pop-to-buffer (buffer-name))
        (error "Couldn't find remote `%s' prompt." shell))

Shouldn't it be waiting to see the specified shell prompt ('$ ') instead
of the user-configured prompt specified by tramp-shell-prompt-pattern or
shell-prompt-pattern?  Maybe the above code should be:

      (tramp-send-command
       multi-method method user host
       (concat "PS1='$ ' exec " shell)) ;
      (unless (tramp-wait-for-regexp
               (get-buffer-process (current-buffer))
               60 "\\$ \\'")
        (pop-to-buffer (buffer-name))
        (error "Couldn't find remote `%s' prompt." shell))

This also occurs in the call to tramp-wait-for-regexp at line 4954.
--
Francis Litterio
[EMAIL PROTECTED]
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.



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

Reply via email to