|
From: Tatsuro M. <tma...@ya...> - 2014-06-23 23:43:58
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: Tait gnuplot-beta> Cc: > Date: 2014/6/24, Tue 06:18 > Subject: Re: How to get key information from qt terminal to gnuplot > ----- Original Message ----- >> From: Tait >> To: gnuplot-bet >> Cc: >> Date: 2014/6/24, Tue 05:32 >> Subject: Re: How to get key information from qt terminal to gnuplot >> >> Ethan A Merritt said (on 2014/06/23): >>> Isn't it true that all terminals already do the necessary key-code >>> processing so that they can send key events to the core code in > mouse.c? >>> >>> For example, does "mouselabels.dem" work on MSWin? That > demo >> reads >>> keystrokes in the plot window, turns them into labels in the core > code, and >> then >>> replots with the new label. If the demo works, it shows that > keycodes >> including >>> the space-key are correctly transmitted to the core code. >>> >>> Ethan >> >> The mouselabels demo does work* on Windows in wxt and windows terms, >> although one cannot create a label containing a space (because the >> space brings up the console) or q (it is ignored). >> >> * for some value of "works"... The Windows terminal tends to eat >> keystrokes unless they're typed much more slowly than a normal typing >> pace. The wxt terminal places the red text on top of the black, making >> it impossible to read either, and sometimes (I haven't figured out how >> to replicate it on-demand) backspace doesn't work. Both seem to add an >> extra "\033" label after hitting ESC to end label input. None > of >> the >> Windows builds have a qt terminal to try. > > > Tait is right. > For qt on windows, mouselabels demo does not work. > > As the first work, I will try to mouselabels demo to wrok on qt for windows. > > Tatsuro I misled the mouselabels demo, I have execute it on wxt and windows terminmal on windows. That worked but echo back 'paused' to the command screen at each key stoke. This is not a bug but it is annoying. I have execute mouselabels demo on qt terminal on Ubuntu 12.04 LTS. It partially work. Key input reflected in the plot window. However, <del>, <bs> and <esc> work but <tab> does not work. The qt terminal seems to have bug for key input handling but behave differently on windows and Linux. Regards Tatsuro |