search for: show_fkey

Displaying 9 results from an estimated 9 matches for "show_fkey".

2015 Oct 13
2
[PATCH 1/1] ldlinux: Fix return pointer to local data
.../com32/elflink/ldlinux/cli.c b/com32/elflink/ldlinux/cli.c index 6ff30c6..3119b11 100644 --- a/com32/elflink/ldlinux/cli.c +++ b/com32/elflink/ldlinux/cli.c @@ -125,7 +125,7 @@ const char *edit_cmdline(const char *input, int top /*, int width */ , int (*pDraw_Menu) (int, int, int), void (*show_fkey) (int), bool *timedout) { - char cmdline[MAX_CMDLINE_LEN] = { }; + static char cmdline[MAX_CMDLINE_LEN] = { }; int key, len, prev_len, cursor; int redraw = 0; int x, y; -- 2.6.1
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
2015 Oct 16
0
[PATCH 1/1] ldlinux: Fix return pointer to local data
.../com32/elflink/ldlinux/cli.c > index 6ff30c6..3119b11 100644 > --- a/com32/elflink/ldlinux/cli.c > +++ b/com32/elflink/ldlinux/cli.c > @@ -125,7 +125,7 @@ const char *edit_cmdline(const char *input, int top /*, int width */ , > int (*pDraw_Menu) (int, int, int), > void (*show_fkey) (int), bool *timedout) > { > - char cmdline[MAX_CMDLINE_LEN] = { }; > + static char cmdline[MAX_CMDLINE_LEN] = { }; > int key, len, prev_len, cursor; > int redraw = 0; > int x, y; > Tested-by: poma <pomidorabelisima at gmail.com>
2015 Oct 19
0
ldlinux: Fix return pointer to local data
.../com32/elflink/ldlinux/cli.c > index 6ff30c6..3119b11 100644 > --- a/com32/elflink/ldlinux/cli.c > +++ b/com32/elflink/ldlinux/cli.c > @@ -125,7 +125,7 @@ const char *edit_cmdline(const char *input, int top /*, int width */ , > int (*pDraw_Menu) (int, int, int), > void (*show_fkey) (int), bool *timedout) > { > - char cmdline[MAX_CMDLINE_LEN] = { }; > + static char cmdline[MAX_CMDLINE_LEN] = { }; > int key, len, prev_len, cursor; > int redraw = 0; > int x, y; @huddy: check your setup (with the very long command line) with the above pat...
2011 Mar 16
0
[GIT PULL] elflink changes
...0m`%s': %s", + buf, last_good->command ? : ""); + printf("\033[K\r"); + } + + return last_good ? last_good->command : NULL; +} + + + const char *edit_cmdline(const char *input, int top /*, int width */ , int (*pDraw_Menu) (int, int, int), void (*show_fkey) (int)) @@ -90,22 +149,20 @@ const char *edit_cmdline(const char *input, int top /*, int width */ , width = 80; } - strncpy(cmdline, input, MAX_CMDLINE_LEN); cmdline[MAX_CMDLINE_LEN - 1] = '\0'; - len = cursor = strlen(cmdline); + len = cursor = 0; prev_len...
2010 Oct 03
3
[PATCH 0/3] elflink: Another small fixes on CLI
Hi, This is a another small set of fixes about CLI on elflink branch. Liu Aleaxander (3): elflink: use 'input' as the prompt of the CLI elflink: Add ctrl-R key bind support elflink: handle the NULL return of edit_cmdline core/elflink/cli.c | 88 +++++++++++++++++++++++++++++++++++++++++--- core/elflink/load_env32.c | 4 ++- 2 files changed, 85 insertions(+), 7
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000: Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700) are available in the git repository at: git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux Matt Fleming (1): ldlinux: Perform auto-boot if NOESCAPE set in config
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