[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] User definable terminfo support
From: |
Marco Gerards |
Subject: |
Re: [PATCH] User definable terminfo support |
Date: |
Mon, 02 Jan 2006 22:43:25 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Omniflux <address@hidden> 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