[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell with cd /ssh:server:/somepath
From: |
Peter Dyballa |
Subject: |
Re: eshell with cd /ssh:server:/somepath |
Date: |
Thu, 23 Apr 2009 15:42:53 +0200 |
Am 23.04.2009 um 14:25 schrieb Kiwon Um:
If I do "ls", it shows some numbers like "1213412341234abc.doc: No
such file or directory" for non-English filenames.
With Dired, it's similar. The filenames are shown like ???????abc.doc.
Any advice?
M-x manual-entry RET ls RET
The ls or gls commands prefer Latin script US ASCII file names. With
some extra options it's able to output a bit more characters. The
next problem is that these byte sequences need to be "translated"
into glyphs from some font. GNU Emacs 21, 22, and 23 differ a bit in
this. Experimenting can bring results.
Some settings could help:
(prefer-coding-system 'utf-8)
;(setq dired-use-ls-dired "/sw/bin/gls --dired")
(setq insert-directory-program "gls" dired-use-ls-dired t)
; (setq dired-use-ls-dired t)
; (setq insert-directory-program "gls")
'(find-ls-subdir-switches "-alN")
--
Greetings
Pete
A child of five could understand this! Fetch me a child of five.