|
From: | Omniflux |
Subject: | Re: [PATCH] User definable terminfo support |
Date: | Mon, 02 Jan 2006 14:33:25 -0700 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |