[ipxe-devel] commit 3ef4f7e2ef4a22ea1e2eccc72957d7bf3fe2f945 breaks "prompt --key" command
Michael Brown
mcb30 at ipxe.org
Fri Jul 7 14:20:09 UTC 2023
On 07/07/2023 14:10, Michael Brown via ipxe-devel wrote:
> On 07/07/2023 09:32, Sven Dreyer via ipxe-devel wrote:
>> I just noticed that my iPXE script containing a line "prompt --key
>> 0x197e [..]" stopped working. Pressing F12 acted like I was pressing a
>> different key. This worked in my last build from June 11.
>>
>> Thanks to the comprehensive documentation, I was able to bisect it to
>> the following commit:
>>
>> commit 3ef4f7e2ef4a22ea1e2eccc72957d7bf3fe2f945
>> Author: Michael Brown <mcb30 at ipxe.org>
>> Date: Tue Jul 4 14:31:07 2023 +0100
>>
>> I build iPXE on Debian Bullseye amd64. The resulting binary (.iso) was
>> booted on a Qemu VM, also amd64 architecture.
>>
>> Just wanted to let you know. Thanks for this excellent piece of software!
>
> That's a great catch, thank you. That commit renumbered the internal
> encoding used for special keys (such as F12) to avoid collisions with
> the Unicode range, but neglected to allow for the fact that the internal
> encoding is exposed to scripts via the "prompt" and "menu" commands.
>
> Will design a fix now.
Proposed fix is in https://github.com/ipxe/ipxe/pull/990
Thanks,
Michael
More information about the ipxe-devel
mailing list