[Top][All Lists]

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

Re: tramp (2.1.2-pre); remote scp connection killed even though ssh work

From: Michael Albinus
Subject: Re: tramp (2.1.2-pre); remote scp connection killed even though ssh works
Date: Fri, 20 Aug 2004 09:24:47 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux)

Ted Stern <address@hidden> writes:

> Hi -- recently my working scp connection stopped working.  I'm running from
> CVS tramp with emacs 21.3.

Hi Ted,

> There are several possibilities:
>  - I've updated tramp

That is the obvious suspect ...

>  - I've modified my bash prompt to include a return:
> norm="\[\e[0m\]"
> xtitl="\[\e]2;address@hidden:\w\a\]"     # title for xterm
> magenta="\[\e[2;35m\]"          # color for time part
> red="\[\e[2;31m\]"              # color for "dollar" prompt part
> green="\[\e[2;32m\]"
> pr1="address@hidden:\$?${norm}"    # 1st part of prompt, address@hidden
> pr2="${magenta}\t${norm}"       # 2nd part of prompt, HH:MM:SS
> pr3="${green}\w${norm}"         # use \W instead of \w for basename
> pr4="\$"                        # 4th part of prompt, uncolored $/#
> PS1="${xtitle}${pr1} ${pr2} ${pr3}
> ${pr4} "

Hmm. That's the change _I_ do suspect. Maybe you can set your prompt
depending on $TERM? In case of Tramp connections, it should be "dumb".

> ,----[ *tramp/scp address@hidden ]
> | ssh yasim -l stern  -e none; echo "Tramp connection closed
> | Process *tramp/scp address@hidden killed
> `----

That looks strange. Especially, the command is incomplete. It should be

  ssh yasim -l stern  -e none; echo "Tramp connection closed"; sleep 1

Could you, please, enter this command string from a shell?

Best regards, Michael.

reply via email to

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