disable keyboard



Discuss about all tools related to Mainframes but usable in a PC/Computer like Mainframe Simulators, Emulators, Abend Assist etc...

disable keyboard

Postby CLoprinzo » Fri Sep 19, 2014 7:07 pm

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?
CLoprinzo
 
Posts: 2
Joined: Fri Sep 19, 2014 7:02 pm
Has thanked: 0 time
Been thanked: 0 time

Re: disable keyboard

 

Re: disable keyboard

Postby enrico-sorichetti » Fri Sep 19, 2014 7:39 pm

did You consider that when the rexx runs the user is already logged on ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2706
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 139 times

Re: disable keyboard

Postby prino » Fri Sep 19, 2014 9:44 pm

/* REXX */
say 'Please unplug your keyboard now'

rest of login script...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 555
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 24 times

Re: disable keyboard

Postby steve-myers » Fri Sep 19, 2014 10:01 pm

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.
steve-myers
Global moderator
 
Posts: 1919
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 206 times

Re: disable keyboard

Postby CLoprinzo » Fri Sep 19, 2014 10:05 pm

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!
CLoprinzo
 
Posts: 2
Joined: Fri Sep 19, 2014 7:02 pm
Has thanked: 0 time
Been thanked: 0 time

Re: disable keyboard

Postby NicC » Sat Sep 20, 2014 4:35 am

No such keyword in Clist or Rexx so I suppose it must be an emulator script. Moving to the Emulator section.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2757
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 110 times


Return to Simulators & Emulators