From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.bugs Subject: bug#25963: 25.2; tramp su fails Date: Mon, 06 Mar 2017 19:12:15 -0500 Message-ID: <1488845535.4045989.902615416.0A073E1F@webmail.messagingengine.com> References: <1488592949.654804.899954472.76F68A80@webmail.messagingengine.com> <87y3wlxiwo.fsf@detlef> <1488807826.990527.901888016.268CFC45@webmail.messagingengine.com> <87shmqpkj8.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1488845592 21463 195.159.176.226 (7 Mar 2017 00:13:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2017 00:13:12 +0000 (UTC) Cc: 25963@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 07 01:13:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cl2kU-0004xg-38 for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Mar 2017 01:13:06 +0100 Original-Received: from localhost ([::1]:46689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cl2ka-00060s-7s for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Mar 2017 19:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cl2kU-00060Y-Gj for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2017 19:13:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl2kQ-000521-B8 for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2017 19:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cl2kQ-00051w-2u for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2017 19:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cl2kP-00015P-MT for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2017 19:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tyler Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2017 00:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25963-submit@debbugs.gnu.org id=B25963.14888455404126 (code B ref 25963); Tue, 07 Mar 2017 00:13:01 +0000 Original-Received: (at 25963) by debbugs.gnu.org; 7 Mar 2017 00:12:20 +0000 Original-Received: from localhost ([127.0.0.1]:43395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cl2ji-00014T-NE for submit@debbugs.gnu.org; Mon, 06 Mar 2017 19:12:20 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cl2jg-00014K-PK for 25963@debbugs.gnu.org; Mon, 06 Mar 2017 19:12:17 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D6AE320764; Mon, 6 Mar 2017 19:12:15 -0500 (EST) Original-Received: from web6 ([10.202.2.216]) by compute4.internal (MEProxy); Mon, 06 Mar 2017 19:12:15 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=plantarum.ca; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=WxLC0c2cCnH/5LeUnRt+osxt/f M=; b=CQcNJOxfMnV+hS5f1B/Nnvz3HUm43MBpyM4to8NOwhZzwQ9NtoqMXm1k8e 0T/nCGv9XLw69rpSckSLxv2RS3ISST7qFkT+38DsIjcBEe0PWvdqxfMEAQUPvbw4 XzSJ6Qr53ZnXE3ibsxfKqbMICYgg1LyK6YEG2LlSXmxDsgaIo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=Wx LC0c2cCnH/5LeUnRt+osxt/fM=; b=AyLRTE+PgduCRiW9kX51amJ6PJskcbpO6h ma/Osp/xVocoZ5MbHychbcCkt7xo8fGnvhycHOI4EnX5Mc5Yf+wWQjrs5Pj5KL6+ pfevUqGSP1dvs01V5Ls8HM46ttmxZNKFR8+a0Q6ewE78QwmKhAMLR+ewA3wNWGam Qx9FCHc+g= X-ME-Sender: Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id B84DD48006; Mon, 6 Mar 2017 19:12:15 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface - ajax-9f47d516 In-Reply-To: <87shmqpkj8.fsf@detlef> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130293 Archived-At: 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