Quote:
Originally posted by angustia
i mean:
launch program A and its output goes through a pipe to another program running in another xterm ( to see both programs talking)
|
this is more or less what you need
Code:
mkfifo -m 0666 fifo01
Where '0666' is the mode. You can also use symbolic notation such as +rw or even set the user as with a normal file.
Now all you need to do is redirecting the STDOUT of the first program to fifo01:
and read it from the second console (for example with cat):
if you would like a more elegant interface (and you are using KDE) I would give
Kommander a look, it enables you to create GUIs for shell script in any scripting language (but specially bash), it's quite straightforward and to connect two shells you only have to use the mouse.