Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!rutgers!netnews.upenn.edu!cps3xx!cpsvax!shawr From: shawr@cpsvax.cps.msu.edu (Richung Shaw) Newsgroups: comp.windows.x Subject: Problem of getting function key input under Sun's OW server Message-ID: <7187@cps3xx.UUCP> Date: 15 Apr 90 01:56:59 GMT Sender: usenet@cps3xx.UUCP Reply-To: shawr@cpsvax.cps.msu.edu (Richung Shaw) Organization: Michigan State University, Computer Science Department Lines: 28 Hello, I am facing a keyboard input problem when running Xlib program under sun's openwindow X11 server. The codes is as follow: include KEvent event; KeySym key; ......... .......... switch(event.type){ case KeyPress: k = XLookupString(&(event.xkey), text, 10,10,&key,0); switch(key){ ..... case XK_Up: .......... ############################################## ## My problem is why this program runs well under MIT's server, but fail to accept function keyes while running under sun's openwindow server? Thanks in advance. Rich Shaw.