On Mon, Jan 25, 2010 at 1:34 PM, Michael Albinus <[email protected]> wrote:
> Francis Moreau <[email protected]> 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


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to