unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* eshell with cd /ssh:server:/somepath
@ 2009-04-23 12:25 Kiwon Um
  2009-04-23 13:42 ` Peter Dyballa
       [not found] ` <mailman.5884.1240494222.31690.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Kiwon Um @ 2009-04-23 12:25 UTC (permalink / raw)
  To: help-gnu-emacs

Hello, I'm using eshell now.
One question is here:
When I use cd /ssh:server:/somepath, the non-English filenames get
broken.
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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: eshell with cd /ssh:server:/somepath
  2009-04-23 12:25 eshell with cd /ssh:server:/somepath Kiwon Um
@ 2009-04-23 13:42 ` Peter Dyballa
       [not found] ` <mailman.5884.1240494222.31690.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2009-04-23 13:42 UTC (permalink / raw)
  To: Kiwon Um; +Cc: help-gnu-emacs


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.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: eshell with cd /ssh:server:/somepath
       [not found] ` <mailman.5884.1240494222.31690.help-gnu-emacs@gnu.org>
@ 2009-04-24  1:18   ` Kiwon Um
  0 siblings, 0 replies; 3+ messages in thread
From: Kiwon Um @ 2009-04-24  1:18 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 23, 10:42 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> 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.
>

Thanks for your reply.
Then, if I use "ssh" in eshell, all is fine. Only the "cd /ssh:..."
has the problem. Unfortunately, your help didn't work for me. What
would be the problem?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-24  1:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 12:25 eshell with cd /ssh:server:/somepath Kiwon Um
2009-04-23 13:42 ` Peter Dyballa
     [not found] ` <mailman.5884.1240494222.31690.help-gnu-emacs@gnu.org>
2009-04-24  1:18   ` Kiwon Um

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).