Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: mixing curses::ui with stdout program

by bms (Monk)
on Mar 28, 2012 at 16:55 UTC ( #962229=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://962229]
help
Chatterbox?
LanX where is the camera?
Tux => $HOME
[Eily]: you wrote boos instead of boss, and jedikaiti read that as boobs :)
[LanX]: Win claims only 8 MB left on C: how do I find out where the problem happens?
[Eily]: by Tux. And going home sounds like a good idea
[Eily]: LanX pretty much everywhere except in 8MB ?
[Eily]: s/by/bye/ someone hacked my keyboard I'm sure
[LanX]: good point! :)
[Eily]: LanX I don't understand the question though, you want to know what is taking so much space?
[Tanktalus]: Probably the swapfile :)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2017-09-20 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?