This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: no cyrillic fonts in windows 2000


Igor, I have another question for you.  Maybe this should be addressed to
another list, but I figured you might know the answer.. hope this is not too
off-topic.  I have an TCL script that I run using Expect from Cygwin.  It
used to work fine, but one day something happened that messed it up, and I
can't figure out what it is.  Here's an 3-line version of the script,
demonstrating the problem, that you will understand even if you don't know
TCL or Expect:

#!/bin/tclsh
set author [lindex $argv 0]
puts #$author#

All this does is print to the standard output the first parameter to the
script from the command line.  When I run the script (testCyr.tcl) with a
cyrillic parameter:

expect testCyr.tcl ????????

I am expecting this output:

#????????#

but instead get:

#???????

and no error messages.  But some cyrillic strings, such as "???????" work
fine, as well as any latin string.  Any ideas?  I am positive that it worked
before!


Thanks,
Yury


----- Original Message ----- 
From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
To: "Kuz'ma 725" <kuzma725@hotmail.com>
Cc: <cygwin@cygwin.com>
Sent: Tuesday, May 13, 2003 11:38 AM
Subject: Re: no cyrillic fonts in windows 2000


> Yury,
>
> Please keep replies on the list, so that people searching the archives
> later can find out whether a particular method worked or not.  Also, as
> the underlined header field below indicates, I prefer to read the
> responses on the list.
>
> Glad it worked for you.
> Igor
>
> On Tue, 13 May 2003, Kuz'ma 725 wrote:
>
> > Thanks Igor, that was it.  I'll check the faq more carefully next time.
> > Yury
> >
> > >From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
> > >Reply-To: cygwin@cygwin.com
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >To: "Kuz'ma 725" <kuzma725@hotmail.com>
> > >CC: cygwin@cygwin.com
> > >Subject: Re: no cyrillic fonts in windows 2000
> > >Date: Tue, 13 May 2003 12:19:31 -0400 (EDT)
> > >
> > >On Tue, 13 May 2003, Kuz'ma 725 wrote:
> > >
> > > > I have 2 installations of Win2K, and I was able to somehow get
cygwin to
> > > > display cyrillic input from the keyboard (although it still shows
cyrillic
> > > > filenames as ?s)... but I forgot how I did it!  I have the latest
> > > > XFree86-fcyr package (4.2.0-2) installed in both places and the same
> > > > settings in Windows' Regional Options - English (United States) as
my locale
> > > > (location), Cyrillic/Russian as default System Locale, in Advanced I
checked
> > > > all the fonts that have anything to do with cyrillic, and Russian
and
> > > > English keyboard locales.  Any suggestions?  This is driving me
crazy!
> > > >
> > > > Thanks in advance
> > >
> > >Which program are you talking about here?  If it's a bash console
window,
> > >the X fonts will not affect it -- you have to select a Windows font in
> > >Properties that has cyrillic characters in it.  If it's rxvt or xterm,
> > >then indeed you'll have to use the X fonts (at least in the X mode of
> > >rxvt).
> > >
> > >Furthermore, are you talking about *displaying* cyrillic characters, or
> > >*inputting* them?  If the former, try "cat"ting a file containing those
> > >characters and if that doesn't work properly, look at the first
paragraph
> > >above.  If the latter, see <http://cygwin.com/faq/faq.html#SEC49>.
> > > Igor
> > >P.S. For the "ls" problem, try the --show-control-chars parameter. ;-)
>
> -- 
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> Knowledge is an unending adventure at the edge of uncertainty.
>   -- Leto II
>
>

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]