Hi
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/

I tried adding following to my init file, but still the problem remains,
can someone please help

(setq tramp-remote-process-environment ())
(add-to-list 'tramp-remote-process-environment "LC_ALL=en_US.utf8" 'append)

12:31:01.433833 tramp-sh-handle-file-system-info (5) # file system
info: /home/xxxxxxxxx/personal/
12:31:01.433954 tramp-send-command (6) # \df --block-size=1
--output=size,used,avail /home/xxxxxxxxx/personal/
12:31:01.451773 tramp-wait-for-regexp (6) #
 1B-blocks       Used      Avail
5368709120 1734868992 3633840128
///affb7cd4e1399f66a4dea946f7e7f01c#$
12:31:01.469485 tramp-sh-handle-insert-directory (4) # Inserting
directory ‘ls --dired -hltFGH --time-style\=long-iso
--group-directories-first --color\=auto --sort\=version
--quoting-style\=literal --show-control-chars
/ssh:xxxxxx...@xxx.xxx.xxx:/xxx/xxxxxxxxx/xxx/’, wildcard no, fulldir
yes
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
12:31:01.487890 tramp-wait-for-regexp (6) #
  total 2.5M
  drwx------ 6 xxxxxxxx  [01;34mdocs [0m/
  drwx------ 2 xxxxxxxx  [01;34mfirefox [0m/
  drwx------ 2 xxxxxxxx  [01;34mhome [0m/
  drwx------ 2 xxxxxxxx  [01;34mimmigration [0m/
  drwx------ 2 xxxxxxxx  [01;34mmisc [0m/
  drwx------ 2 xxxxxxxx  [01;34mnotes [0m/
  drwx------ 8 xxxxxxxx  [01;34mphotos [0m/
/DIRED// 59 68 116 131 179 188 236 240 288 295 343 347 395 406 454 458
506 511 559 565 613 620 668 674 722 730 778 783 831 837 885 892 940
947 995 1007 1055 1077 1125 1136 1184 1189 1237 1251 1299 1313 1361
1374 1422 1438 1486 1495 1543 1555 1603 1619 1667 1686 1734 1755 1803
1821 1869 1891 1939 1942 1990 1997 2045 2053 2101 2105
//DIRED-OPTIONS// --quoting-style=literal
///affb7cd4e1399f66a4dea946f7e7f01c#$

Reply via email to