RE: FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-17 Thread siegfried
I was google searching for documentation and could not find much on
rxvt.org. The best documentation seems to be in the man page.

I just did a cygwin update. Are we off topic here because this is really an
XFree86 topic? I cannot figure out how to run the non-X version of rxvt but
I remember selecting it from the cygwin installation program. I'd be glad to
use that if I could make it work.

Anyway, according to the man page, there are several code pages none of
which are utf8. I was hoping to print the Cyrillic alphabet with this
program:

perl -wle binmode STDOUT, q[:utf8]; print chr() for 0x410 .. 0x430;


Hi Siegfried,

Install rxvt and use that instead. I believe there's a unicode package
of it in Cygwin - it should have no trouble displaying cyrillic or
chinese characters.


So could you expand upon this Unicode package? what do I look for in the
cygwin installer in addition to the rxvt packages?

I tried specifying the font Arial Unicode MS which contains fonts for
Chinese and Russian. It seemed to use the font but would not correctly print
the Russian alphabet.

Thanks,
Siegfried


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-17 Thread René Berber
siegfried wrote:

[snip]
 So could you expand upon this Unicode package? what do I look for in the
 cygwin installer in addition to the rxvt packages?

They are separate packages, from http://cygwin.com/packages/ :

rxvtVT102 terminal emulator for both X and Windows

rxvt-unicode-X  An improved version of rxvt requiring an Xserver.
rxvt-unicode-common An improved version of rxvt requiring an 
Xserver.
-- 
René Berber


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-17 Thread Kostya Altukhov
On Wed, Sep 17, 2008 at 10:35 AM, siegfried wrote:
 Anyway, according to the man page, there are several code pages none of
 which are utf8. I was hoping to print the Cyrillic alphabet with this
 program:

 perl -wle binmode STDOUT, q[:utf8]; print chr() for 0x410 .. 0x430;

Non-X rxvt can't display UTF-8. You should install 'rxvt-unicode'
package, then read /usr/share/doc/Cygwin/rxvt-unicode-X-7.7.README
which contains a lot of useful information on how to configure and use
it. (Except that it says that vi can't display UTF-8 which is not true
because you can :set enc=utf-8).

Your perl command works well and displays Cyrillic letters in my
rxvt-unicode window.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-16 Thread Siegfried Heintze
Is the third time a charm! I hope so. I forgot to turn off HTML again!

I apologize if this query appears again. Since I saw no replies (and not even 
my own posting) after checking my spam filters, I assume it never got to the 
list (Maybe I forgot to turn of HML the first time too!)

Is it possible to do this (display Russian Cyrillic and Chinese) at the cygwin 
console prompt? I hear it is not possible at CMD.EXE prompt. I'm not sure how 
the bash console is implemented in cygwin but if it is running CMD.EXE 
underneath and CMD.EXE cannot do it, the outlook is bleak! I was really 
suprised to learn that CMD.exe cannot do it and I question the accuracy of my 
source.

I did some searching and experimenting and I cannnot figure out how to do it 
with the cygwin bash console. I have posted a similar query on the XFree list 
because I would like to do it both in xterm and the cygwin bash console (is 
there a better name for this since it could be running some other shell?)

Thanks,
Siegfried

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-16 Thread Chris Taylor
Siegfried Heintze wrote:
 Is the third time a charm! I hope so. I forgot to turn off HTML
 again!
 
 I apologize if this query appears again. Since I saw no replies (and
 not even my own posting) after checking my spam filters, I assume it
 never got to the list (Maybe I forgot to turn of HML the first time
 too!)
 
 Is it possible to do this (display Russian Cyrillic and Chinese) at
 the cygwin console prompt? I hear it is not possible at CMD.EXE
 prompt. I'm not sure how the bash console is implemented in cygwin
 but if it is running CMD.EXE underneath and CMD.EXE cannot do it, the
 outlook is bleak! I was really suprised to learn that CMD.exe cannot
 do it and I question the accuracy of my source.
 
 I did some searching and experimenting and I cannnot figure out how
 to do it with the cygwin bash console. I have posted a similar query
 on the XFree list because I would like to do it both in xterm and the
 cygwin bash console (is there a better name for this since it could
 be running some other shell?)
 
 Thanks, Siegfried
 

Hi Siegfried,

Install rxvt and use that instead. I believe there's a unicode package
of it in Cygwin - it should have no trouble displaying cyrillic or
chinese characters.

You can convert your existing Cygwin startup script to launch rxvt
instead of starting bash in a CMD prompt, or you can change the shortcut
to start rxvt straight away - this way you don't have a 'phantom' cmd
window hanging around..

There have been messages about doing so in the past, and a quick google
should turn something up.

HTH,

Chris

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/