taviso / 123elf

A native port of Lotus 1-2-3 to Linux.
1.17k stars 59 forks source link

Cursor keys on a real DEC VT320 do not work #23

Closed sblendorio closed 2 years ago

sblendorio commented 2 years ago

This is a video describing the issue:

https://photos.app.goo.gl/xrRVaprVntwpuuoHA

I configured it in VT100 emulation

taviso commented 2 years ago

wow! It's fun to see, even if it doesn't work properly yet :)

I'm surprised vt100 doesn't work, maybe it's because I added xterm as the default in l123set.cf. If you remove that line (the whole 1010 line) it should use $TERM - can you see if it works?

(Note that it only supports a few $TERM settings, don't put anything unusual in there)

sblendorio commented 2 years ago

Should I recompile after changing l123set.cf? image

sblendorio commented 2 years ago

P.S. the term variable is set to "vt100": image

taviso commented 2 years ago

No need to recompile, it should just work - but make sure there is not a copy in ~/.l123set .

That $TERM seems okay, it definitely has vt100 support. If it still doesn't work, then I've broken it somehow 😂

sblendorio commented 2 years ago

No change... Just made this video to show: https://photos.app.goo.gl/S1nLoNembxyFdxLd7

taviso commented 2 years ago

Hmm okay, thanks - I'll trace through what it's doing.

I can see that when you press down it sees [B , and I can see in the vt100 definition it has that it thinks \e[B is down, so it really should work...weird!

sblendorio commented 2 years ago

It's very cool having Lotus 1-2-3 on a real DEC terminal!

sblendorio commented 2 years ago

WAIT.... it seems to be working!

sblendorio commented 2 years ago

Now it works! Look here, don't know what's changed

https://photos.app.goo.gl/5StsU2oMGmxgYNrt7

I made a git pull and make