All my life i have been writing under Windows. Now I need to write some stuff under Linux. Can you help me?
The problem is:
I have a program under Linux. It works in one window - normally I start 'xterm' and after this program - so it works in text mode in 'xterm'. But now I need this program to have 3 different windows (text mode). Program needs to read from all windows and write to all windows.
Unfortunatelly, I have no idea how I can solve it.
Thank you very much indeed.
You need to look at pipes or shared memory, or some form of ipc (interprocess communication). Depends on how you want to do it.
Thanks for your answers, guys.
But I actually need a real answer, I mean which functions should I use for my coding and in which order. But I dont wanna use Client-Server scheme. Using pipes is a really nice idea (I am playing around with fork() currently) but I dont really know how I can use it - which order and with what together.
STFW. They gave you an answer. Its not like somebody is going to sit down and write a howto post for your problem. Its called research.