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.