On 09/02/2013 18:23, Helmut Karlowski wrote:
Still not convinced what is wrong from your description, but I'd have to
look myself I guess.
The situation is very simple.
nano uses termios to remove the IEXTEN flag, but it still expects to
receive escape sequences for the arrow keys.
So:
- Either MiNTLib/FreeMiNT is fixed to behave like Linux (send escape
sequences for the arrow keys, even if IEXTEN is disabled).
- Either nano is fixed to not disable IEXTEN.
Either solution will fix the problem at the kernel level (for nano on
the BIOS console and TosWin2 in tw52 mode).
Anyway, when the TosWin2 bug regarding the tw100 mode is fixed, as a
side effect that will also fix nano, because the TosWin2 behiaviour in
tw100 mode is inconsistent with the kernel when IEXTEN is disabled.