nanogui: about chinese ime


Previous by date: 19 Sep 2001 05:25:17 -0000 about chinese ime, 姚茂彪 Candy Yao
Next by date: 19 Sep 2001 05:25:17 -0000 SDL and nano-X?, Alix Marchandise-Franquet
Previous in thread: 19 Sep 2001 05:25:17 -0000 about chinese ime, 姚茂彪 Candy Yao
Next in thread:

Subject: about chinese ime
From: 姚茂彪 Candy ####@####.####
Date: 19 Sep 2001 05:25:17 -0000
Message-Id: <2C111A6965E01E4AB9DBCCF75D0F0AF914EB99@kes01.kinposh.com.cn>

/*fragment 1: from ime.c */
int main(int argc, char* argv[])
{
    GR_EVENT  ev;
    GR_WM_PROPERTIES props;

    /* get pipe file descriptor */
    ofd = atoi(argv[1]);

    WindowInit(&props);
    KeyboardInit();

    for (;;)
    {
        SelectKeyboard();
        GrGetNextEventTimeout(&ev, 100L);
        HandleEvent(&ev);
    }

    return 0;
}

Hi, All:
          I want to install microwindows to my destop computer, my desktop os
is Redhat7.1. I have completed this step successfully. my other purpose is to
let microwindows support chinese input, so I download:
	 "microwindows-fonts-chinese-0,89pre2.tar.gz"
                "ime-beta-1.patch"
          and follow the steps described in the document of "Chinese Input
Method Editor for nanoX" from "Hsien-Li Lin"  
          The result is that the ./demo and ./demo can run, but can not start
ime. so I read the source code of ime.c, in main(), program will get pipe
file descriptor "ofd", in followed code, program will use the ofd to
communicate nanoX server, my question are:
              1) why can not start ime when run ./demo1 or ./demo2?
              2) When I analyse the ./demo1 command line, why  can I not find
the argv[1]?
              3) Who and When open this pipe file?
         Please help me! Thank you very much!
yao
2001/9/19

Previous by date: 19 Sep 2001 05:25:17 -0000 about chinese ime, 姚茂彪 Candy Yao
Next by date: 19 Sep 2001 05:25:17 -0000 SDL and nano-X?, Alix Marchandise-Franquet
Previous in thread: 19 Sep 2001 05:25:17 -0000 about chinese ime, 姚茂彪 Candy Yao
Next in thread:


Powered by ezmlm-browse 0.20.