search for: passwd_row

Displaying 7 results from an estimated 7 matches for "passwd_row".

2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...main.c @@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry) for (x = 2; x <= WIDTH - 2 * PASSWD_MARGIN - 1; x++) putchar('q'); - printf("j\017\033[%d;%dH\2#12 %s \033[%d;%dH\2#13", + printf("j\017\033[%d;%zdH\2#12 %s \033[%d;%dH\2#13", PASSWD_ROW, (WIDTH - (strlen(cm->messages[MSG_PASSPROMPT]) + 2)) / 2, cm->messages[MSG_PASSPROMPT], PASSWD_ROW + 1, PASSWD_MARGIN + 3); diff --git a/com32/modules/cptime.c b/com32/modules/cptime.c index 0f5ffe6..315b9f9 100644 --- a/com32/modules/cptime.c +++ b/com32/modules/cptime.c @@ -216,7 +2...
2005 Mar 27
3
RESEND: Problems with menu.c32, and some feature request for menu.c32
...nice if the following vars in the menu.c could be set in the config file so the program would not have to be recompiled to change these values. #define WIDTH 80 #define MARGIN 10 #define PASSWD_MARGIN 3 #define MENU_ROWS 12 #define TABMSG_ROW 18 #define CMDLINE_ROW 20 #define END_ROW 24 #define PASSWD_ROW 11 Request #3: Add an option to the config file that would enable HOTKEYING. What is hotkeying? Currently when you press a hotkey the menu item is highlighted and then you have to press enter to execute the menu item. HOTKEYING would, when the hotkey is pressed, highlight the menu item and auto...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...k_passwd(const char *menu_entry) > for (x = 2; x <= WIDTH - 2 * PASSWD_MARGIN - 1; x++) > putchar('q'); > > - printf("j\017\033[%d;%dH\2#12 %s \033[%d;%dH\2#13", > + printf("j\017\033[%d;%zdH\2#12 %s \033[%d;%dH\2#13", > PASSWD_ROW, (WIDTH - (strlen(cm->messages[MSG_PASSPROMPT]) + 2)) / 2, > cm->messages[MSG_PASSPROMPT], PASSWD_ROW + 1, PASSWD_MARGIN + 3); > > diff --git a/com32/modules/cptime.c b/com32/modules/cptime.c > index 0f5ffe6..315b9f9 100644 > --- a/com32/modules/cptime.c > +++ b/c...
2005 Mar 24
1
Problems with menu.c32, and some feature request for menu.c32
...nice if the following vars in the menu.c could be set in the config file so the program would not have to be recompiled to change these values. #define WIDTH 80 #define MARGIN 10 #define PASSWD_MARGIN 3 #define MENU_ROWS 12 #define TABMSG_ROW 18 #define CMDLINE_ROW 20 #define END_ROW 24 #define PASSWD_ROW 11 Request #3: Add an option to the config file that would enable HOTKEYING. What is hotkeying? Currently when you press a hotkey the menu item is highlighted and then you have to press enter to execute the menu item. HOTKEYING would, when the hotkey is pressed, highlight the menu item and auto...
2010 Apr 23
1
Path simple menu integrated progress indicator
...a//com32/menu/menu.h 2010-03-31 11:24:25.000000000 -0500 +++ syslinux-3.86/com32/menu/menu.h 2010-04-15 10:08:01.000000000 -0500 @@ -97,6 +97,7 @@ enum parameter_number { P_PASSWD_MARGIN, P_MENU_ROWS, P_TABMSG_ROW, + P_LOADMSG_ROW, P_CMDLINE_ROW, P_END_ROW, P_PASSWD_ROW, @@ -115,6 +116,7 @@ enum message_number { MSG_TITLE, MSG_AUTOBOOT, MSG_TAB, + MSG_LOAD, MSG_NOTAB, MSG_PASSPROMPT, @@ -188,6 +190,7 @@ int draw_background(const char *filename void set_resolution(int x, int y); void start_console(void); void local_cursor_enable(bool...
2005 Mar 28
0
Problems with menu.c32,and some feature request for menu.c32
...set in > the config file so the program would not have to be recompiled > to change these values. > #define WIDTH 80 > #define MARGIN 10 > #define PASSWD_MARGIN 3 > #define MENU_ROWS 12 > #define TABMSG_ROW 18 > #define CMDLINE_ROW 20 > #define END_ROW 24 > #define PASSWD_ROW 11 And when or how benefits the bootloader from this? Please elaborate the request. > Request #3: > Add an option to the config file that would enable HOTKEYING. > What is hotkeying? > Currently when you press a hotkey the menu item is highlighted and > then you have to press enter...
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