lem icon indicating copy to clipboard operation
lem copied to clipboard

In ncurses version I can't type some polish characters

Open rsm-lisper opened this issue 2 years ago • 4 comments

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

rsm-lisper avatar Sep 08 '23 16:09 rsm-lisper

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 => ©.

vindarel avatar Sep 08 '23 22:09 vindarel

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 avatar Sep 08 '23 23:09 rsm-lisper

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.

rsm-lisper avatar Sep 08 '23 23:09 rsm-lisper

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.

seanfarley avatar Sep 09 '23 18:09 seanfarley