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

Re: [MiNT] TOSWIN2 and cursor keys



Vincent Rivière, 08.02.2013 13:16:11:

On 08/02/2013 12:08, Ole wrote:
or is there some new info I did not understand?

My previous tests were on the BIOS console.
By using "Esc (wait 1 second) V" inside nano, I saw that the arrow keys generated ^@ instead of the expected escape sequence.

Now I have tested nano on TosWin2 and... the arrows just work out of the box!

If I use Esc V then up arrow in TosWin2/nano, I see ^[[A (note the additional [ just like xterm). And it works. I have tested the same on Linux, the same occurs.

Where do you think does that additional [ come from? It's surely not MiNT nor toswin2. Does nano produce it's own Esc-Sequences? Also funny is Shift-Cursor-right gives 6 (should this be the 6 from the numpad key?) in verbatim and normal mode, while it should give Esc-c.

I suspect nano to switch the arrows to "application mode" or something like that...

It should just do what it's told ...

It's not a COOKED/RAW-issue: Ctrl-S/Ctrl-Q are sent to nano, so it's COOKED.

--
Helmut Karlowski