|
From: Tatsuro M. <tma...@ya...> - 2010-01-28 05:11:15
|
Hello
--- Petr Mikulik wrote:
> If WX is the current terminal under windows, then the pausing code with
> waitforinput() has to be used instead. Will the (untested) enclosed patch
> work?
>
Hello
I have applied your patch to cvs trees.
In the patch, a small fix is needed
+ if (!strcmp(term->title, "wx")) {
should be
+ if (!strcmp(term->name, "wxt")) {
# ***** results for gnuplot.exe *****
The patch for pause mouse for windows and wxt terminals works well except a side effect.
The patch gives s gui 'gnuplot pause' window when the command 'pause -1' is executed when terminal is
set to 'windows'.
When WGP_CONSOLE is true. the code should be modified.
I have encountered this problem and I have considered to treat the side effect.
I will show it afterwards.
# ***** results for wgnuplot{_pipes}.exe *****
The patch does not correct the 'pause mouse' issue of wxt term.
Clicking mouse button does not break 'pause mouse' while pressing a key breaks it.
Of course, the pause mouse for windows terminals works correct.
I have tried the similar treatment but that also did not work.
There is no gnuplot executable for all other platformes which has a original GUI based console except
for wgnuplot. I suspect that wxt_waitforinput() does not work correct on wgnuplot.exe.
However it is no more than speculation at present.
Regards
Tatsuro
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
|