[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird behaviour when entering the filename
From: |
Michael Albinus |
Subject: |
Re: Weird behaviour when entering the filename |
Date: |
Mon, 25 Jan 2010 15:23:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Francis Moreau <address@hidden> writes:
>> You see, that the "ls" comman adds some control characters, likely for
>> coloring. You must suppress it on the remote side. See the Tramp manual
>> for instructions.
>>
>
> Ok but I did include this on the remote side in .profile:
>
> alias ls='ls --color=never'
>
> And if I log to the remote host, then the alias is effective.
>
> Since tramp is using absolute path to call ls(1) then the alias has no
> effect, I think.
IIRC, ash does not support aliases. But I might be wrong.
> I searched in the documentation to see which var can be customized in
> order to append '--color=never' to the ls command but I fail to find
> the answer.
>
> Could you give me a pointer ?
You can set $LS_COLORS. Try this one:
(add-to-list 'tramp-remote-process-environment "LS_COLORS=co")
Best regards, Michael.
- Re: Weird behaviour when entering the filename, (continued)
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename,
Michael Albinus <=
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, yary, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/25
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/26
- Re: Weird behaviour when entering the filename, Michael Albinus, 2010/01/26
- Re: Weird behaviour when entering the filename, Francis Moreau, 2010/01/26