Re: ZWinPro packaged
I've guessed that could be the problem too, but even after I changed the fonts
to some existing chinese fonts, it's still not showing up. I read from some
place on the net, we have to run 'runhz' first, which is setting some environment
vars.
export LC_ALL=zh_CN.EUC
export LANG=zh_CN.EUC
export LD_PRELOAD=/usr/lib/libZWin.so
After I set those, the program complain lic not supporting the locale. I guess we
are back to locale issue again? Did we ever resolved this issue?
For the config files, I did a rgrep on the source tree, found the following
references to "*.ad", I guess we have to change those lines:
src$ rgrep "\.ad" *
ZWinControl/tips.c:"TL-ZWinPro µÄ ×Ê Ô´ ÎÄ ¼þ/usr/lib/ZWinPro/ZWinPro.ad ¿É ÒÔ Åä Öà ¸ö ±ð ³Ì Ðò",
ZWinControl/tips.c:"Chinput µÄ ϵ ͳ ×Ê Ô´ ÎÄ ¼þ Ϊ /usr/lib/ZWinPro/Chinput.ad, ¸ö ÈË ×Ê Ô´ ÎÄ ¼þ Ϊ ~/.chinput",
ZWinDict/edict.txt:www.adobe.com Adobeϵͳ
ZWinWrap/Makefile: cp -f ZWinPro.ad /usr/lib/ZWinPro
ZWinWrap/wrap.c: if(!(fp = fopen("/usr/lib/ZWinPro/ZWinPro.ad", "r"))) return 0;
I'll keep on trying to see how far I can go with this program. Hopefully we can get this to work
with Debian. Thanks for the good work!
Yifang Dai
On Wed, Aug 18, 1999 at 05:28:48AM +0800, Anthony Wong wrote:
> On Sun, Aug 15, 1999 at 12:58:55AM -0400, Yifang Dai wrote:
> |I've downloaded and installed zwinpro, but can't seem to get it to work right
> |on my potato box. All I can get is the animated window popup, show some tips,
> |and the control bar. In the tip window, there's nothing show up in the
> |buttons, where supposely has some thing like "next", "cancel" in it.
> |
> |Also when I try to run chinput, it complains cannot find Chinput.ad file. Where
> |does the program look for the file? It's under /usr/lib/ZWinPro.
> |
> |Can you post some more instructions on how to set it up right? Such as where can I
> |change the font settings, or do I need to set any environment variables? Thanks.
>
> I think this is because the font is not set correctly in these files:
>
> /usr/lib/ZWinPro/zwincontrol.rc
> /usr/lib/ZWinPro/Chinput.ad
> /usr/lib/ZWinPro/pyinput/pyinput.ad
>
> The locations of these files are kinda odd, because if they are config
> files they should be put in /etc (or /etc/X11). I may need to modify
> the source code to do this properly...
>
> As I'm also new to this program, please give me suggestions if you
> have any :-)
>
> --
> Anthony Wong. [ E-mail: hajime@asunaro.dhs.org / ypwong@debian.org ]
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
---------------
Yifang Dai
Fax: (847)628-0255
Reply to: