On 07/11/2010 09:58 PM, Jörg Sommer wrote: > grub2 (1.98+20100705-1) unstable; urgency=medium >> . >> * New Bazaar snapshot. >> - Bidi and diacritics support. >> + Use terminfo for ieee1275 terminals (closes: #586953). >> > I'm sorry, but this doesn't fix my problem. I've installed and run this > new release, but I still have the problem that the commandline or editing > mode is left, when I hold down an arrow key. > > I think that for some reason your ieee1275 is slower than the nominal 9600. Try following patch: === modified file 'term/terminfo.c' --- term/terminfo.c 2010-05-09 11:26:52 +0000 +++ term/terminfo.c 2010-07-20 12:55:33 +0000 @@ -368,11 +368,11 @@ #define CONTINUE_READ \ { \ grub_uint64_t start; \ - /* On 9600 we have to wait up to 12 milliseconds. */ \ + /* On 9600 we have to wait up to 100 milliseconds. */ \ start = grub_get_time_ms (); \ do \ c = readkey (); \ - while (c == -1 && grub_get_time_ms () - start < 12); \ + while (c == -1 && grub_get_time_ms () - start < 100); \ if (c == -1) \ return; \ \
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature