Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MENU] Another action on Enter than timeout
2014-03-10, 13:28
Post: #4
RE: [MENU] Another action on Enter than timeout
(2014-03-10 13:19)sebastian Wrote:  If I could separate the "Timeout" to actually execute Action A, and the "ENTER" to actually execute Action B, then I can code timeout to Always restart from the beginning, thus making it even harder since the user must, to hack the system, press 10 digits AND enter, with a maximum delay of 56 ms between keypresses.

So, as I understand it, at the point you wish to test for Enter being pressed, the only key you care about is Enter.

If so, then you can use the http://ipxe.org/cmd/prompt command to check for Enter at this point, rather than creating a menu. You'd use a menu (with presumably no timeout) for the first digit, then menus with a 56ms timeout for the remaining nine digits, then a prompt with a timeout of 56ms to capture the final Enter.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [MENU] Another action on Enter than timeout - mcb30 - 2014-03-10 13:28



User(s) browsing this thread: 1 Guest(s)