zsh-workers
 help / color / mirror / code / Atom feed
* Still locale problems on Cygwin
@ 2000-06-19 12:54 Andrej Borsenkow
  2000-07-21 12:04 ` Andrej Borsenkow
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Borsenkow @ 2000-06-19 12:54 UTC (permalink / raw)
  To: ZSH workers mailing list

I have English Win2k with Russian locale set, and russian characters are
shown as ? in ls output. While this is definitely Cygwin problem, Zsh
(often) completely hangs when completing such name ... sorry, it just
takes hours (well, a bit less :-) to give listing. It is so slow, that I
really had impression it was hung.

E.g.

mw1g017@MW1G17C:/cygdrive/d/temp% ls
mozilla-win32-M16-talkback.zip  ???????
zsh                             ???????
??????                          ???? ???????
????                            ?????
mw1g017@MW1G17C:/cygdrive/d/temp% ls ^Tизбор/
Completing file
\M-^B\M-(\M-'\M-!\M-.\M-`/
\M-^D\M-n\M--\M-
\M-\n\M- \M-!\M- \M-*\M-.\M-"
\M-^O\M-%\M-+\M-%\M-"\M-(\M--
\M-^Q\M- \M-h\M- \ \M-^Q\M-.\M-*\M-.\M-+\M-.\M-"
\M-+\M-%\M--\M-*\M- /
mozilla-win32-M16-talkback.zip
zsh/

The "real" contents is (for those, who can display russian characters at
all :-):

D:\TEMP>dir
 Volume in drive D has no label.
 Volume Serial Number is 7CB1-481F

 Directory of D:\TEMP

16.06.2000  16:03       <DIR>          .
16.06.2000  16:03       <DIR>          ..
16.06.2000  15:55            6 331 861 mozilla-win32-M16-talkback.zip
16.06.2000  17:18       <DIR>          zsh
10.03.2000  11:26       <DIR>          Визбор
09.02.2000  23:18       <DIR>          Дюна
15.03.2000  21:15       <DIR>          Кабаков
07.03.2000  16:46       <DIR>          ленка
01.03.2000  15:30       <DIR>          Пелевин
15.03.2000  21:16       <DIR>          Саша Соколов
               1 File(s)      6 331 861 bytes
               9 Dir(s)     740 864 000 bytes free

-andrej

Have a nice DOS!
B >>

P.S. I am afraif, this has to be discussed together with Cygwin guys,
but may be somebody has any idea?


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

* RE: Still locale problems on Cygwin
  2000-06-19 12:54 Still locale problems on Cygwin Andrej Borsenkow
@ 2000-07-21 12:04 ` Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-07-21 12:04 UTC (permalink / raw)
  To: Andrej Borsenkow, ZSH workers mailing list

>
>
> I have English Win2k with Russian locale set, and russian
> characters are
> shown as ? in ls output. While this is definitely Cygwin problem, Zsh
> (often) completely hangs when completing such name ... sorry, it just
> takes hours (well, a bit less :-) to give listing. It is so
> slow, that I
> really had impression it was hung.
>


While figuring out environ problem, I got a look at locale
implementation in Cygwin. There is no :-) setlocale() is just a stub
function that accepts "C" as locale name and nothing more. It does
nothing :-))) And locale table contains only ASCII support. So, I
wonder, how can it work correclty even for ISO-8859-1 charset.

-andrej


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

* Re: Still locale problems on Cygwin
@ 2000-06-19 13:14 Sven Wischnowsky
  0 siblings, 0 replies; 3+ messages in thread
From: Sven Wischnowsky @ 2000-06-19 13:14 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> I have English Win2k with Russian locale set, and russian characters are
> shown as ? in ls output. While this is definitely Cygwin problem, Zsh
> (often) completely hangs when completing such name ... sorry, it just
> takes hours (well, a bit less :-) to give listing. It is so slow, that I
> really had impression it was hung.

I can only try on unix with latin-1, of course, and there it works
nicely.

Do you have printeightbit set? That should only affect the display,
though.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~2000-07-21 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-19 12:54 Still locale problems on Cygwin Andrej Borsenkow
2000-07-21 12:04 ` Andrej Borsenkow
2000-06-19 13:14 Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).