#define GETKEY_TIMEOUT ( TICKS_PER_SEC / 4 ) What happens if you changed that to 2 instead of 4?
Speaking of issues, FWIW, if you are in something that sends a cursor key application mode (e.g. esxi serial console), then arrow keys might not work based on what I see in code review. ESC [ A is recogized as up arrow, but in that mode a VT100 terminal will send ESC O A instead (etc). On Thu, Mar 27, 2014 at 4:36 AM, Peter Pickford <pe...@netremedies.ca>wrote: > Hi, > > 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. > > > diff --git a/src/core/getkey.c b/src/core/getkey.c > index d69cfb4..441b9d9 100644 > --- a/src/core/getkey.c > +++ b/src/core/getkey.c > @@ -47,7 +47,7 @@ static int getchar_timeout ( unsigned long timeout ) { > step(); > if ( iskey() ) > return getchar(); > - cpu_nap(); > + //cpu_nap(); > } > > return -1; > > ------ > Thanks > > Peter > > _______________________________________________ > ipxe-devel mailing list > ipxe-devel@lists.ipxe.org > https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel > >
_______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel