Subject: Re: 2nd stage boot menu (i386)
To: Brett Lymn <>
From: Brett Lymn <>
List: current-users
Date: 11/14/2007 11:28:45
On Wed, Nov 14, 2007 at 12:11:03AM +0000, David Laight wrote:
> I could imagine using something that doesn't attempt any optimisations
> - so directly generates are required byte sequences.

Yes, effectively that is what a Really Dumb (tm) termcap definition
will pretty much do.  Mind you, even with a really dumb terminal there
are some optimisations that can be done to speed things up.

> It is also worth considering how many terminals still exist that don't
> support the ansi cursor movement escape sequences.
> (Ok some museums might have at vt52

There are still some but, really, that is moot.  You don't need to
drag in a full termcap database, you just need one entry.  The
difference between hardcoding escape sequences and using termcap is
very very minimal as the capabilities are parsed in at start up and
the relevant escape sequences kept in memory.

Having said that, the refresh code in libcurses really really could do
with a clean up.  Comments like "work around beehive bug blah blah
blah" indicate that there is some cruft there that could be axed.

Brett Lymn
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."