From: Giovanni Biscuolo <g@xelera.eu>
To: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Cc: Michael Albinus <michael.albinus@gmx.de>
Subject: Re: tramp and adb, strange escape codes in dired
Date: Thu, 11 Jun 2020 19:03:25 +0200 [thread overview]
Message-ID: <87k10dzg9u.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87lfktpu8f.fsf@web.de>
[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]
Hello Michael,
thank you for your help
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Giovanni Biscuolo <g@xelera.eu> 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'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2020-06-11 17:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 13:55 tramp and adb, strange escape codes in dired Giovanni Biscuolo
2020-06-11 14:12 ` Michael Heerdegen
2020-06-11 17:03 ` Giovanni Biscuolo [this message]
2020-06-11 15:28 ` tomas
2020-06-11 17:55 ` Michael Albinus
2020-06-12 9:28 ` Giovanni Biscuolo
2020-06-12 15:50 ` Michael Albinus
2020-06-13 12:57 ` Giovanni Biscuolo
2020-06-13 13:20 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k10dzg9u.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me \
--to=g@xelera.eu \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).