shawr@cpsvax.cps.msu.edu (Richung Shaw) (04/15/90)
Hello,
I am facing a keyboard input problem when running Xlib program
under sun's openwindow X11 server. The codes is as follow:
include <X11/keysym.h>
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.