В Tue, 19 May 2015 19:35:34 +0200 "Arbiel (gmx)" <[email protected]> пишет:
> > Ah, sorry, I misunderstood. Yes, I see this behavior. The problem is, > > on PC BIOS getkeystatus simply checks flags in BIOS Data Area and in > > your first loop BIOS never gets chance to run and update these flags. > > While in your second loop sleep actually polls for input characters and > > so allows BIOS to set flags. > > > > I see two possible solutions. > > > > Brute force and easy one - add --milliseconds switch to sleep command > > to minimize delay. Internally sleep is using milliseconds anyway. Care > > to send patch to grub-devel? > This solution will do it. However I don't know how to add the > milliseconds switch to the sleep command. OK, could you open bug report on https://savannah.gnu.org/bugs/?func=additem&group=grub so it is not get lost.
pgp7EzS2r2nea.pgp
Description: OpenPGP digital signature
_______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
