|
From: Tatsuro M. <tma...@ya...> - 2010-02-02 08:14:42
|
Hello In gnuplot.exe on windows, we can break pause for key board like 'pause -1' by any key. In the manual or the help of pause, it can be broken by only the return key. Is it desirable to correct code of pause command for keyboard only be broken by the return key? In current state, pause for keyboard on gnuplo.exe by calling term->waitforinput(). In term->waitforinput(), ConsoleGetch() is used. Why I use term->waitforinput() but not fgets(buf, strlen(buf), stdin) is the way to get command strings from the prompt gnuplot.exe for windows. It gets commant strings though ConsoleGetch() so that using fgets(buf, strlen(buf), stdin) gave failure to get command string after pause for key board. If it is desirable that pause command for keyboard only be broken by return key, I will fix it using a loop when return code gotten from term->waitforinput(). Any comments? Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > --- Tatsuro MATSUOKA <tma...@ya...> wrote: > > > > BTW, I found the my fix for 'pause mouse' shows different results whether gnuplot is built > > with > > wxt or > > without wxt. I will fix it. > > The my completely comes from my miss operation. Sorry for the noise. > > Regards > > Tatsuro > > > -------------------------------------- > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN > http://pr.mail.yahoo.co.jp/ie8/ > -------------------------------------- VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi] http://pr.mail.yahoo.co.jp/olympic/ |