Displaying 5 results from an estimated 5 matches for "menu_hotkey".
Did you mean:
menu_hotkeys
2019 Apr 17
1
Fix: hotkey uppercasing too wide
...numain.c 2019-04-17 12:11:41.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(st...
2010 May 30
1
[RFC PATCH] menu: support single key booting
...ck_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(void)
if (cm->menu_hotkeys[key]) {
key_timeout = 0;
entry = cm->menu_hotkeys[key]->entry;
- /* Should we commit at this point? */
+ hotkey = 1;
}
}
break;
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
index d4c8848..7aed5a3 100644
--- a/com32/menu/readconfig.c
++...
2005 Mar 07
0
gcc4 warnings
...@@ -131,7 +131,7 @@
me->hotkey = 0;
if ( ld->menulabel ) {
- unsigned char *p = strchr(ld->menulabel, '^');
+ unsigned char *p = (unsigned char *)strchr(ld->menulabel, '^');
if ( p && p[1] ) {
int hotkey = p[1] & ~0x20;
if ( !menu_hotkeys[hotkey] ) {
--- syslinux-3.07/com32/libutil/get_key.c.gcc4 2005-01-04 02:15:20.000000000 -0500
+++ syslinux-3.07/com32/libutil/get_key.c 2005-03-07 11:26:46.000000000 -0500
@@ -49,7 +49,7 @@
};
#define MAXLEN 8
-#define CODE(x,y) { x, (sizeof y)-1, y }
+#define CODE(x,y) { x, (sizeof y)-1, (un...
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
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