GNU bug report logs - #25963
25.2; tramp su fails

Previous Next

Package: emacs;

Reported by: Tyler Smith <tyler <at> plantarum.ca>

Date: Sat, 4 Mar 2017 02:03:01 UTC

Severity: normal

Tags: notabug

Found in version 25.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tyler Smith <tyler <at> plantarum.ca>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 25963 <at> debbugs.gnu.org
Subject: bug#25963: 25.2; tramp su fails
Date: Mon, 06 Mar 2017 19:12:15 -0500
On Mon, Mar 6, 2017, at 09:06 AM, Michael Albinus wrote:
> 
> > 08:34:19.246330 tramp-send-command (6) # exec su - root
> > 08:34:34.147941 tramp-process-actions (6) # 
> > Password: 
> > [30;41m~ [0;31m [m
> 
> Looks, like beside the su password, there are some further escape
> sequences (color?) in the shell output, which disturb Tramp. Pls
> suppress them; the Tramp manual shall tell you how.

Thank you Michael!

Following your suggestion, I discovered that one of those escape
sequences is a special 'arrow' symbol used in the custom powerline
prompt. Adding that symbol to the appropriate place in
tramp-shell-prompt-pattern fixes the problem.

Best, 

Tyler





This bug report was last modified 8 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.