freebsd-nq/sys/boot/forth
Sergey Kandaurov 744aebe369 Unset the environment variables associated with individual menu items
before invoking the kernel.

Quoting submitter:

The issue is with the new boot loader menu. It adds many loader variables
including ones that contain ANSI color escapes.

Obviously, these ANSI codes don't play well with serial consoles when
kenv(1) is executed without arguments (reports vary as to what happens,
but it's never pretty).

The net-effect is that kenv(1) no longer reports menu-related variables.

In essence, kenv(1) output should now appear the same as on RELENG_8
(which lacks the new boot loader and didn't use any such variables).
Thus, restoring serial console glory.

Submitted by:	Devin Teske <devin dott teske fisglobal.com>
MFC after:	2 weeks
2011-12-30 06:24:59 +00:00
..
beastie.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
beastie.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
brand.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
brand.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
check-password.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
check-password.4th.8 mdoc: fix markup 2011-06-02 09:56:42 +00:00
color.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
color.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
delay.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
delay.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
frames.4th
loader.4th Unset the environment variables associated with individual menu items 2011-12-30 06:24:59 +00:00
loader.4th.8
loader.conf - Rename if_carp.ko to carp.ko. 2011-12-16 14:28:34 +00:00
loader.conf.5 Note that the "kernel" variable in loader.conf is the name of a directory 2011-07-20 15:18:24 +00:00
loader.rc Revert changes to this file in r222417. This unconditionally enabled the 2011-06-15 14:07:16 +00:00
menu-commands.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
menu.4th Unset the environment variables associated with individual menu items 2011-12-30 06:24:59 +00:00
menu.4th.8 Unset the environment variables associated with individual menu items 2011-12-30 06:24:59 +00:00
menu.rc New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
pnp.4th This patch introduces a number of simplifications to the Forth 2009-01-05 20:09:54 +00:00
screen.4th
shortcuts.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
support.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
version.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
version.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00