Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ly6dG-0001eZ-6H for mharc-grub-devel@gnu.org; Sun, 26 Apr 2009 11:51:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly6dE-0001e3-5X for grub-devel@gnu.org; Sun, 26 Apr 2009 11:51:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly6d8-0001dr-OP for grub-devel@gnu.org; Sun, 26 Apr 2009 11:51:02 -0400 Received: from [199.232.76.173] (port=54981 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly6d8-0001do-Hu for grub-devel@gnu.org; Sun, 26 Apr 2009 11:50:58 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:46128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly6d8-0001P7-1D for grub-devel@gnu.org; Sun, 26 Apr 2009 11:50:58 -0400 Received: by ewy6 with SMTP id 6so1715131ewy.42 for ; Sun, 26 Apr 2009 08:50:57 -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; bh=rWrVHDn69W8r26hxSJVJpAIutOGFaK8NYpjlVLzrVH8=; b=bBKAvn5BbBO/fbwmF+rIUnpq2FBt4Cs6GxIfGG4cTT9ym5asrOpzj8dxriasNnVoEM YzuiuUYoR48NVuJXYrr5CiPXJwonAZdo4ocJtWevBedTmOOuWgUd7awhBE34DlcJHMwj N9eDZQRJroVXz/g5VhvWTKVQFIQt5FRrbGvDE= 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; b=HNmyWCb6m/Q41dp3qHuaLXArFBmr1Rgz/7P9Q4Fw0iPLPx7ZM5b5odpsPk9gXTo/1y 2AxuQy0t1b9PJHg7on97VyUI9Kq9K0gUFHjvuXjqtshmJ+jXHHDD0L1QbNkuGvuXQw2l DTIoCrkwtiiiDLXKY/OeeTrkRs2iMcSMxynJ8= MIME-Version: 1.0 Received: by 10.211.166.2 with SMTP id t2mr3649738ebo.92.1240761057040; Sun, 26 Apr 2009 08:50:57 -0700 (PDT) In-Reply-To: References: Date: Sun, 26 Apr 2009 17:50:57 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=0015174c3f0c0e59120468773270 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Split #2: parser/reader separation 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, 26 Apr 2009 15:51:04 -0000 --0015174c3f0c0e59120468773270 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello this patch breaks grub-emu. Also some files include grub/rescue.h and this has to be fixed. Also there is a bug is that in case of syntax error reader continues to ask for more lines. E.g grub> if >; syntax error > Then it's impossible to exit from this "bug mode". It's not your fault but since you touch this code could you fix this? This patch increases the size of kernel by 504 bytes and the size of core.img by 224 bytes. Is there a way to do the same thing in a more compact way? Also it would be good to write the current parser in "grub>" prompt (not necessary for rescue prompt) On Sat, Apr 11, 2009 at 6:36 PM, Bean wrote: > Hi, > > This patch moves the parser from normal.mod to script/sh, it also > split rescue mode to rescue_reader and rescue_parser. > > dynamic command support and auto fs loader is moved to standalone > source file normal/dyncmd.c and normal/autofs.c. > > -- > Bean > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko --0015174c3f0c0e59120468773270 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello this patch breaks=A0 grub-emu. Also some files include grub/rescue.h = and this has to be fixed.
Also there is a bug is that in case of syntax= error reader continues to ask for more lines. E.g
grub> if
>;<= br> syntax error
>
Then it's impossible to exit from this "bu= g mode". It's not your fault but since you touch this code could y= ou fix this?
This patch increases the size of kernel by 504 bytes and th= e size of core.img by 224 bytes. Is there a way to do the same thing in a m= ore compact way?
Also it would be good to write the current parser in "grub>" p= rompt (not necessary for rescue prompt)

O= n Sat, Apr 11, 2009 at 6:36 PM, Bean <bean123ch@gmail.com>= wrote:
Hi,

This patch moves the parser from normal.mod to script/sh, it also
split rescue mode to rescue_reader and rescue_parser.

dynamic command support and auto fs loader is moved to standalone
source file normal/dyncmd.c and normal/autofs.c.

--
Bean

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org<= /a>
http://lists.gnu.org/mailman/listinfo/grub-devel




--
Regards
Vladimir= 'phcoder' Serbinenko
--0015174c3f0c0e59120468773270--