Thread output with ncurses

Discussion in 'Python' started by blaine, May 19, 2008.

  1. blaine

    blaine Guest

    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
     
    blaine, May 19, 2008
    #1
    1. Advertising

  2. 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
     
    Bjoern Schliessmann, May 19, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Woodward

    Linux Console Applications / NCurses

    Paul Woodward, Jul 22, 2003, in forum: C++
    Replies:
    0
    Views:
    429
    Paul Woodward
    Jul 22, 2003
  2. Paul Woodward

    Linux Console Applications / NCurses

    Paul Woodward, Jul 22, 2003, in forum: C++
    Replies:
    0
    Views:
    503
    Paul Woodward
    Jul 22, 2003
  3. Paul Woodward

    Console Application / NCurses

    Paul Woodward, Jul 22, 2003, in forum: C++
    Replies:
    0
    Views:
    393
    Paul Woodward
    Jul 22, 2003
  4. Nick R

    ncurses help

    Nick R, Dec 7, 2003, in forum: C++
    Replies:
    2
    Views:
    584
    Kelsey Bjarnason
    Dec 8, 2003
  5. Kenneth McDonald
    Replies:
    1
    Views:
    154
    Nit Khair
    Sep 27, 2008
Loading...

Share This Page