mosh-chrome icon indicating copy to clipboard operation
mosh-chrome copied to clipboard

The Alt-Gr modifier key works inconsistently.

Open skyem123 opened this issue 8 years ago • 10 comments

For example, on my UK keyboard, I can type ¦ (on the ```/¬ key), but not (on the 4/$ key).

skyem123 avatar Jan 15 '16 18:01 skyem123

Can you repro on the Secure Shell app? This seems like a terminal emulation thing, and we both use the same hterm emulator.

rpwoodbu avatar Jan 15 '16 18:01 rpwoodbu

alt- gr + '+' should make a ~ on german keyboard, instead it behaves like ctrl + '+' same with - (zoom in and out ?) it behaves differently on the number row (which is used with alt-gr to type { [ ] } \ ) i havent used mosh before so cant really tell whats going on, trying to reproduce it with secure shell next

NikkyAI avatar Jan 15 '16 18:01 NikkyAI

@rpwoodbu, I do not have this issue on the secure shell app that you linked, I can type on it.

skyem123 avatar Jan 15 '16 18:01 skyem123

same issues on the Secure shell app although.. 789 work (for {[] ) 0 and ß dont (should give }\ ) + and - also zoom in and out my keyboard layout is german.. and we are testing on the same raspberry pi from different clients/computers

NikkyAI avatar Jan 15 '16 18:01 NikkyAI

also tested using the mosh plugin in mobaXterm (free version) (after some issues with not resolvbing the ip correctly) altgr key combos work fine there

NikkyAI avatar Jan 15 '16 18:01 NikkyAI

This is a bit confusing to me. Seems like these reports conflict somewhat, but if I read you right, @Achati, you're saying that there is a difference in behavior, but neither is perfect. So I'm thinking that maybe at least part of this issue has been fixed in the upstream hterm. Unfortunately, as I only have a US keyboard, it is difficult for me to test (or really to understand). If someone can try building Mosh for Chrome with a newer hterm and testing themselves, that would be helpful. It is easy: Just update the submodule deps/libapps to a more recent commit in that repo, commit that change to local git, and then follow the build instructions in README.md.

As Mosh for Chrome is largely just a bunch of glue binding together mosh, hterm, and Chrome, this is likely going to be a bug in one of those components. So the end result is likely that this issue won't get fixed until/unless the bug is fixed upstream.

rpwoodbu avatar Jan 15 '16 18:01 rpwoodbu

I just tested mosh from a linux based client, it does not have this issue, so I guess this is not a problem in mosh itself.

skyem123 avatar Jan 15 '16 18:01 skyem123

it seems like any key that is used in combination with ctrl will act as ctrl key combo when used with altgr (in secure-shell) its also unable to type @ or € its worse in mosh-chrome since 789 are probably linked to ctrl combinations as well well thats my guess..

NikkyAI avatar Jan 15 '16 18:01 NikkyAI

this might be the issue.. it describes the same behaviour i have experienced: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-hterm/BQdhTAyaoGk

NikkyAI avatar Jan 15 '16 18:01 NikkyAI

Sadly, I cannot build this with my computer, as I do not have any access to a Linux computer that I can compile with.

skyem123 avatar Jan 15 '16 20:01 skyem123