mlterm icon indicating copy to clipboard operation
mlterm copied to clipboard

Hebrew input is not working under Ubuntu 20.04

Open rubmz opened this issue 3 years ago • 6 comments

Starting mlterm under Ubutnu 20.04 and trying to input Hebrew characters results with no character input + the mouse starting to select everything until Hebrew is switched back off.

mlterm version 3.8.9 Features: otl ssh implugin imagelib(builtin) utmp

rubmz avatar Apr 13 '21 19:04 rubmz

Which input method do you use? I can input hebrew characters in mlterm-3.8.9 with ibus. (I use arch linux)

arakiken avatar Apr 19 '21 12:04 arakiken

I tried a couple of input types, mostly the default and kbd:hebrew, but none changed a bit. My keyboard is a Logitech keyboard (has an extra feature of led highlighting under the keys), but other then that I don't see any other problem. Smells like a true bug. And, yes, I restarted my PC :) didn't help...

And since mlterm is the currently only terminal to show Hebrew correctly, I keep using it for my app by selecting text with the mouse... But the problem is indeed odd. If there was a flag to show some logs I could dig in and try to understand better what's wrong...

rubmz avatar Apr 19 '21 13:04 rubmz

I installed ubuntu 20.04 and tried kbd:hebrew. But it works fine in my environment.

Please tell me a little more information about the environment you use.

  • How do you configure ~/.mlterm/main?
  • Which window manager do you use?
  • What does 'mlcc encoding' command show on mlterm ?
  • Will you send me ~/.mlterm/*.log files after starting mlterm with --logseq --im kbd:hebrew options, opening kbd:hebrew and inputting something?

arakiken avatar Apr 23 '21 16:04 arakiken

Hi Arakiken!

Unfortunately for me the issue persists on my machine...

So to answer your questions:

  1. I installed mlterm as apt package without too many configurations. If you could kindly direct me to a configuration file I will check/send it to you.
  2. I use the default windows manager of ubuntu - I use Ubuntu as my pc without remote connection.
  3. mlcc encoding - this one just got stuck until I pressed enter key.
  4. The logs in my ~/.mlterm/*.log simply show all the english/latin characters I entered to the terminal, but the Hebrew simply shows nothing and does not move the terminal cursor either.

With Regards,

Rubi Mazaki Email: @.***

On Fri, Apr 23, 2021 at 7:45 PM arakiken @.***> wrote:

I installed ubuntu 20.04 and tried kbd:hebrew. But it works fine in my environment.

Please tell me a little more information about the environment you use.

  • How do you configure ~/.mlterm/main?
  • Which window manager do you use?
  • What does 'mlcc encoding' command show on mlterm ?
  • Will you send me ~/.mlterm/*.log files after starting mlterm with --logseq --im kbd:hebrew options, opening kbd:hebrew and inputting something?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arakiken/mlterm/issues/13#issuecomment-825782715, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMSOPSZF76AQK2B77WP47TTKGP3XANCNFSM42366YDQ .

rubmz avatar Apr 23 '21 20:04 rubmz

I don't know why, but I noticed that bash which mlterm spawned ignored 8bit characters unless LANG=en_US.UTF-8.

Does following workarounds fix this problem ?

  1. Set LANG=en_US.UTF-8
  2. Add a following setting to ~/.mlterm/main use_login_shell = true

arakiken avatar Apr 25 '21 08:04 arakiken

Nope that didn't do...

2 things to notice here:

  1. Already said it, but I sense it's important - The mouse is behaving strangely whenever I change to hebrew input in mlterm! Once input is switched to hebrew the mouse is selecting everything in the mlterm window as if the left button is pressed down constantly. It gets released once the hebrew is switched back to english. This is a constant behavior...
  2. My ~/.mlterm/main was empty before entering the use_login_shell = true line.

With Regards,

Rubi Mazaki Email: @.***

On Sun, Apr 25, 2021 at 11:00 AM arakiken @.***> wrote:

I don't know why, but I noticed that bash which mlterm spawned ignored 8bit characters unless LANG=en_US.UTF-8.

Does following workarounds fix this problem ?

  1. Set LANG=en_US.UTF-8
  2. Add a following setting to ~/.mlterm/main use_login_shell = true

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arakiken/mlterm/issues/13#issuecomment-826278139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMSOPSDAOVGVF2ZFQBCQITTKPDZXANCNFSM42366YDQ .

rubmz avatar Apr 25 '21 08:04 rubmz