nanogui: Problem with keys ...


Previous by date: 10 Oct 2000 01:02:50 -0000 Re: GrGetNextEventTimeout, Greg Haerr
Next by date: 10 Oct 2000 01:02:50 -0000 Re: GrGetNextEventTimeout, peter.igelaus.com.au
Previous in thread: 10 Oct 2000 01:02:50 -0000 Re: Problem with keys ..., Ritesh Saigal
Next in thread: 10 Oct 2000 01:02:50 -0000 Re: Problem with keys ..., Ritesh Saigal

Subject: Re: Problem with keys ...
From: "Greg Haerr" ####@####.####
Date: 10 Oct 2000 01:02:50 -0000
Message-Id: <0ffd01c03256$2c94cf20$15320cd0@gregh>

: Its still not working. Escape, function, arrow, pagegup, pagedown keys
: terminate the application. I initialized escape_quits to 0, recompiled nanox,
: recompiled my program. The program still terminates on pressing any of these
: keys.

Hmm..  greping the code shows that there's yet another instance
of escape_quits being set to 1, just inside GrOpen() in nanox/srvmain.c.
Change this to =0 as well.

Regards,

Greg



: 
: Regds,
: 
: Ritesh.
: 
: Greg Haerr wrote:
: 
: > : I am not running the server Nano-X but instead linking application into
: > : server. So what do I need to do to disable the development version
: > : feature.
: >
: > At this point, initialize the variable escape_quits to 0
: > in src/nanox/srvmain.c and recompile.
: >
: > Regards,
: >
: > Greg
: >
: > :
: > : Thanks,
: > :
: > : Ritesh.
: > :
: > : Greg Haerr wrote:
: > :
: > : > : I am having a problem with the keyboard events. I want to catch all
: > : > : (keyboard) events and then filter out some of  them. I am able to
: > : get
: > : > : ascii values of all integer/character keys. But as soon as I press
: > : any
: > : > : of the function keys or esc, insert, home, end keys, the program
: > : exits.
: > : >
: > : > Run "nano-X -e" to disable the development version feature
: > : > where "ESC" terminates the server.  The function keys all start
: > : > with an ESC prefix.
: > : >
: > : > Regards,
: > : >
: > : > Greg
: > :
: > :
: 
: 


Previous by date: 10 Oct 2000 01:02:50 -0000 Re: GrGetNextEventTimeout, Greg Haerr
Next by date: 10 Oct 2000 01:02:50 -0000 Re: GrGetNextEventTimeout, peter.igelaus.com.au
Previous in thread: 10 Oct 2000 01:02:50 -0000 Re: Problem with keys ..., Ritesh Saigal
Next in thread: 10 Oct 2000 01:02:50 -0000 Re: Problem with keys ..., Ritesh Saigal


Powered by ezmlm-browse 0.20.