From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EtXUM-0007TS-FZ for mharc-grub-devel@gnu.org; Mon, 02 Jan 2006 16:45:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EtXUK-0007T4-I3 for grub-devel@gnu.org; Mon, 02 Jan 2006 16:45:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EtXUH-0007SW-QM for grub-devel@gnu.org; Mon, 02 Jan 2006 16:45:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtXUH-0007ST-MS for grub-devel@gnu.org; Mon, 02 Jan 2006 16:45:05 -0500 Received: from [194.109.24.31] (helo=smtp-vbr11.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EtXVO-0000tw-As for grub-devel@gnu.org; Mon, 02 Jan 2006 16:46:14 -0500 Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by smtp-vbr11.xs4all.nl (8.13.3/8.13.3) with ESMTP id k02LhOtw047964 for ; Mon, 2 Jan 2006 22:43:24 +0100 (CET) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <43B1DD7E.5090905@omniflux.com> <87y8219p48.fsf@xs4all.nl> <43B984C7.6070502@omniflux.com> <87zmmeicwo.fsf@xs4all.nl> <43B99C25.5030404@omniflux.com> From: Marco Gerards Date: Mon, 02 Jan 2006 22:43:25 +0100 In-Reply-To: <43B99C25.5030404@omniflux.com> (omniflux+lists@omniflux.com's message of "Mon, 02 Jan 2006 14:33:25 -0700") Message-ID: <87mziei9vm.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner 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:45:09 -0000 Omniflux writes: > 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. Agreed. > I will make your suggested changes and submit another patch to the > list as soon as I have time again. Great! I am looking forwards to it! Thanks, Marco