|
From: | kiran dasoju |
Subject: | Re: emacs dired + tramp seeing invalid characters |
Date: | Sat, 19 Aug 2023 02:37:15 -0700 |
Michael Albinus <michael.albinus@gmx.de> writes:
Hi Kiran,
>> I am using TRAMP with emacs, when use dired to browse files on remote
>> machine i see lot of invalid characters
>> for example
>> for docs i see [01;34mdocs [0m/
>> similarly for home i see [01;34mhome [0m/
>
> This is colrized ls output ("[01;34m" is blue). Do you see it only in
> the Tramp debug buffer, or also in a dired buffer?
>
> Tramp tries to handle this, and a more recent Tramp should have no
> problem. Which Emacs / Tramp version are you using?
I've just read your debug buffer again, and ls is called like this:
--8<---------------cut here---------------start------------->8---
12:31:01.469621 tramp-send-command (6) # /usr/bin/ls --color=never --dired -hltFGH --time-style\=long-iso --group-directories-first --color\=auto --sort\=version --quoting-style\=literal --show-control-chars /xxx/xxxxxxxxx/xxxx/. 2>/dev/null
--8<---------------cut here---------------end--------------->8---
"--color=never" comes from Tramp. But there are other arguments, like
"--color\=auto", which are not from Tramp, and which trigger ls output
colorization. Could you, please, check your customization?
Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |