[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
[Nano-X] 0.88pre10 + fltk-nanox-pre6
From: "Murphy C. Chen" ####@####.#### Date: 10 Jul 2000 10:52:38 -0000 Message-Id: <Pine.LNX.4.10.10007101846390.32434-100000@pc120105.ccl.itri.org.tw> Dear All, On my system, the mouse cursor doesn't move and keyboard input doesn't have any response. It seems something goes wrong with the event delivering mechanism. The following is a dirty fix to the problem: Originally, in Fl_x.cxx, Row 209: -------------------------------- // GrCheckNextEvent(&ev); // if(ev.type!=0) if(GrPeekEvent(&ev)) { do_queued_events(); return time; } Dirty fix: --------- GrCheckNextEvent(&ev); if(ev.type!=GR_EVENT_TYPE_NONE) // if(GrPeekEvent(&ev)) { fl_handle(ev); do_queued_events(); return time; } Hope this helps. Sincerely, Murphy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: "Greg Haerr" ####@####.#### Date: 10 Jul 2000 15:40:49 -0000 Message-Id: <001c01bfea85$43971cf0$f617dbd0@censoft.com> : On my system, the mouse cursor doesn't move and keyboard input : doesn't have any response. : It seems something goes wrong with the event delivering mechanism. Which demo are you running? What is the microwindows screen driver that you're using? Which mouse driver? I haven't seen this problem. Regards, Greg : : The following is a dirty fix to the problem: : : Originally, in Fl_x.cxx, Row 209: : -------------------------------- : // GrCheckNextEvent(&ev); : // if(ev.type!=0) : if(GrPeekEvent(&ev)) : { : do_queued_events(); : return time; : } : : Dirty fix: : --------- : GrCheckNextEvent(&ev); : if(ev.type!=GR_EVENT_TYPE_NONE) : // if(GrPeekEvent(&ev)) : { : fl_handle(ev); : do_queued_events(); : return time; : } : : Hope this helps. : : Sincerely, : Murphy : : : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: "Murphy C. Chen" ####@####.#### Date: 11 Jul 2000 01:40:10 -0000 Message-Id: <Pine.LNX.4.10.10007110937560.871-100000@pc120105.ccl.itri.org.tw> > : On my system, the mouse cursor doesn't move and keyboard input > : doesn't have any response. > : It seems something goes wrong with the event delivering mechanism. > > Which demo are you running? What is the microwindows screen > driver that you're using? Which mouse driver? I haven't seen this problem. I've encoutnered this problem in all the demos in flnx/test. I tried both framebuffer with gpm and X11 driver. PS. The demo programs of Nano-X are working well. Sincerely, Murphy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: "Murphy C. Chen" ####@####.#### Date: 11 Jul 2000 01:55:36 -0000 Message-Id: <Pine.LNX.4.10.10007110952070.899-100000@pc120105.ccl.itri.org.tw> Dear Greg, Another problem is about the tty keyboard driver. When I run flnx test programs under X11, 'alt'+'F' and arrow keys work fine. But under framebuffer with tty keyboard driver, these keys does not work, and will terminate demo programs. Is there any environmental variables I need to set? ( My Linux version is 2.3.99pre9. ) Sincerely, Murphy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: "Greg Haerr" ####@####.#### Date: 11 Jul 2000 03:22:26 -0000 Message-Id: <029f01bfeae7$39d3f3c0$15320cd0@gregh> : When I run flnx test programs under X11, 'alt'+'F' and : arrow keys work fine. : : But under framebuffer with tty keyboard driver, : these keys does not work, and will terminate demo programs. The problem is that we don't yet parse function keys or alt-combinations and convert them into single integers. So when you press LEFT ARROW, an ESC [ A is sent (three characters) from the kbd driver to the lowest level Microwindows tty driver. The driver just thinks the user typed ESCAPE, [, A. The first escape will cause Microwindows to exit unless run with the -e option. I've just started working to fix this problem. Expect changes in the 0.89 release. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: ####@####.#### Date: 14 Jul 2000 03:27:39 -0000 Message-Id: <396E8938.DCA629AD@sut.ru> Hi, Flnx/DJGPP has the same problem - I can see all demos, but mouse didn't move. Regards, Victor. Greg Haerr wrote: > : On my system, the mouse cursor doesn't move and keyboard input > : doesn't have any response. > : It seems something goes wrong with the event delivering mechanism. > > Which demo are you running? What is the microwindows screen > driver that you're using? Which mouse driver? I haven't seen this problem. > > Regards, > > Greg > > : > : The following is a dirty fix to the problem: > : > : Originally, in Fl_x.cxx, Row 209: > : -------------------------------- > : // GrCheckNextEvent(&ev); > : // if(ev.type!=0) > : if(GrPeekEvent(&ev)) > : { > : do_queued_events(); > : return time; > : } > : > : Dirty fix: > : --------- > : GrCheckNextEvent(&ev); > : if(ev.type!=GR_EVENT_TYPE_NONE) > : // if(GrPeekEvent(&ev)) > : { > : fl_handle(ev); > : do_queued_events(); > : return time; > : } > : > : Hope this helps. > : > : Sincerely, > : Murphy > : > : > : > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: "Greg Haerr" ####@####.#### Date: 14 Jul 2000 19:41:04 -0000 Message-Id: <04a201bfedcb$70b1fcc0$f617dbd0@censoft.com> : Flnx/DJGPP has the same problem - I can see all demos, but mouse didn't move. : Does the attached fix from Murphy solve your problem, Victor? If so, I will change the FLTK nano-X port. Regards, Greg : : > : The following is a dirty fix to the problem: : > : : > : Originally, in Fl_x.cxx, Row 209: : > : -------------------------------- : > : // GrCheckNextEvent(&ev); : > : // if(ev.type!=0) : > : if(GrPeekEvent(&ev)) : > : { : > : do_queued_events(); : > : return time; : > : } : > : : > : Dirty fix: : > : --------- : > : GrCheckNextEvent(&ev); : > : if(ev.type!=GR_EVENT_TYPE_NONE) : > : // if(GrPeekEvent(&ev)) : > : { : > : fl_handle(ev); : > : do_queued_events(); : > : return time; : > : } : > : : > : Hope this helps. : > : : > : Sincerely, : > : Murphy : > : : > : : > : : > : > --------------------------------------------------------------------- : > To unsubscribe, e-mail: ####@####.#### : > For additional commands, e-mail: ####@####.#### : : : --------------------------------------------------------------------- : To unsubscribe, e-mail: ####@####.#### : For additional commands, e-mail: ####@####.#### : : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: ####@####.#### Date: 25 Jul 2000 05:57:39 -0000 Message-Id: <397D2AEC.C88377B8@sut.ru> Murphy, thanks ! My mouse is very glad. It can move :-) I have compiled flnx / djgpp with your fix. Victor. Greg Haerr wrote: > : Flnx/DJGPP has the same problem - I can see all demos, but mouse didn't > move. > : > > Does the attached fix from Murphy solve your problem, Victor? > > If so, I will change the FLTK nano-X port. > > Regards, > > Greg > > : > > : > : The following is a dirty fix to the problem: > : > : > : > : Originally, in Fl_x.cxx, Row 209: > : > : -------------------------------- > : > : // GrCheckNextEvent(&ev); > : > : // if(ev.type!=0) > : > : if(GrPeekEvent(&ev)) > : > : { > : > : do_queued_events(); > : > : return time; > : > : } > : > : > : > : Dirty fix: > : > : --------- > : > : GrCheckNextEvent(&ev); > : > : if(ev.type!=GR_EVENT_TYPE_NONE) > : > : // if(GrPeekEvent(&ev)) > : > : { > : > : fl_handle(ev); > : > : do_queued_events(); > : > : return time; > : > : } > : > : > : > : Hope this helps. > : > : > : > : Sincerely, > : > : Murphy > : > : > : > : > : > : > : > > : > --------------------------------------------------------------------- > : > To unsubscribe, e-mail: ####@####.#### > : > For additional commands, e-mail: ####@####.#### > : > : > : --------------------------------------------------------------------- > : To unsubscribe, e-mail: ####@####.#### > : For additional commands, e-mail: ####@####.#### > : > : > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |