[ipxe-devel] serial arrow keys broken

Michael Brown mcb30 at ipxe.org
Thu Mar 27 14:46:42 UTC 2014


On 27/03/14 08:36, Peter Pickford wrote:
> The arrow keys would not work in my ipxe serial console.
>
> The following seems to fix it but causes a busy wait while reading
> escape sequences.
>
> <snip>

Arrow keys over serial works for me.  Could you try the attached 
(untested) patch, which preserves the cpu_nap() while changing the 
ordering of events such that a keypress arriving during the cpu_nap() 
will be detected even if the timeout has expired?

Thanks,

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-getchar-timeout.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140327/9deae954/attachment.bin>


More information about the ipxe-devel mailing list