Date: Fri, 30 Dec 2011 09:27:08 +0300 From: Sergey Kandaurov <pluknet@gmail.com> To: Devin Teske <devin.teske@fisglobal.com> Cc: Garrett Cooper <yanegomi@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: [PATCH] Fix kenv(1) output in w/respect to new boot loader variables Message-ID: <CAE-mSOKAY7hgcS2kE_P=ZXoQOQAjEodwrdKbF%2BjtEzu_obZyYQ@mail.gmail.com> In-Reply-To: <02b401ccc4ff$b475b7e0$1d6127a0$@fisglobal.com> References: <02b401ccc4ff$b475b7e0$1d6127a0$@fisglobal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28 December 2011 05:26, Devin Teske <devin.teske@fisglobal.com> wrote: > D'Oh! Attached wrong (OLD; already applied) patch. > > Please find appropriate patch attached! Hi. I committed your patch to head as svn r228985. Thank you! > >> -----Original Message----- >> From: Devin Teske [mailto:devin.teske@fisglobal.com] >> Sent: Tuesday, December 27, 2011 5:24 PM >> To: 'freebsd-hackers@freebsd.org' >> Cc: Garrett Cooper; devin.teske@fisglobal.com >> Subject: [PATCH] Fix kenv(1) output in w/respect to new boot loader vari= ables >> >> Garrett Cooper and a few others have requested that I write a patch to f= ix a >> regression w/respect to kenv(1) output in FreeBSD-9.0 and HEAD. >> >> The issue is with the new boot loader menu. It adds many loader variable= s >> including ones that contain ANSI color escapes. >> >> Obviously, these ANSI codes don't play well with serial consoles when ke= nv(1) > is >> executed without arguments (reports vary as to what happens, but it's ne= ver >> pretty). >> >> Attached is a patch to the Forth code that clears-out the menu-associate= d >> variables before invoking the kernel. >> >> 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 (wh= ich >> lacks the new boot loader and didn't use any such variables). Thus, rest= oring >> serial console glory. >> -- >> Devin > > _____________ > The information contained in this message is proprietary and/or confident= ial. If you are not the intended recipient, please: (i) delete the message = and all copies; (ii) do not disclose, distribute or use the message in any = manner; and (iii) notify the sender immediately. In addition, please be awa= re that any message addressed to our domain is subject to archiving and rev= iew by persons other than the intended recipient. Thank you. Great! --=20 wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOKAY7hgcS2kE_P=ZXoQOQAjEodwrdKbF%2BjtEzu_obZyYQ>