[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wherefore art thou multi-hop?

From: Kai Großjohann
Subject: Re: Wherefore art thou multi-hop?
Date: Tue, 23 Jul 2002 11:57:02 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Kirk Strauser <address@hidden> writes:

> # Opening `multi' connection...
> # Waiting 60s for local shell to come up...
> sh-2.05a$ # Sending rlogin command `ssh vserver2 -l kirk'
> # Waiting 60s for shell or passwd prompt from vserver2
> Last login: Mon Jul 22 18:29:09 2002 from
> FreeBSD 4.6-STABLE (HONEYPOT_KANGA) #1: Sun Jul  7 20:58:28 CDT 2002
> # Sending su command `su - root'
> # Waiting 60s for shell or passwd prompt for root
> Welcome to FreeBSD!
> address@hidden:[01;31m~[00m$ $ exec /bin/sh
> # Waiting 30s for remote `/bin/sh' to come up...
> Sorry
> address@hidden:[01;31m~[00m$ # Setting up remote shell environment

It appears that Tramp got confused.  I guess that your value of
shell-prompt-pattern matches the following string from the above

FreeBSD 4.6-STABLE (HONEYPOT_KANGA) #1: Sun Jul  7 20:58:28 CDT 2002

If this is the problem, then it has been fixed recently, by the
following changes.

2002-07-19  Steve Youngs  <address@hidden>

        * tramp.el: Revert my previous patch.  It's better to work around
        the colour prompt problem outside of Tramp, eg in ~/.bashrc or

2002-07-19  Steve Youngs  <address@hidden>

        * tramp.el (tramp-find-shell): Remove "\\'" from regexp so we can
        deal with shell prompts that have colour control characters in
        (tramp-open-connection-telnet): Ditto.
        (tramp-open-connection-rsh): Ditto.
        (tramp-open-connection-su): Ditto.
        (tramp-open-connection-multi): Ditto.
        (tramp-multi-connect-telnet): Ditto.
        (tramp-multi-connect-rlogin): Ditto.
        (tramp-multi-connect-su): Ditto.
        (tramp-open-connection-setup-interactive-shell): Ditto.

2002-05-22  Kai Großjohann  <address@hidden>

        * tramp.el (tramp-find-shell, tramp-open-connection-telnet) 
        (tramp-open-connection-rsh, tramp-open-connection-su) 
        (tramp-open-connection-multi, tramp-multi-connect-telnet) 
        (tramp-open-connection-setup-interactive-shell): Shell prompt
        must match at end of buffer.    

You can have a look in your lisp/ChangeLog file to see if you have
these changes.  If you have only the third change, then you're fine.
If you have the second change, then you must also have the first
change -- as you can see, Steve first broke it and then repaired it

Sadly, I forgot which changes are in which released version, but I
want to release a new version soon with bug fixes.  In the meantime,
you can get the current CVS from Savannah or mail me for a tarball.

A large number of young women don't trust men with beards.  (BFBS Radio)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]