From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EtXPD-0007CM-Lm for mharc-grub-devel@gnu.org; Mon, 02 Jan 2006 16:39:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EtXPC-0007CH-Ji for grub-devel@gnu.org; Mon, 02 Jan 2006 16:39:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EtXPA-0007C4-34 for grub-devel@gnu.org; Mon, 02 Jan 2006 16:39:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtXP9-0007C1-Ti for grub-devel@gnu.org; Mon, 02 Jan 2006 16:39:47 -0500 Received: from [208.186.28.7] (helo=mail.nebonet.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EtXQG-00009L-ST for grub-devel@gnu.org; Mon, 02 Jan 2006 16:40:57 -0500 Received: from localhost (scanner.nebonet.com [208.186.28.8]) by mail.nebonet.com (Postfix) with ESMTP id C986419DF3A for ; Mon, 2 Jan 2006 14:38:06 -0700 (MST) Received: from mail.nebonet.com ([208.186.28.7]) by localhost (scanner.nebonet.com [208.186.28.8]) (amavisd-new, port 10024) with LMTP id 09563-02 for ; Mon, 2 Jan 2006 14:38:00 -0700 (MST) Received: from [10.0.1.114] (f4s.dsl.xmission.com [166.70.40.38]) by mail.nebonet.com (Postfix) with ESMTP id 5D5C619DF33 for ; Mon, 2 Jan 2006 14:33:37 -0700 (MST) Message-ID: <43B99C25.5030404@omniflux.com> Date: Mon, 02 Jan 2006 14:33:25 -0700 From: Omniflux User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <43B1DD7E.5090905@omniflux.com> <87y8219p48.fsf@xs4all.nl> <43B984C7.6070502@omniflux.com> <87zmmeicwo.fsf@xs4all.nl> In-Reply-To: <87zmmeicwo.fsf@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Debian amavisd-new at scanner.nebonet.com Subject: Re: [PATCH] User definable terminfo support 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: Mon, 02 Jan 2006 21:39:50 -0000 Marco Gerards wrote: > What I had in mind is: > > TERM=vt100, or whatever can be used to select the terminal. People > are used to this from the UNIX commandline. Besides that, we prefer > having variables in GRUB instead of commands. > > I was wondering if it would be easier to set terminfo descriptions > using variables as well. For example: > > set vt100='cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J' > (I just used some random stuff, but I assume you get the idea) > > After that: > set TERM=vt100 > > That will read and parse the vt100 variable. We can add several > pre-defined variables. > > Hopefully my explanation makes sense. This makes sense. I do not like allowing TERM to be set to just any variable name (set TERM=PROMPT), but as this is really in the users configuration space, I suppose we can place the requirement on the user to issue sane assignments, and if they do not, it is their own fault, provided I document it well. > I'm sorry for my terrible English. Actually, I cannot tell it is not your native language from your writing. I will make your suggested changes and submit another patch to the list as soon as I have time again. Thanks! -- Omniflux -- Omniflux