Francis Moreau <francis.m...@gmail.com> 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. _______________________________________________ Tramp-devel mailing list Tramp-devel@gnu.org http://lists.gnu.org/mailman/listinfo/tramp-devel