Page 1 of 1

disable keyboard

PostPosted: Fri Sep 19, 2014 7:07 pm
by CLoprinzo
Is there a way to disable the keyboard using a login script?

We are new to REXX and need help. We are creating a script to automatically log a user in based on their location and would like to disable the keyboard so a user cannot break the script by pressing a key and changing the input values.

Anyone know if this is possible?

Re: disable keyboard

PostPosted: Fri Sep 19, 2014 7:39 pm
by enrico-sorichetti
did You consider that when the rexx runs the user is already logged on ?

Re: disable keyboard

PostPosted: Fri Sep 19, 2014 9:44 pm
by prino
/* REXX */
say 'Please unplug your keyboard now'

rest of login script...

Re: disable keyboard

PostPosted: Fri Sep 19, 2014 10:01 pm
by steve-myers
Actually, I suspect the topic starter wants to auto start a session using the terminal emulator. He should consult the terminal emulator's program documentation for more realistic information.

Re: disable keyboard

PostPosted: Fri Sep 19, 2014 10:05 pm
by CLoprinzo
It is an auto log in process and the I found the code I was looking for was Keyboard("Lock"), well at least in the emulator version I am using. Thanks!

Re: disable keyboard

PostPosted: Sat Sep 20, 2014 4:35 am
by NicC
No such keyword in Clist or Rexx so I suppose it must be an emulator script. Moving to the Emulator section.