http://www.perlmonks.org?node_id=962229


in reply to mixing curses::ui with stdout program

If your running on a Linux box and executing that script through a terminal, it should work. However:

print STDOUT "Try this\n";

Replies are listed 'Best First'.
Re^2: mixing curses::ui with stdout program
by mzagrabe (Initiate) on Mar 28, 2012 at 18:48 UTC
    Hi bms!

    Thanks for your reply. I am running this on a GNU/Linux box. Unfortunately, your suggestion does not improve the result:

    ---{/tmp/curses_ui_test}--- ... $text_editor->focus; $cui->mainloop; print STDOUT "outside of mainloop!\n"; ---{/tmp/curses_ui_test}---
    mzagrabe@achilles:/tmp$ ./curses_ui_test mzagrabe@achilles:/tmp$
    I would expect to see something between the two prompts above.

    Any other ideas? :)

    Thanks!

    -mz