Results 1 to 2 of 2
I would like to create a thread and pipe all "printf" to a new terminal (kconsole or xterm) mean time the main program stays in different kconsole for more user ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-09-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 6
Piping "printf" to a new terminal with a new thread
I would like to create a thread and pipe all "printf" to a new terminal (kconsole or xterm) mean time the main program stays in different kconsole for more user inputs. Can you please help where I should start??
Thanks in advance.
- 06-09-2008 #2
Look at "man pipe -k" it wil give you all the different ways of handling pipes including named pipes. For your other threads you just open either the "named pipe" or pipe like file i/o. More reading is required on your part.


Reply With Quote
