Re: Another NON trivial Cyrillic question

2004-02-11 Thread Igor Pechtchanski
Umm, yes, character set/encoding support in Cygwin is minimal. If you look at the fileutils sources, though, there is some code that does presumably locale-specific quoting. I basically glanced at it, but if you wanted to improve the behavior of Cygwin tools, that's the place I would start from.

Re: Another NON trivial Cyrillic question

2004-02-11 Thread Alexander Shopov
Well, this is not entirely true. While programs do lookup the LANG envvar, they do not recode properly. For example when I do: export LANG=bg_BG.CP1251 or export LANG=bg_BG.UTF-8 wget uses the bulgarian po-file translation, but it is not recoded properly and is just a Latin-1 dump of an UTF-8 file

Re: Another NON trivial Cyrillic question

2004-02-11 Thread Igor Pechtchanski
On Wed, 11 Feb 2004, Roman Belenov wrote: > Igor Pechtchanski <[EMAIL PROTECTED]> writes: > > > After a cursory glance, it looks like it is locale-aware, so if you > > have your locale settings straight, cyrillic should print out just > > fine. > > What does it mean to "have your locale settings s

Re: Another NON trivial Cyrillic question

2004-02-11 Thread Roman Belenov
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > After a cursory glance, it looks like it is locale-aware, so if you > have your locale settings straight, cyrillic should print out just > fine. What does it mean to "have your locale settings straight" in cygwin ? Is it possible to make cygwin resp

Re: Another NON trivial Cyrillic question

2004-02-11 Thread Igor Pechtchanski
On Wed, 11 Feb 2004, Alexander Shopov wrote: > Just to clarify things a bit further: > > My problem is that rm -v cyr_file_name > produces output: > > removing `\344\356\344\356\blah-blah-bla' > > instead of > > removing `cyr_file_name' > > I can ls and rm files with cyrillic names just fine. > >

Re: Another NON trivial Cyrillic question

2004-02-11 Thread Alexander Shopov
Just to clarify things a bit further: My problem is that rm -v cyr_file_name produces output: removing `\344\356\344\356\blah-blah-bla' instead of removing `cyr_file_name' I can ls and rm files with cyrillic names just fine. Best regards: al_shopov -- Unsubscribe info: http://cygwin.com/m

Another NON trivial Cyrillic question

2004-02-11 Thread Alexander Shopov
Hi guys, Another nontrivial question for cyrillic in Cygwin: How do I make the command `rm' show cyrillic when doing rm -v file_with_cyrillic_letters_in_filename for example rm -v кирил .inputrc contains: set meta-flag on set convert-meta off set output-meta on Shell is bash terminal is win32 rxvt

Re: Non-trivial Cyrillic question

2004-01-21 Thread Roman Belenov
Joshua Daniel Franklin <[EMAIL PROTECTED]> writes: > Normally, our FAQ maintainer reads the list and you shouldn't need to > pester anyone. However, he'd recently said he's very behind reading the > list and so I updated the FAQ and Users' Guide since this change makes > sense. Note that "less -r

Re: Non-trivial Cyrillic question

2004-01-20 Thread Joshua Daniel Franklin
On Tue, Jan 20, 2004 at 06:26:30PM +0200, Alexander Shopov wrote: > > In your ~/.bashrc: > > > > alias less='/bin/less -r' > > alias ls='/bin/ls -F --color=tty --show-control-chars' > > > Thanx, these work and they are included by default in .bashrc, they are > just commented out. > (the ls line

Re: Non-trivial Cyrillic question

2004-01-20 Thread Alexander Shopov
In your ~/.bashrc: alias less='/bin/less -r' alias ls='/bin/ls -F --color=tty --show-control-chars' Thanx, these work and they are included by default in .bashrc, they are just commented out. (the ls line does not include the --show-control-chars option, maybe it should be included, who do I hav

Re: Non-trivial Cyrillic question

2004-01-20 Thread Igor Pechtchanski
On Tue, 20 Jan 2004, Alexander Shopov wrote: > Hi guys, > I successfully downloaded and installed Cygwin on Windows 2000 > Professional. I want to display all cyrillic properly. > I am a Bulgarian user - so I have a preference for Windows-CP1251 encoding. > I did the usual meta magic in ~/.inputrc

Re: Non-trivial Cyrillic question

2004-01-20 Thread Roman Belenov
Alexander Shopov <[EMAIL PROTECTED]> writes: > However when I pipe it to less > > cat myfile | less > > it gets broken > I get things like: You should tell less what characters are supposed to be printable using LESSCHARSET or LESSCHARDEF environment variable (man less for details). > ls * > >

Non-trivial Cyrillic question

2004-01-20 Thread Alexander Shopov
Hi guys, I successfully downloaded and installed Cygwin on Windows 2000 Professional. I want to display all cyrillic properly. I am a Bulgarian user - so I have a preference for Windows-CP1251 encoding. I did the usual meta magic in ~/.inputrc, and now I can input cyrillic letters properly in bot