changing a program's scope

Hi,
I have an problem that I hope I can fix (not a serious problem, but one that
is quite annoying). On my system, a program I wrote kills Input and
restarts it when it is done (so I can use the keyboard again). The problem
I came across is when I happen to close the terminal I am in, I lose
keyboard input (Input is a child of that terminal, so now that the terminal
is gone, it quits).

So, my question is, how can I get it so when I restart Input, I no longer
need to worry about closing the terminal (like change it’s scope)?

TIA!

R B Adler

Previously, R B Adler wrote in qdn.public.qnx4:

Hi,
I have an problem that I hope I can fix (not a serious problem, but one that
is quite annoying). On my system, a program I wrote kills Input and
restarts it when it is done (so I can use the keyboard again). The problem
I came across is when I happen to close the terminal I am in, I lose
keyboard input (Input is a child of that terminal, so now that the terminal
is gone, it quits).

So, my question is, how can I get it so when I restart Input, I no longer
need to worry about closing the terminal (like change it’s scope)?

If you’re doing this from a shell script or system(), try “nohup”.

  • Pete