freebsd-dev/stand/forth
Kyle Evans bb7b569d36 loader: Respect loader_color=YES for serial consoles
It's not uncommon these days for the terminals attached to serial consoles
to support ANSI escape sequences. However, we assume escape sequences may
break some serial consoles and default to not using them when boot_serial or
boot_multicons (or if console contains "comconsole" in the forth loader) for
broader compatibility. We also have loader_color which can be explicitly set
to "NO" to disable the use of ANSI escape sequences.

The problem is that loader_color=YES gets ignored when boot_serial=YES or
boot_multicons=YES (or when console contains "comconsole" in the forth
loader).

To fix, the existing default behavior remains unchanged when loader_color is
unset, loader_color=NO explicitly disables the use of ANSI escape sequences
still, and the change is that loader_color=YES can now be used to explicitly
allow ANSI escapes when a serial console is enabled.

Submitted by:	Ryan Moeller <ryan@ixsystems.com>
Reviewed by:	tsoome (forth), kevans (lua)
MFC after:	1 week
Sponsored by:	iXsystems, Inc. (Ryan)
Differential Revision:	https://reviews.freebsd.org/D21732
2019-09-20 19:43:40 +00:00
..
beastie.4th
beastie.4th.8
brand-fbsd.4th
brand.4th
brand.4th.8
check-password.4th Restore the ability to prevent the user from interrupting the boot process 2018-10-21 00:15:51 +00:00
check-password.4th.8 check-password.4th(8): Fix manual [in]accuracy 2018-06-24 19:29:29 +00:00
color.4th loader: Respect loader_color=YES for serial consoles 2019-09-20 19:43:40 +00:00
color.4th.8
delay.4th
delay.4th.8
efi.4th Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
frames.4th loader: use teken teminal emulator for x86 and uefi 2019-09-05 22:15:50 +00:00
loader.4th loader: provide u> and xemit words if needed 2019-09-17 18:05:33 +00:00
loader.4th.8
loader.rc Revert r332275, r332272, r332270 2018-04-11 18:02:13 +00:00
logo-beastie.4th
logo-beastiebw.4th
logo-fbsdbw.4th
logo-orb.4th
logo-orbbw.4th
Makefile Forth version of EFI autoresizing 2018-03-21 22:01:51 +00:00
Makefile.depend
menu-commands.4th
menu.4th
menu.4th.8
menu.rc
menusets.4th
menusets.4th.8
screen.4th
shortcuts.4th
support.4th loader_4th: scan_buffer can leave empty string on stack 2019-09-16 20:26:53 +00:00
version.4th
version.4th.8