Hi,
I have tried to run the following test program with Padre in order to see if
the lines are printed on the screen immediately:
$|++;
while (1) {
print "ok\n";
sleep 1;
}
The lines are printed immediately on the screen as they should, but the
problem is that after I have stopped the program, I wasn't able to copy the
result from the output window to the clipboard, nor to select that text very
easy, although I don't understand why.
For example, I put the cursor at the bottom of the output window, (because I
couldn't move the cursor at the top of that window using the keyboard), and
I pressed Control+Shift+Home which should select the entire content of that
window.
After doing this, I pressed Control+C to copy that text, but my screen
reader told me that no text was selected, and of course, it seems that this
was true, because I couldn't paste it somewhere else.
But if I done Control+Shift+home for 3 times, I was able to copy that text
to the clipboard. It is very strange why this was possible only after trying
to select that text for 3 times.
(As a suggestion, it could be helpful if the stop command from the Run menu
would have a hotkey defined, like Control+Break for example.)
And after I closed the editor which was opened using the "padre" command in
the command prompt, and after typing "exit" command I have seen that the
command prompt window doesn't want to close.
I have taken a look in Task Manager and I've seen that there was a perl.exe
process still running, although there was no program using perl in that
moment.
So I've closed the command prompt window using Control+Pause and then I've
seen that perl.exe process also ended.
I think Padre doesn't release the perl interpreter when it closes.
Does it use threads that might have not ended?
Thanks.
Octavian