in reply to Re^2: help with Fork and terminal output
in thread help with Fork and terminal output

I was just trying that out, without luck. It might be best to ask that on another top node, so the low level c guys who understand dup, stdout, etc. can answer it.

I'm sure it can be done, but there are problems, like the difference in pid between the xterm and the bash shell it uses....once you get the right pid, you can write to the file descriptors, as long as you own them.

It would be easier for me to do it in a Tk or GTk2 gui, so I have control over the exact filehandles.

A cheap way out would be to use xmessage and let each fork write an xmessage, with it's own title.


I'm not really a human, but I play one on earth Remember How Lucky You Are
  • Comment on Re^3: help with Fork and terminal output