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: Dmitry Gutov
Subject: Re: Tramp: Found remote shell prompt on `192.168....' (2.2.7-pre)
Date: Fri, 26 Oct 2012 18:48:00 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1

Hi Michael,

On 26.10.2012 18:28, Michael Albinus wrote:
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?

Not that I know of, just standard bash_completion. Is .bashrc even used in this scenario? I haven't customized it much, just installed RVM and added a couple of exports and aliases.

Pressing <RET> <RET> definitely does not trigger any completion, not in the gnome-terminal, nor when logged remotely with plink.

Attachment: .bashrc
Description: Text document


reply via email to

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