From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2IHgHzZm4l79QQAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 17:13:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KKzTGzZm4l7LKwAAbx9fmQ (envelope-from ) for ; Thu, 11 Jun 2020 17:13:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F0D5494053B for ; Thu, 11 Jun 2020 17:13:25 +0000 (UTC) Received: from localhost ([::1]:35540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQlX-0008G8-Iy for larch@yhetil.org; Thu, 11 Jun 2020 13:13:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQlL-0008DG-Gu for help-guix@gnu.org; Thu, 11 Jun 2020 13:13:11 -0400 Received: from ns13.heimat.it ([46.4.214.66]:38546) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQlJ-00011I-Gp for help-guix@gnu.org; Thu, 11 Jun 2020 13:13:11 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id A48D83021B6 for ; Thu, 11 Jun 2020 17:13:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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 fbEx2PH2Wa-0 for ; Thu, 11 Jun 2020 17:13:04 +0000 (UTC) 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 374253021B5 for ; Thu, 11 Jun 2020 17:13:04 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 783333C95BE for ; Thu, 11 Jun 2020 19:13:00 +0200 (CEST) Received: (nullmailer pid 22684 invoked by uid 1000); Thu, 11 Jun 2020 17:13:00 -0000 From: Giovanni Biscuolo To: help-guix@gnu.org Subject: tramp and adb, strange escape codes in dired Organization: Xelera.eu Date: Thu, 11 Jun 2020 19:12:59 +0200 Message-ID: <87h7vhzftw.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" 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 13:04:01 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-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: IGsFz7lykKok --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I'm using Emacs 26.3 with TRAMP 2.4.3.5 and adb 7.1.2_r36 [1], all installed via Guix on a foreign distro (Debian 10). I still do not undestand if what follows is a TRAMP bug or something related to my environment. I've sent a message to help-gnu-emacs@gnu.org [2] but I'm asking here in case anyone in this list is/was able to browse an Android filesystem via TRAMP+adb. 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 all that escape sequences? Thanks! Gio' [1] but I have the same results using adb 8.1.0+r23-5 version from Debian stable [2] https://lists.gnu.org/archive/html/help-gnu-emacs/2020-06/msg00101.html =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl7iZhsACgkQ030Op87M ORLYpRAAizjtXGWw0TvIPCCb9NK6+XJmmzV+mB+3QNcweKW+DaiL+FRROh1tpdxe sM/Ww7P+lRfCNP3hxQywrdbxjxKiUuX8XkkmhTdqJLLILTWc/Lpve1Br2ACcilLq x0MuMilFCBwxZFM9H15LSEYCRoFde2FWI6Eutj+uDHY/lk2daGDd7KXA6sa0f09D BgB7fwLM2yuU2oSrN0Yx/ljR5FDygIjo/IfC9Zb9HT6plMdVaTsjWsR+PwInallP 8kOT4p7zsjfMrtTheY23RfmQyZbeZI9W0B9LnwMyQn11daGVyxas5f4FEj8JwW6c iaM5QApyizd5DIuWoUMpQTjF1IKRR6vibyuemA8sV1vkbe+dvl1uac2FusB6+pM5 cEbwjMPTfOs6S2qZr8UI1eiC6JOJ2c/FFYgWhUBWjXNVjMgEPf+sVT307bQeBGtv 5b/I7vJIU2zoCMNGfgcCmkC9bDTfcpih9h6Qo/7AfGcNqoDdOFjSRFAuw8PbCYqo 3OVDaOxw+u69m3au+i/ojgkW24NXJ6nFFyGaVos8spd7O3FB9E5MptnTDHCgZVWN jt+I+eCeB3QlBACb5d60Rm/5qg86XFlruLfJEqEQB5s9tMOO52luVEQihsU7JTkw J0DpjzF5TmXShkkfaROviMe1vtM1oCRGPK0kZ5NTe5yEP+4jGHk= =MXts -----END PGP SIGNATURE----- --=-=-=--