From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MuXVm-00049b-Tr for mharc-grub-devel@gnu.org; Sun, 04 Oct 2009 16:16:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuXVl-000493-Ek for grub-devel@gnu.org; Sun, 04 Oct 2009 16:16:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuXVh-00047u-UF for grub-devel@gnu.org; Sun, 04 Oct 2009 16:16:53 -0400 Received: from [199.232.76.173] (port=59384 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuXVh-00047q-Sz for grub-devel@gnu.org; Sun, 04 Oct 2009 16:16:49 -0400 Received: from mail-pz0-f187.google.com ([209.85.222.187]:42962) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MuXVh-0005Y5-KC for grub-devel@gnu.org; Sun, 04 Oct 2009 16:16:49 -0400 Received: by pzk17 with SMTP id 17so2343646pzk.1 for ; Sun, 04 Oct 2009 13:16:48 -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=6/tIGdJyWjEnLmmXmn6rnVFLcS185MfJ02DTelnmF5c=; b=iiofIFyygf2T/QhaTNxFThDCe/InVe0pCIhhX3BDmBWoIau6IXXHDcj3LrI0RdIjLw NkNQJlS8hS7uWw2mCtDuPetFMJEfMC914XQt3TxhZqE1/zF8idfnOdJQoAbWWdj1Hh4r l51rARoId3qm0dI9iUkRPTjW7ws9Qrxh6oexU= 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=bol4LU2Sif43zEDpOzS7TQQ1cLgSeSI3QnL+878et/mI3AA7MwC8ZwOrPrtmhi6jSS OlagnpXg2Hh/kMFAE9bvrZ9WVNzUEhSHpJadLzimoakfRl1hvmstfzI6seFOJLxnXz2S waT3OTdWe54Jk8ld/7+xakDi2CrIccEtBuyFs= MIME-Version: 1.0 Received: by 10.141.36.13 with SMTP id o13mr838302rvj.188.1254687408533; Sun, 04 Oct 2009 13:16:48 -0700 (PDT) In-Reply-To: References: <2e59e6970910040906o4cd536bancb2655c7301d69ec@mail.gmail.com> Date: Mon, 5 Oct 2009 04:16:48 +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:16:53 -0000 On Mon, Oct 5, 2009 at 4:05 AM, Bean wrote: > 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. Hi, Oh, forget to mention these keys: Home: jump to the first character in the current line End: jump to the last character in the current line -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/