Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MKvr4-0006A7-MW for mharc-grub-devel@gnu.org; Sun, 28 Jun 2009 10:59:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKvr3-00069Y-9a for grub-devel@gnu.org; Sun, 28 Jun 2009 10:59:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKvqw-00067x-EF for grub-devel@gnu.org; Sun, 28 Jun 2009 10:59:39 -0400 Received: from [199.232.76.173] (port=51332 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKvqw-00067r-8B for grub-devel@gnu.org; Sun, 28 Jun 2009 10:59:34 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:53472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKvqv-0003IJ-LV for grub-devel@gnu.org; Sun, 28 Jun 2009 10:59:33 -0400 Received: by pxi6 with SMTP id 6so3171181pxi.14 for ; Sun, 28 Jun 2009 07:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=HG8rIDq42gF+lv09WVsS5DCNMk4gBtRcdkA8ciB96RA=; b=AlB5W4NG2avDt1SdnLS/eAmlbJFEdN8kUUWnOPu3hAIClqubdSL1evsNC2yeILHLsr wAqi+DBmz9FpaHJapU9YodmDAJuxMgbRtsOzNWu9IYesijZO0P+c+0cm0V2X3oMf/cbt jIIDLskjUJW8Gp6DidjmyuOK2LOwdISk07nac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cJUSwNOvNLsUOEt+r6rCKE/oe4o4+iGsrb6bgKfe4+BCk7JxfhFVN6z0EU60jbX1wN 9EURL4naM7ld4qu/tf6z72DcjHXFbNKKTBHl5Tw+B9vZH5waUoaxTBARXm3LNH1M4r08 FBoeTHsFB9Q6yizdlDSybzaSUN1C9fPIaGyRI= MIME-Version: 1.0 Received: by 10.114.111.1 with SMTP id j1mr9779135wac.119.1246201171277; Sun, 28 Jun 2009 07:59:31 -0700 (PDT) In-Reply-To: <20090628145207.GA7184@thorin> References: <20090628123526.GA18813@thorin> <87r5x48o56.fsf@xs4all.nl> <20090628145207.GA7184@thorin> Date: Sun, 28 Jun 2009 22:59:31 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: regression in hiddenmenu (Re: [2158] 2009-05-02 Bean ) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 14:59:41 -0000 Hi, Actually that's not the cause. The call order is right, it's just that the normal reader would clear screen and print an header in its init function. If you want to change it, you can move those code to the menu viewer, but I guess Colin is about to commit his menu viewer patch, I think it would be better to leave it alone for now to minimize code conflict. On Sun, Jun 28, 2009 at 10:52 PM, Robert Millan wrote: > On Sun, Jun 28, 2009 at 03:48:53PM +0200, Marco Gerards wrote: >> Hi, >> >> Robert Millan writes: >> >> > This commit accidentally broke "hiddenmenu" functionality >> > (http://grub.enbug.org/Hiddenmenu). =A0Instead of displaying the sleep >> > prompt without clearing the screen, and then clearing the screen and >> > drawing the menu, it first clears the screen, draws the menu and then >> > displays the sleep prompt. >> > >> > I haven't followed much on what this change does; =A0if I understood >> > correctly, the scripting engine has been moved to a module (sh.mod), >> > which due to asciibetical order is processed after normal.mod, which >> > seems to be the cause for this problem. >> > >> > I can suggest a few possible solutions: >> > >> > =A0 - Rename either (kludge! kludge!) >> > >> > =A0 - Put sh.mod back in kernel. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^^^^^ > I think I got it wrong; =A0sh.mod was moved out of normal.mod, it's never > been in kernel AFAICT. > >> Why was it moved out? =A0Is there any good reason for this? =A0I could >> have missed the discussion, I am quite busy lately... > > Actually I missed that discussion too, I hope someone will explain. > > -- > Robert Millan > > =A0The DRM opt-in fallacy: "Your data belongs to us. We will decide when = (and > =A0how) you may access your data; but nobody's threatening your freedom: = we > =A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Bean