Thread output with ncurses

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • blaine

    Thread output with ncurses

    Hey everyone,
    I currently have three independent applications that all 'do
    something' and output to the console when events are triggered. I'd
    like to combine these all into a single ncurses application. The idea
    would be that the application simply has three 'windows' or 'pads' and
    each thread would output to their respective one. What is the best
    way to go about this? Would I want to use a pad or window? Is this
    common functionality that is already implemented? (ie scrolling
    textbox that is easily written to like the console is).

    Any help or tips would be appreciated. Thanks!
    -Blaine
  • Bjoern Schliessmann

    #2
    Re: Thread output with ncurses

    blaine wrote:
    The idea would be that the application simply has three 'windows'
    or 'pads' and each thread would output to their respective one.
    I don't know much about ncurses, but I suggest you better use
    multiple processes (subprocess module).

    Regards,


    Björn

    --
    BOFH excuse #434:

    Please state the nature of the technical emergency

    Comment

    Working...