[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1115: 23.0.60; Tramp hangs via 'su' with zsh
From: |
Gour |
Subject: |
bug#1115: 23.0.60; Tramp hangs via 'su' with zsh |
Date: |
Wed, 08 Oct 2008 10:04:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>>> "Michael" == Michael Albinus <michael.albinus@gmx.de> writes:
Michael> It looks like the zle problem. Read the Tramp manual about
Michael> (info "(tramp)Frequently Asked Questions")
Yeah, I got some help on zsh and put the following in my .zshrc files:
case $TERM in
dumb) # tramp
unsetopt zle
;;
esac
and the above solves the problem of accessing the root files on the same
machine via 'su'.
However, the remaining problem is remote access to files (e.g. from
laptop to desktop) when the tramp fails with when the remote machine has
the following 'prompt':
PS1="[%{${fg[green]}%}%n%{${fg[black]}%}@%{${fg[blue]}%}%m
%{${fg[red]}%}%1d%{${fg[black]}%}] "
The tramp's 'trace' is below:
------------------------- cut-here ----------------------
Last login: Wed Oct 8 08:05:26 2008 from 89.164.226.223
xgamma: unable to open display ''
[32;01mKeyChain 2.6.8; [34;01mhttp://www.gentoo.org/proj/en/keychain/[0m
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL
[32;01m*[0m Found existing ssh-agent (3529)
[32;01m*[0m Found existing gpg-agent (3563)
[32;01m*[0m Known ssh key: [34;01m/home/gour/.ssh/id_dsa[0m
[32;01m*[0m Known gpg key: [34;01mC6E7162D[0m
[[32mgour[30m@[34mgaura-nitai [31mgour[30m]
--------------------- cut-here -------------------------
Any idea?
Commenting the above PS1 'solves' the problem.
Sincerely,
Gour
--
Gour | Zagreb, Croatia | GPG key: C6E7162D
----------------------------------------------------------------
pgpNg29rf4XBT.pgp
Description: PGP signature