From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MuXKm-0006Tl-Ha for mharc-grub-devel@gnu.org; Sun, 04 Oct 2009 16:05:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuXKl-0006TH-0N for grub-devel@gnu.org; Sun, 04 Oct 2009 16:05:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuXKg-0006On-ER for grub-devel@gnu.org; Sun, 04 Oct 2009 16:05:30 -0400 Received: from [199.232.76.173] (port=42661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuXKg-0006Ok-9t for grub-devel@gnu.org; Sun, 04 Oct 2009 16:05:26 -0400 Received: from mail-px0-f202.google.com ([209.85.216.202]:49170) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MuXKf-0003yF-Lx for grub-devel@gnu.org; Sun, 04 Oct 2009 16:05:25 -0400 Received: by pxi40 with SMTP id 40so2647496pxi.24 for ; Sun, 04 Oct 2009 13:05:24 -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=vLIL8XVyZ/Eo7K7GBeotvRgb/42BkmdHInDxF5mW+FU=; b=nM+WLA3EFuzcgTOcMh2muEZUcoje8b7Jz71gkED6dO8DbzSiCANhvCzVCVe4xij9cY E0rG2Cnx7umyCpkH2F7GEiKMG2a3GU2SiBn+YVlnMSpJjhesMbtvwKtQhSeILRu+73WR 3xLSo++qOsnhcpTrmRyyNXYUJBdRWdXdp/YyM= 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=IvK9JbIzAiCCmb0SZnqk3reJ4Mjo2jh1TVwoo0Sv5WkfvJlY2bexOqnjLnb94YcwbA F43i0G/HcpCNl18aTioRJc9RL3h/bPXIlbe+yAlNlsmA8HGe7l0Nu+P+xYlJ5G2NtOB6 jcRyRlqlgKRlLzl3PYxx71qQCTgPLS57ynzLY= MIME-Version: 1.0 Received: by 10.141.41.16 with SMTP id t16mr845087rvj.258.1254686724768; Sun, 04 Oct 2009 13:05:24 -0700 (PDT) In-Reply-To: References: <2e59e6970910040906o4cd536bancb2655c7301d69ec@mail.gmail.com> Date: Mon, 5 Oct 2009 04:05:24 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] New menu interface (implementation) 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, 04 Oct 2009 20:05:31 -0000 Hi, Update: Select the first item when menu starts. Fix a bug in border handling, now the position should be ok Fix a bug in EFI linux loader Add edit widget. Properties for the edit widget: lines: number of lines, default value is 1 columns: number of columns, default value 20 max_lines: maximum number of history, default value 100, if more lines are entered, the oldest lines would be discard. If max_lines is set to 0, no limit on the lines stored. font: font name color: font color Unlike gfxterm, edit widget support proportional font, the demo use Helvetica to illustrate it. Hotkey inside edit widget: Up: Move up one line Down: Move down one line Left: Move left one character Right: Move right one character Backspace: Erase one character TAB: Leave the widget and jump to next item The widget support smart scrolling, when the text exceed the border, it scroll the cursor to the center so that it have more blank space (like emacs), it also remember the cursor position, you can edit some text, then jump to another item. When you jump back to the edit widget, the cursor would restore to the last position. Resource file menu.zip updated for the new edit widget. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/