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

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

Re: Emacs hangs when using tramp with su


From: Michael Albinus
Subject: Re: Emacs hangs when using tramp with su
Date: Tue, 03 Apr 2012 21:01:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Mathias Millet <mathiasmillet@gmail.com> writes:

> Hi Michael,

Hi Mathias,

> as requested, here are the needed files.
> My emacs version is :
> GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.9)
>  of 2012-02-01 on shirley.hoetzel.info

As suspected, Tramp is hanging in an unrecognizable prompt (showing ansi
colors):

--8<---------------cut here---------------start------------->8---
;; GNU Emacs: 23.4.1 Tramp: 2.1.21-pre -*- mode: outline; -*-
20:27:40.648463 tramp-accept-process-output (10) # 
#$ 
20:27:40.666808 tramp-send-string (10) # exec su - root
20:27:40.680922 tramp-accept-process-output (10) # 
Password: 
20:27:43.066638 tramp-accept-process-output (10) # 

[0;33m( [1;33m~ [0;33m)[1;31m  >[0;31m>[0m 
--8<---------------cut here---------------end--------------->8---

... and so on. What happens, if you call from a terminal "exec su - root"?

Does it help, if you unset the prompt in root's .profile?

> Best regards,
>
> Mathias

Best regards, Michael.



reply via email to

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