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: Re: tramp and adb, strange escape codes in dired Date: Thu, 11 Jun 2020 19:03:25 +0200 Organization: Xelera.eu Message-ID: <87k10dzg9u.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> References: <87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <87lfktpu8f.fsf@web.de> 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="33815"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus To: Michael Heerdegen , 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 19:05:05 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 1jjQdV-0008jY-1a for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 19:05:05 +0200 Original-Received: from localhost ([::1]:48728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQdT-0007q1-Vl for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 13:05:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQcc-0007hu-J9 for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 13:04:10 -0400 Original-Received: from ns13.heimat.it ([46.4.214.66]:38460) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQcX-0007U9-Sb for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 13:04:09 -0400 Original-Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 0F1E73021B6; Thu, 11 Jun 2020 17:04:01 +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 JEWxwoIQzXmk; Thu, 11 Jun 2020 17:03:41 +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 11D583021B5; Thu, 11 Jun 2020 17:03:41 +0000 (UTC) Original-Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 9D1CC3C94B0; Thu, 11 Jun 2020 19:03:39 +0200 (CEST) Original-Received: (nullmailer pid 22312 invoked by uid 1000); Thu, 11 Jun 2020 17:03:36 -0000 In-Reply-To: <87lfktpu8f.fsf@web.de> 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-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:123323 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Michael, thank you for your help Michael Heerdegen writes: > Giovanni Biscuolo writes: > >> 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: >> >> >> /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 > > Dunno if that could be fixed in Tramp. Michael? It's just to understand if it's a TRAMP bug or something related to my environment. Have someone in this list been able to browse via TRAMP+adb? When I learned about being able to use TRAMP with adb I was excited https://www.gnu.org/software/tramp/#Using-Android > As an alternative you can use "jmtpfs path/to/mountpoint" and avoid > Tramp. That mounts the phone file system as an ordinary directory. > Unmounting works with "fusermount -u path/to/mountpoint". Although I'm > quite ignorant about this phone stuff that worked for me in Debian out > of the box. Thank you for this advice, I was not aware of jmtpfs; I need to connect over wi-fi to my phone, so I eventually will try other tools (e.g. via termux+openssh) Happy hacking! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl7iY90ACgkQ030Op87M ORLBORAAqH+b7HgxNAY44IeZekXa1NBmHhDwJeXxSXvXtqDsI5MgF8o4VqwQj9Na PfqcLbNnPV8p1Bsykd0s6I9iFr9078HUujypoAJc/2omtlXKoyu8UlsrTsC/HnXX 5DziTTjwvxQ5ilkTwbaHt3/rbeKkT8iqMLIi4a6o7jO5XUih1xsPumZp9ac9R82u VsfP2gDzIo8qLKbVwafMO461Z0p22VJ6s0zBOqoQb/dUeZ/ln4PKXHUd+ClqiTD7 eH2zFrEQ1UqurVro5n4TeIpx2FQNVZvF+M3bwJGgQqQVm3BbmEUeRV8X0hAEQdcN ZwikZNhtqdvGK40/QFld4XYCaSKBkxiCiX/1mPx5XH358ma8oEUTSKK4gIozjlzA Aq0ZnxKuN3LcIIxo99a294sRGtO4uFD2kFd293iZF5IuoegRb3G2w1ecPa9CbYPY z5MrOCktLTilzzqqRlSYl1SMpKHZ7uTRi0/vnhKiXpl9LsNQabFaiXvE5RLeNekC thhE6hnFCCqf5zU0CjKpJO9yjFx8LdYr9Czi9s+Kjh24s56zkmMPw4iVHk6p5erK mbE7J54HZXS9PuUzV9vxMPy4WTN334S+b9aqPXhbz8nZARI6qZgoDeniiEXtMLdp hBxJPrqxRy6UldPUCtCt5fAOmGGYaIUwhQKMhlCCM6UahcEeov8= =zHRI -----END PGP SIGNATURE----- --=-=-=--