tramp-devel
[Top][All Lists]
Advanced

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

Re: Weird behaviour when entering the filename


From: Francis Moreau
Subject: Re: Weird behaviour when entering the filename
Date: Mon, 25 Jan 2010 14:01:43 +0100

On Mon, Jan 25, 2010 at 1:34 PM, Michael Albinus <address@hidden> wrote:
> Francis Moreau <address@hidden> writes:
>
>> I'm trying the telnet method on an embedded system (that could be the
>> reason since it's using ash as shell) but tramp fails to open any
>> files.
>>
>> 11:59:53.479221 tramp-send-command (6) # (test -e /etc || test -h /etc) && 
>> /bin/ls -ildn /etc
>> 11:59:53.525348 tramp-wait-for-regexp (6) #
>>
>>    9943 drwxr-xr-x   30 0        0            5184 Jan 22 09:16  [1;34m/etc 
>> [0m
>> ///3e676d1e22848e7fe9f94f375a0fe5ee#$
>
> 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.

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 ?

-- 
Francis




reply via email to

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