From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Giovanni Biscuolo Newsgroups: gmane.emacs.help Subject: tramp and adb, strange escape codes in dired Date: Thu, 11 Jun 2020 15:55:50 +0200 Organization: Xelera.eu Message-ID: <87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="98266"; mail-complaints-to="usenet@ciao.gmane.io" 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 15:56:46 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 1jjNhD-000PVz-GY for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 15:56:43 +0200 Original-Received: from localhost ([::1]:53196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjNhC-00016d-Iz for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 09:56:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjNgn-00016W-UQ for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 09:56:17 -0400 Original-Received: from ns13.heimat.it ([46.4.214.66]:36940) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjNgm-0001TW-M7 for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 09:56:17 -0400 Original-Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 4909A3021B6 for ; Thu, 11 Jun 2020 13:56:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Original-Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iy6r4vHsCXbe for ; Thu, 11 Jun 2020 13:56:11 +0000 (UTC) Original-Received: from bourrache.mug.xelera.it (unknown [93.56.169.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id DAD533021B5 for ; Thu, 11 Jun 2020 13:56:10 +0000 (UTC) Original-Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 472493C837D for ; Thu, 11 Jun 2020 15:56:09 +0200 (CEST) Original-Received: (nullmailer pid 18680 invoked by uid 1000); Thu, 11 Jun 2020 13:56:04 -0000 Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 09:56:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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:123319 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I'm using Emacs 26.3 and adb 7.1.2_r36 [1], both installed via Guix on a foreign distro (Debian 10) 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: =2D-8<---------------cut here---------------start------------->8--- /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 drwxr-xr-x 1 root root 60 05-31 13:03 [1;34mself[0m drwxr-xr-x 1 root root 80 05-31 13:04 [1;34m/storage/.[0m drwxr-xr-x 1 root root 4k 2009-01-01 [1;34m/storage/..[0m =2D-8<---------------cut here---------------end--------------->8--- If I try to "dired-visit" any of the listed dirs I get this in the *Messages* buffer: =2D-8<---------------cut here---------------start------------->8--- dired-get-file-for-visit: File no longer exists; type =E2=80=98g=E2=80=99 t= o update Dired buffer =2D-8<---------------cut here---------------end--------------->8--- I'm able to use "adb shell" in a shell buffer under Emacs, this is the result: =2D-8<---------------cut here---------------start------------->8--- jflte:/storage # ls -lah ls -lah total 6.0K drwxr-xr-x 4 root root 80 2020-05-31 13:04 . drwxr-xr-x 22 root root 4.0K 2009-01-01 01:00 .. drwx--x--x 3 root sdcard_rw 4.0K 2020-05-31 13:04 emulated drwxr-xr-x 2 root root 60 2020-05-31 13:03 self jflte:/storage #=20 =2D-8<---------------cut here---------------end--------------->8--- and I can "navigate" all my folders via adb shell (in root mode). Do you have any idea why I get this result? Thanks! Gio' [1] but I have the same results using adb 8.1.0+r23-5 version from Debian stable =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl7iN+gACgkQ030Op87M ORL6yw/+P2t8boBtXXSZRaqWQXV1WbRakjUKJGJB/5fFckUlM/7G0uPsn896CQKz 8dLXhzSOHzMxJyOK5POtyWfuzoQj8y2ouMaNVabct0t2QUiEEcY0kM/sbb6uukM/ 6wx2h236Z7jgdIJmwSY2kx3lg7SkxGw0IExZVqLGy8ZBFXTCFf6saj8ZTpDnbIyz KDdq6MCorHxo/4Ws3BRWCR4UnbjYMu6KEBRQ1jKi9fkaAmUQiRtgGeNVa2c5FP8N kb17CVAvGiQPL5bI9iFt8BHONMRBizQiyDZNm6xTRoyN59FvywbeIkIdtaERKpir E3rANMBlfpYJkIXYTtesuTsm31gSpVIvOquQ5G2r636VqvvAng2eOUdkTH9iRUl0 2KWsShB8OcoEBSfS6h0KJlSpwREaLVaLfKZ1MllEphEAuHfjGVw0MyFae2NQOtEO 8MNHrhEDMp0Hq6cnKOr4+Q3UeHGMiwmgr5OEefE8htxqL4rgl/pcM4tQ/MWdvZl9 IafT9wNWCRvWjMWWO7Gh+HSUi8BMBbg8QFlUpLSBj199BWGFAgiesczssgmf0CJK t9dicFA9goHCm6+EnvjqpUG4OoZrMbJEzPx3lI4EJv8wmpsklPIp1HcQnSOq8B/b Ee7LoH4ror57LiGNFP33x9NZOXI9gsGYg4xXwa8izQP1pwMRk8c= =Ve3d -----END PGP SIGNATURE----- --=-=-=--