Cool, this partially helped. thanks.
Now I've come accross a different thing.
It partially works because it still kills the process, but the sleep option makes it come up again after 60 seconds. which is good.
If it would be possible I need it to not kill the process at all, since it needs to run without being killed when closing putty.
What I'm wondering
Isn't there a way that when someone presses the quit option in the menu it will shut down the menu itself and then log off from the shell?
This would save me a lot more trouble.
Anyway... thank you very much for the option you've given me before, that has helped in some way, but as you can read, it isn't the entire sollution
Thanks again.
Kind regards
Jorge Valencia