lorel
MIS
- Jun 15, 2004
- 158
Hello there:
I have to create a user which will be limited to run one script then exits out. The user has been created and so is the script. While testing the user can hit the delete key which will terminate the script and dump the user to a $ sign.
I need to trap or disable the delete key to prevent the user from dropping to the $ sign, I either need for the user not to leave the script or to be exit out (logoff) when he/she hits the delete key.
I know that this can be done, I have done it myself, but that was long time ago and can not seem to remember how I did it.
This must be done so only affects this user and no one else.
Can anyone help?
Thanks
Joe
I have to create a user which will be limited to run one script then exits out. The user has been created and so is the script. While testing the user can hit the delete key which will terminate the script and dump the user to a $ sign.
I need to trap or disable the delete key to prevent the user from dropping to the $ sign, I either need for the user not to leave the script or to be exit out (logoff) when he/she hits the delete key.
I know that this can be done, I have done it myself, but that was long time ago and can not seem to remember how I did it.
This must be done so only affects this user and no one else.
Can anyone help?
Thanks
Joe