search for: menulabel

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

Did you mean: menu_label
2005 Mar 07
0
gcc4 warnings
.../* Get byte from input buffer */ static inline uch get_byte(void) { --- syslinux-3.07/com32/modules/readconfig.c.gcc4 2004-12-28 18:18:27.000000000 -0500 +++ syslinux-3.07/com32/modules/readconfig.c 2005-03-07 11:26:46.000000000 -0500 @@ -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 2...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...+ if (bdx[i]->freax) { + ld.kernel = refstrdup(bdx[i]->freax); + ld.type = KT_LINUX; + } else { + ld.kernel = refstrdup(bdx[i]->efi); + ld.type = KT_KERNEL; + } + ld.passwd = NULL; + ld.append = refstrdup(bdx[i]->options); + ld.initrd = refstrdup(bdx[i]->initrd); + ld.menulabel = format_bls_data( + bdx[i], (bls1_format) ? bls1_format : BLS1_FORMAT + ); + ld.helptext = NULL; + ld.ipappend = SysAppends; + ld.menudefault = ld.menuhide = ld.menuseparator = + ld.menudisabled = ld.menuindent = 0; + + if (bls1_shwlbl) { + tmp = refstrdup(ld.menulabel); + refstr_p...
2008 Jul 29
1
Xdefaults file.
I am trying to get my xterm window under gnome to open with large fonts, with light green foreground and dark green background. I have the following .Xdefaults file contents: $ cat .Xdefaults ! This is a comment ;-) #ifdef COLOR *customization: -color #endif !! Let's cast a wide net, for any app supporting these ! Blink instead of beeping *visualBell: True *scrollTtyOutput: False
2007 Feb 23
1
Patch: Readconfig wont parse certain options anymore
....c#2 +++ com32/modules/readconfig.c 07-02-22 20:45:46 @@ -412,7 +412,7 @@ static void parse_config_file(FILE *f) { - char line[MAX_LINE], *p, *ep, ch; + char line[MAX_LINE], *p, *kp, *ep, ch; enum kernel_type type; while ( fgets(line, sizeof line, f) ) { @@ -532,10 +532,10 @@ ld.menulabel = NULL; ld.ipappend = ipappend; ld.menudefault = ld.menuhide = 0; - } else if ( (p = is_kernel_type(p, &type)) ) { + } else if ( (kp = is_kernel_type(p, &type)) ) { if ( ld.label ) { free(ld.kernel); - ld.kernel = strdup(skipspace(p)); + ld.ke...
2011 Jan 07
5
Set font and size in xterm
I have a situation where gnome console does not handle vt102 escape sequences properly and therefor need to employ xterm instead. When I run xterm from a gnome terminal window I am presented with an extremely small terminal window employing an almost unreadably small font. I have attempted to set the font size using xrdb and a custom .Xresources file. I can change the colour scheme. I can
2019 May 27
0
[PATCH] (vesa)menu.c32: Add support for BLS
...39;m all ears. I don't think a limit is required. It is unlikely people start creating lots of config snippets. The auto-numbered-labels aren't that bad. The title is not unique and even a combination of title and version doesn't have to be. By the way, you might want to add version to menulabel if available. > > Thanks. Sebastian
2019 May 25
2
[PATCH] (vesa)menu.c32: Add support for BLS
On Sat, May 25, 2019 at 3:42 PM Sebastian Herbszt <herbszt at gmx.de> wrote: > > Gregory Lee Bartholomew wrote: > > Modern distributions are moving toward a common boot scheme called > > "The Boot Loader Specification". > > Which distributions are using this yet? > > > This patch enables syslinux's > > (vesa)menu.c32 modules to parse the
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...d.kernel = (bdx[i]->linux_) ? refstrdup(bdx[i]->linux_) : NULL; + ld.type = KT_LINUX; + ld.passwd = NULL; + ld.append = (bdx[i]->options) ? refstrdup(bdx[i]->options) : NULL; + ld.initrd = (bdx[i]->initrd) ? refstrdup(bdx[i]->initrd) : NULL; + ld.menulabel = (bdx[i]->title) ? refstrdup(bdx[i]->title) : NULL; + ld.ipappend = ipappend; + ld.menudefault = ld.menuhide = ld.menuseparator = + ld.menudisabled = ld.menuindent = 0; + + clear_bls_data(bdx[i]); + free(bdx[i]); + } + + return rv; + +nomem: +...