help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp and adb, strange escape codes in dired


From: Giovanni Biscuolo
Subject: Re: tramp and adb, strange escape codes in dired
Date: Thu, 11 Jun 2020 19:03:25 +0200

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]