[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] Remove IEXTEN to XKEY mapping (fixes nano arrow keys)



On 06/10/14 00:30, Vincent Rivière wrote:
> On 10/02/2013 19:29, Andreas Schwab wrote:
>>> Do you believe that mapping IEXTEN to XKEY is correct?
>>
>> I don't think so.  The main function of IEXTEN is to enable extra
>> characters that perform local tty control functions (see the example of
>> enabling backslash to quote the next character).  As such it should only
>> change how characters are intercepted at the tty level, but should not
>> alter the characters that are sent through to the read queue.
>
> For memories:
>
> - XKEY is a kernel flag which generates escape sequences when function
> keys (such arrows) are pressed.
>
> - IEXTEN is a termios flag to change the interpretation of some
> special characters.
>
> We agreed that the MiNTLib mapping from IEXTEN to XKEY was incorrect.
>
> Here is a patch which disables that mapping. This fixes the arrow keys
> with nano on the BIOS console.
>
> IEXTEN.patch
> Remove IEXTEN to XKEY mapping. Contributed by Vincent Riviere.
>
> Alan, please commit!

Done.

Thanks,

Alan.