I'm kind of new to the Unix environment.
I want to have a little chat program that the initial terminal is used for input, and invoke another terminal for output. I've been searching the web but without any luck.
OK, to be more specific, I am writing a chat program over TCP/IP on Mac in C. I want to separate the input and chatting messages output in two different terminals. I can find resources on how to communicate between processes, but I don't know how to invoke another terminal for the output.