tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp: Found remote shell prompt on `192.168....' (2.2.7-pre)


From: Michael Albinus
Subject: Re: Tramp: Found remote shell prompt on `192.168....' (2.2.7-pre)
Date: Fri, 26 Oct 2012 16:28:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Dmitry Gutov <address@hidden> writes:

> Hey all,

Hi Dmitry,

> Contents of the *debug ...* buffer attached (tramp-verbose 10). The
> "Display all 112 possibilities?" stuff is weird, no idea what's that
> about.

But that seems to be the problem. Tramp has sent the following command
to the remote host:

> 22:41:31.080000 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' 
> PS1=\#\$\  PS2='' PS3='' /bin/sh ^M

Note the " ^M", I have added it literally. And your host returns

> 22:41:31.132000 tramp-accept-process-output (10) #
> exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh  ^M^M
> Display all 112 possibilities? (y or n)^M

This confuses Tramp. I could reproduce a similar behaviour with an
interactive bash:

address@hidden:~$ exec <TAB> <TAB>
Display all 3029 possibilities? (y or n)^C

However, Tramp does not send any <TAB> over the wire. Do you have
enabled any kind of autocompletion in your remote shell?

> --Dmitry

Best regards, Michael.



reply via email to

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