opengnsys_ipxe/src/include
Michael Brown c30b71ee9c [console] Restore compatibility with "--key" values in existing scripts
Commit 3ef4f7e ("[console] Avoid overlap between special keys and
Unicode characters") renumbered the special key encoding to avoid
collisions with Unicode key values outside the ASCII range.  This
change broke backwards compatibility with existing scripts that
specify key values using e.g. "prompt --key" or "menu --key".

Restore compatibility with existing scripts by tweaking the special
key encoding so that the relative key value (i.e. the delta from
KEY_MIN) is numerically equal to the old pre-Unicode key value, and by
modifying parse_key() to accept a relative key value.

Reported-by: Sven Dreyer <sven@dreyer-net.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2023-07-07 15:14:00 +01:00
..
hci [linux] Use host glibc system call wrappers 2021-02-28 23:28:23 +00:00
ipxe [console] Restore compatibility with "--key" values in existing scripts 2023-07-07 15:14:00 +01:00
readline [readline] Add an optional timeout to readline_history() 2021-04-23 12:27:57 +01:00
sys [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usr [efi] Support versions of shim that perform SBAT verification 2023-05-23 15:27:20 +01:00
valgrind [malloc] Move valgrind headers out of arch/x86 2015-03-03 14:25:51 +00:00
xen [xen] Allow for platforms that have no Xen support 2023-02-05 22:21:36 +00:00
alloca.h
assert.h [libc] Allow assertions to be globally enabled or disabled 2016-07-05 13:28:51 +01:00
byteswap.h [libc] Rewrite byte-swapping code 2015-03-02 16:35:37 +00:00
coff.h
compiler.h [legal] Add support for the BSD-2-Clause-Patent licence 2023-01-28 17:07:40 +00:00
cpu.h
ctype.h [console] Restore compatibility with "--key" values in existing scripts 2023-07-07 15:14:00 +01:00
curses.h [libc] Add stdbool.h standard header 2017-04-10 16:12:53 +01:00
elf.h [elf] Rewrite ELF header 2015-03-02 19:42:48 +00:00
endian.h [libc] Allow for externally-defined LITTLE_ENDIAN and BIG_ENDIAN constants 2021-07-15 14:16:17 +01:00
errno.h [build] Allow for per-architecture unprefixed constant operand modifier 2023-02-05 23:55:14 +00:00
etherboot.h [console] Move putchar() and getchar() declarations to stdio.h 2012-03-26 14:43:52 +01:00
fs.h
getopt.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
i82365.h [legal] Add FILE_LICENCE macro to some GPL-v2 files 2010-12-03 23:23:35 +00:00
libgen.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
mii.h [realtek] Work around hardware bug on RTL8211B 2021-06-24 12:36:46 +01:00
nic.h [legacy] Fix building with GCC 6 2016-05-04 16:01:33 +01:00
old_tcp.h
pc_kbd.h
pcmcia-opts.h
pcmcia.h
stdarg.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
stdbool.h [libc] Add stdbool.h standard header 2017-04-10 16:12:53 +01:00
stddef.h [libc] Allow container_of() to be used on volatile pointers 2016-03-18 08:18:31 +00:00
stdint.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
stdio.h [libc] Match standard prototype for putchar() 2021-06-07 13:26:01 +01:00
stdlib.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
string.h [libc] Provide an unoptimised generic_memcpy_reverse() 2020-07-07 13:13:28 +01:00
strings.h [libc] Add strncasecmp() 2021-05-18 11:45:24 +01:00
sys_info.h
syslog.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
time.h [time] Allow system clock to be adjusted at runtime 2016-06-13 15:29:05 +01:00
unistd.h [time] Allow timer to be selected at runtime 2017-01-26 08:17:37 +00:00
wchar.h [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00