Re: emacs dired + tramp seeing invalid characters

Michael Albinus <[email protected]>
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Michael Albinus <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.