search for: key_timeout

Displaying 8 results from an estimated 8 matches for "key_timeout".

Did you mean: fec_timeout
2010 May 30
1
[RFC PATCH] menu: support single key booting
...46,6 +746,7 @@ static const char *run_menu(void) { int key; int done = 0; + int hotkey = 0; volatile int entry = cm->curentry; int prev_entry = -1; volatile int top = cm->curtop; @@ -854,7 +855,12 @@ static const char *run_menu(void) } this_timeout = min(min(key_timeout, timeout_left), (clock_t) CLK_TCK); - key = mygetkey(this_timeout); + + if (hotkey && me->commit) + key = KEY_ENTER; + else + key = mygetkey(this_timeout); + hotkey = 0; if (key != KEY_NONE) { timeout_left = key_timeout; @@ -1071,7 +1077,7 @@ static const char *run_menu...
2019 Apr 17
1
Fix: hotkey uppercasing too wide
....677824723 -0500 @@ -1081,7 +1081,7 @@ static const char *run_menu(void) break; default: if (key > 0 && key < 0xFF) { - key &= ~0x20; /* Upper case */ + key &= ((key & 0xE0) == 0x60 ? ~0x20 : 0xFF); /* Upper case */ if (cm->menu_hotkeys[key]) { key_timeout = 0; entry = cm->menu_hotkeys[key]->entry; --- syslinux-6.03/com32/menu/readconfig.c.orig 2019-04-17 11:53:15.794263379 -0500 +++ syslinux-6.03/com32/menu/readconfig.c 2019-04-17 12:13:43.549878848 -0500 @@ -279,7 +279,7 @@ static void consider_for_hotkey(struct m if (me->act...
2006 May 25
1
pxelinux/mboot confused about e820 memory maps on HP Proliant BIOS's
...(;;) { --- baseline-syslinux/./syslinux-3.11/com32/libutil/get_key.c 2006-05-25 14:03:31.000000000 -0700 +++ fixed-syslinux/./syslinux-3.11/com32/libutil/get_key.c 2006-05-25 14:03:01.000000000 -0700 @@ -116,7 +116,7 @@ }; #define NCODES ((int)(sizeof keycodes/sizeof(struct keycode))) -#define KEY_TIMEOUT ((CLK_TCK+9)/10) +#define KEY_TIMEOUT ((CLOCKS_PER_SEC+9)/10) int get_key(FILE *f, clock_t timeout) { --- baseline-syslinux/./syslinux-3.11/com32/include/sys/times.h 2006-05-25 14:03:31.000000000 -0700 +++ fixed-syslinux/./syslinux-3.11/com32/include/sys/times.h 2006-05-25 14:03:02.000000000 -0...
2007 Sep 18
1
program to monitor USB keys
...{76, "KP_5", 0}, // Keypad 5 {75, "KP_4", 0}, // Keypad 4 {81, "KP_3", 0}, // Keypad 3 {80, "KP_2", 0}, // Keypad 2 {79, "KP_1", 0}, // Keypad 1 {82, "KP_0", 0}, // Keypad 0 {0, NULL} }; static int key_debug = 0; static int key_timeout = 0; /* incomplete command found so add KP_Enter and submit key presses */ static char keypad_buffer[200] = ""; #define FALSE (0) #define TRUE (1) /************************************************************ ** int main(int argc, char *argv[]) ** ***************************...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com> These patches are based on the elflink branch. This set of patches is my attempt at moving the command-line interface functionality out of the core and into an ELF module to reduce the size of the core. The most interesting patch is [PATCH 4/4] which moves the cli code out of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> Here are the patches that I've got queued up based on the very helpful feedback I received from people testing Syslinux 5.00-pre9. Unless anyone has any concerns these will make it into Syslinux 5.00-pre10. Matt Fleming (9): pxe: Don't call open_config() from the pxe core ldlinux: Print a warning if no config file is found
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing