freebsd-src/stand/lua
Warner Losh c2ba66d4d0 loader: Fix boot menu on BIOS
Only the gfx-enabled boot loader supports unicode. Otherwise, we have to
use the old cons25 / ibmpc upper code page drawing characters. Check to
see if we have the gfx.term_drawbox function. If we do, we support the
unicode drawing characters. If we don't, then we have an older loader
that doesn't support it *OR* we have the reduced function, text-only
boot loader. In either of those cases, we need to use the old graphics
characters. Abstract all those details into core.hasUnicode function.

PR: 282465
MFC After: 2 day
Sponsored by: Netflix
Differential Revision:	https://reviews.freebsd.org/D47403
2024-11-02 16:02:44 -06:00
..
cli.lua Revert "loader/lua: Remove pager shim" 2024-07-29 16:56:55 -06:00
cli.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
color.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
color.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
config.lua Revert "loader/lua: Remove workaround for command_error" 2024-07-29 16:57:13 -06:00
config.lua.8 stand/lua: always allow overriding with local config files 2024-02-02 12:04:57 -07:00
core.lua loader: Fix boot menu on BIOS 2024-11-02 16:02:44 -06:00
core.lua.8 stand: Print a warning of the loader is too old 2024-07-29 16:57:30 -06:00
drawer.lua loader: Fix boot menu on BIOS 2024-11-02 16:02:44 -06:00
drawer.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
gfx-beastie.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-beastiebw.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-fbsdbw.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-orb.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx-orbbw.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
gfx.lua.8 loader: Move gfx functions to gfx.lua.8 2024-02-15 20:59:23 -07:00
hook.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
hook.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
loader.conf.lua.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
loader.lua loader: Load platform entropy even without menu 2024-09-22 00:35:48 -07:00
loader.lua.8 loader: Add loader.exit 2024-02-26 20:49:46 -07:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend loader: add target for dirdeps build 2023-11-02 19:35:08 -04:00
menu.lua loader: Use Cyan instead of Blue for some menu items 2024-10-11 15:27:46 -06:00
menu.lua.8 manuals: Misc syntax fixes 2024-10-15 17:20:47 -03:00
password.lua Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
password.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
screen.lua loader: Fix 0 vs 1 confusion for column numbers 2024-09-24 14:18:42 -06:00
screen.lua.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00