From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: tramp and adb, strange escape codes in dired Date: Thu, 11 Jun 2020 17:28:44 +0200 Message-ID: <20200611152844.GA13455@tuxteam.de> References: <87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="39308"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 11 17:38:26 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jjPHe-000ACi-NQ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 17:38:26 +0200 Original-Received: from localhost ([::1]:35684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjPHd-0002Zh-Nw for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 11:38:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjP8S-0003Mr-LE for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 11:28:56 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:46338) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1jjP8P-00073H-EV for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 11:28:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=J3Uf8dK/YM4zRtRAJz+PsairXCCSc/DOH7FN7FUdOs4=; b=jaTOTmfHGDOFWS3umvKtbR79V49+u/oCuLOnU9Z5PTGUS7kGfqf49D9nZvdDvNa/o1Rxwk65Lp118bAnqEilJgpAyJE32Y8iLgmUSvZZbU9vhO88+avcKMAK+5bdFODbh7ijdlzYwCeSadhcHqLuPt+JEcKMVbKZzHDI76qnTWpb0LCa3QgKQq+mWXB99qI1uZuNpSrPZYRoJyf+XvWaYIcxYtSXELpA7mqD8/wONjCOt+6Rn1tSsJZiQGMPfbBNTmGNzMR4IQUw1C+nKxeOq57IxDcN7OfJtz0DqodHbEhChmw5iM8bMXwt7Pn6cJI7hxXP3Q3+ZhHfeQxijZNYUw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jjP8G-0003aj-D9 for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 17:28:44 +0200 Content-Disposition: inline In-Reply-To: <87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 11:28:45 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123321 Archived-At: --KsGdsel6WgEHnImy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 11, 2020 at 03:55:50PM +0200, Giovanni Biscuolo wrote: > Hello, >=20 > I'm using Emacs 26.3 and adb 7.1.2_r36 [1], both installed via Guix on a > foreign distro (Debian 10) >=20 > I'm trying to use adb via tramp (I'd love to be able to browse my phone > filesystem in Emacs) for the first time and I get a strange dired > buffer: >=20 > --8<---------------cut here---------------start------------->8--- >=20 > /adb::/storage: > total 13 > drwxr-xr-x 1 root root 80 05-31 13:04 [1;34m.[0m > drwxr-xr-x 1 root root 4k 2009-01-01 [1;34m..[0m > drwx--x--x 1 root sdcard_rw 4k 05-31 13:04 [1;34memulated[0m [...] FWIW, this looks a lot like escape sequences setting the display to bold (ESC[1;34m) before and resetting it (ESC[0m) after the file name.=20 I don't really know what there is at the other end, but convincing it that you have a very dumb terminal might help. Cheers -- t --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl7iTawACgkQBcgs9XrR2karawCfW7tD1ztGxlyRwK9CczlOeqtO P60AnjjlZOL+kN4y13mj5ofom1dESTk6 =SFOI -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--