all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Mathias Millet <mathiasmillet@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs hangs when using tramp with su
Date: Tue, 03 Apr 2012 21:01:58 +0200	[thread overview]
Message-ID: <87pqboabbt.fsf@gmx.de> (raw)
In-Reply-To: <4F7B45DD.5020700@gmail.com> (Mathias Millet's message of "Tue, 03 Apr 2012 20:47:57 +0200")

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	other threads:[~2012-04-03 19:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 15:24 Emacs hangs when using tramp with su Mathias Millet
2012-04-03 17:49 ` Michael Albinus
2012-04-03 18:47   ` Mathias Millet
2012-04-03 19:01     ` Michael Albinus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqboabbt.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mathiasmillet@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.