Hi. Ta. It does work (in CMD mode). I had to add a "\n" to avoid the buffering of characters. Some console output follows (involving this change).
C:\u\Perl_Eclipse_IDE\OBD2_control> C:\u\Perl_Eclipse_IDE\OBD2_control>perl Note_02_NonBlockingSTDIN.pl start finish ...........Get key K C:\u\Perl_Eclipse_IDE\OBD2_control> C:\u\Perl_Eclipse_IDE\OBD2_control> C:\u\Perl_Eclipse_IDE\OBD2_control>perl Note_02_NonBlockingSTDIN.pl start finish . . . . . Get key N
But I find it dis-appointing to lose the convenience of running from the IDE. Are there other IDEs that would accommodate ?
Regards JC....
In reply to Re^4: Non blocking read from the console
by jmClifford
in thread Non blocking read from the console
by jmClifford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |