Omniflux <[EMAIL PROTECTED]> 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 _______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
