Ted Stern <[EMAIL PROTECTED]> 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;[EMAIL PROTECTED]:\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="[EMAIL PROTECTED]:\$?${norm}"    # 1st part of prompt, [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED] ]
> | ssh yasim -l stern  -e none; echo "Tramp connection closed
> | Process *tramp/scp [EMAIL PROTECTED] 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.



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to