bug-gnu-emacs
[Top][All Lists]
Advanced

[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 ''
 
KeyChain 2.6.8; http://www.gentoo.org/proj/en/keychain/
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL
 
 * Found existing ssh-agent (3529)
 * Found existing gpg-agent (3563)
 * Known ssh key: /home/gour/.ssh/id_dsa
 * Known gpg key: C6E7162D
 
[gour@gaura-nitai gour]
--------------------- cut-here -------------------------

Any idea?

Commenting the above PS1 'solves' the problem.


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D
----------------------------------------------------------------

Attachment: pgpNg29rf4XBT.pgp
Description: PGP signature


reply via email to

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