lem-project / lem

Common Lisp editor/IDE with high expansibility
http://lem-project.github.io/
MIT License
2.38k stars 175 forks source link

In ncurses version I can't type some polish characters #1071

Open rsm-lisper opened 1 year ago

rsm-lisper commented 1 year ago

Ncurses version: I can't type some of the characters, but lem can display them correctly. To be sure I tested it on two machines, one with Slackware 15, and sbcl compiled from sources. Second with Ubuntu, and sbcl installed from binaries. Exactly the same results on both machines.

Typing issues: AltGr-a (ą) => works as C-n / arrow-down AltGr-c (ć) => works as Backspace AltGr-e (ę) => works as Shift-F5 AltGr-A (Ą) => works as C-b / arrow-left AltGr-C (Ć) => works as C-a AltGr-E (Ę) => works as Shift-F4

vindarel commented 1 year ago

Hello, do you confirm that the same key combinations work in the SDL2 version?

On my side: I can type characters with AltGr in ncurses and the GUI. AltGr-a => æ, AltGr-e => &, AltGr-c => ©.

rsm-lisper commented 1 year ago

Hi, Yes, the same key combinations do work in the SDL2 version. I just tested it to be sure. But maybe I did something wrong during installation process, I will try to build ncurses version once again and let you know.

rsm-lisper commented 1 year ago

Ok, so just to be sure, I build lem again. My steps:

  1. cd common-lisp; rm -rf lem
  2. git clone --recursive https://github.com/lem-project/lem.git
  3. cd lem; git submodule update --init --recursive Then in sbcl:
  4. (ql:quickload :lem-ncurses)
  5. (lem:lem) ...and it still behaves like I described in my first message :/ When I make lem with sdl2:
  6. (ql:quickload :lem-sdl2)
  7. (lem:lem) ...I can type all those ą ć ę, no problem.
seanfarley commented 1 year ago

I think I have the same issue on my mac as well. It might be a difference between a keyboard event and a text input event in SDL2 which is explained here in McCLIM's (well written) investigation.