multiple console windows?

This is a discussion on multiple console windows? within the Linux Programming forums, part of the Platform Specific Boards category; What would be a way to open multiple console windows? I am looking to open a second window that I ...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    multiple console windows?

    What would be a way to open multiple console windows? I am looking to open a second window that I can write error messages to with a printf in a format like

    fprintf or printf(stdout2, "my text\n")

    I know I can write this to a file(e.g. stdout2) and inspect later but I would prefer to write it to a console window just like stdout.

    I am toying with unix and Max OS X.

  2. #2
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,632
    Quote Originally Posted by hajiman View Post
    What would be a way to open multiple console windows? I am looking to open a second window that I can write error messages to with a printf in a format like

    fprintf or printf(stdout2, "my text\n")

    I know I can write this to a file(e.g. stdout2) and inspect later but I would prefer to write it to a console window just like stdout.

    I am toying with unix and Max OS X.
    You could only do that by interfacing with the window manager/console program.
    Terminal windows are suppose to be transparent to programs. Think about it, you can run the programs in the straight console without even having X running.
    I would write something of a launcher that opens the two consoles for you, and acts as a proxy between it's child program in question and child console windows. That would be the cleanest way I can think of.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. One process with two console windows
    By siavoshkc in forum Windows Programming
    Replies: 8
    Last Post: 01-30-2009, 03:13 PM
  2. Multiple Top Level Windows
    By quark_77 in forum Windows Programming
    Replies: 0
    Last Post: 07-13-2008, 02:32 PM
  3. Need help migrating console app to windows app
    By DelphiGuy in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2004, 06:05 PM
  4. Windows Console!
    By Perica in forum Windows Programming
    Replies: 15
    Last Post: 10-18-2002, 08:08 PM
  5. my first windows console program
    By Syneris in forum Windows Programming
    Replies: 3
    Last Post: 04-08-2002, 03:18 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21