* Autocompletion and Cyrillic
@ 2002-05-08 17:15 Igor Pruchanskiy
2002-05-08 17:24 ` Borsenkow Andrej
0 siblings, 1 reply; 6+ messages in thread
From: Igor Pruchanskiy @ 2002-05-08 17:15 UTC (permalink / raw)
To: zsh-users
Hello all,
I have a question about auto completion here. I searched all over the net
for an answer but was not able to find anything useful.
I have a lot of mp3's with Cyrillic characters in file names.
If i just do `ls' on them everything works fine, but if i do
mpg123 <tab> i see something like this:
\M-b\M-E\M-K\M-H\M-A\M-N\ -\ \M-n\M-A\ \M-K\M-R\M-A\M-@\ \(1998\)/
Is there any way to make it read the 8bit Cyrillic characters in a correct
way ?
Also i am also wondering if i can hide the \ escape characters when i am
doing completion on the file names with spaces.
igor
--
Uptime : 48 days, 21:23
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Autocompletion and Cyrillic
2002-05-08 17:15 Autocompletion and Cyrillic Igor Pruchanskiy
@ 2002-05-08 17:24 ` Borsenkow Andrej
2002-05-08 17:30 ` Igor Pruchanskiy
2002-05-13 9:07 ` Sven Wischnowsky
0 siblings, 2 replies; 6+ messages in thread
From: Borsenkow Andrej @ 2002-05-08 17:24 UTC (permalink / raw)
To: 'Igor Pruchanskiy', zsh-users
>
> Hello all,
>
> I have a question about auto completion here. I searched all over the
net
> for an answer but was not able to find anything useful.
>
> I have a lot of mp3's with Cyrillic characters in file names.
> If i just do `ls' on them everything works fine, but if i do
> mpg123 <tab> i see something like this:
>
> \M-b\M-E\M-K\M-H\M-A\M-N\ -\ \M-n\M-A\ \M-K\M-R\M-A\M-@\ \(1998\)/
>
> Is there any way to make it read the 8bit Cyrillic characters in a
correct
> way ?
>
Set your locale to correct value. Because you do not say what system you
are on it is hard to tell which is the correct value.
-andrej
> Also i am also wondering if i can hide the \ escape characters when i
am
> doing completion on the file names with spaces.
>
You can't currently (easily). It is theoretically possible to generate
dequoted strings as descriptions.
-andrej
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Autocompletion and Cyrillic
2002-05-08 17:24 ` Borsenkow Andrej
@ 2002-05-08 17:30 ` Igor Pruchanskiy
2002-05-13 9:07 ` Sven Wischnowsky
1 sibling, 0 replies; 6+ messages in thread
From: Igor Pruchanskiy @ 2002-05-08 17:30 UTC (permalink / raw)
To: zsh-users
> > Hello all,
> >
> > I have a question about auto completion here. I searched all over the
> net
> > for an answer but was not able to find anything useful.
> >
> > I have a lot of mp3's with Cyrillic characters in file names.
> > If i just do `ls' on them everything works fine, but if i do
> > mpg123 <tab> i see something like this:
> >
> > \M-b\M-E\M-K\M-H\M-A\M-N\ -\ \M-n\M-A\ \M-K\M-R\M-A\M-@\ \(1998\)/
> >
> > Is there any way to make it read the 8bit Cyrillic characters in a
> correct
> > way ?
> >
>
> Set your locale to correct value. Because you do not say what system you
> are on it is hard to tell which is the correct value.
Debian Woody and Sid (multiple boxes)
setting LC_CTYPE=ru_RU.KOI8-R helped.
thank you
>
> -andrej
>
> > Also i am also wondering if i can hide the \ escape characters when i
> am
> > doing completion on the file names with spaces.
> >
>
>
> You can't currently (easily). It is theoretically possible to generate
> dequoted strings as descriptions.
Ok. This is something i can live with.
>
> -andrej
--
Uptime : 48 days, 21:48
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Autocompletion and Cyrillic
2002-05-08 17:24 ` Borsenkow Andrej
2002-05-08 17:30 ` Igor Pruchanskiy
@ 2002-05-13 9:07 ` Sven Wischnowsky
2002-05-13 9:22 ` Igor Pruchanskiy
1 sibling, 1 reply; 6+ messages in thread
From: Sven Wischnowsky @ 2002-05-13 9:07 UTC (permalink / raw)
To: zsh-users
Borsenkow Andrej wrote:
> ...
>
> > Also i am also wondering if i can hide the \ escape characters when i
> am
> > doing completion on the file names with spaces.
> >
>
>
> You can't currently (easily). It is theoretically possible to generate
> dequoted strings as descriptions.
Try `setopt printeightbit'.
Bye
Sven
--
Sven Wischnowsky wischnow@berkom.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Autocompletion and Cyrillic
2002-05-13 9:07 ` Sven Wischnowsky
@ 2002-05-13 9:22 ` Igor Pruchanskiy
2002-05-13 9:37 ` Borsenkow Andrej
0 siblings, 1 reply; 6+ messages in thread
From: Igor Pruchanskiy @ 2002-05-13 9:22 UTC (permalink / raw)
To: Sven Wischnowsky; +Cc: zsh-users
> > You can't currently (easily). It is theoretically possible to generate
> > dequoted strings as descriptions.
>
> Try `setopt printeightbit'.
unfortunately it did not change anything
igor
--
Uptime : 53 days, 13:42
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Autocompletion and Cyrillic
2002-05-13 9:22 ` Igor Pruchanskiy
@ 2002-05-13 9:37 ` Borsenkow Andrej
0 siblings, 0 replies; 6+ messages in thread
From: Borsenkow Andrej @ 2002-05-13 9:37 UTC (permalink / raw)
To: 'Igor Pruchanskiy', 'Sven Wischnowsky'; +Cc: zsh-users
> > > You can't currently (easily). It is theoretically possible to
generate
> > > dequoted strings as descriptions.
> >
> > Try `setopt printeightbit'.
>
> unfortunately it did not change anything
>
Erm ... Sven meant "to turn on 8 bit display" not "to strip off
backslashes from names" I guess
-andrej
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-05-13 9:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-08 17:15 Autocompletion and Cyrillic Igor Pruchanskiy
2002-05-08 17:24 ` Borsenkow Andrej
2002-05-08 17:30 ` Igor Pruchanskiy
2002-05-13 9:07 ` Sven Wischnowsky
2002-05-13 9:22 ` Igor Pruchanskiy
2002-05-13 9:37 ` Borsenkow Andrej
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).