Support for chinese input

144 views
Skip to first unread message

conrad....@gmail.com

unread,
Oct 11, 2016, 10:52:52 AM10/11/16
to chromium-hterm
Hi there,

I was wondering if hterm has chinese input support. Here is a brief description of the problem I see using sogou pinyin input (the de facto chinese input client):

1. start hterm, able to type with normal us keyboard
2. switch to sogou chinese keyboard input. characters show up as english. usually how the chinese input client works is that it shows up as highlighted english charactes with a bunch of possible chinese translations, and you use the arrow keys to choose and spacebar to confirm (which then converts everything to chinese). here, it just shows up as pure english with no options to convert

some debugging steps I took:

1. looked into the hterm window and made the <textarea> visible (hacked it to give it height/width/opacity)
2. i can see that any english characters that I type using the us keyboard does not show up in the textarea (since it automatically gets sent to the console from the textarea)
3. when using chinese keyboard input, the english characters are highlighted with chinese suggestions and I am able to select the chinese words. However, the chinese characters remain in the textarea and do not get sent to the console.

Mike Frysinger

unread,
Oct 11, 2016, 2:50:07 PM10/11/16
to conrad....@gmail.com, chromium-hterm
we're aware IME based input doesn't currently work with hterm.  we're tracking this in https://crbug.com/218382.  unfortunately, while i'm familiar with IME's in general and can handle writing basic 日本語, i'm not terribly familiar with the Chrome IME side of things, so it's sitting with some Chromium devs to provide suggestions for us.
-mike

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/d1b94d17-c333-475e-8ab9-865369e69e3f%40chromium.org.

conrad....@gmail.com

unread,
Oct 11, 2016, 3:59:06 PM10/11/16
to chromium-hterm, conrad....@gmail.com
Ooh thanks! Sorry I missed that the issue is already being tracked.

Conrad

laplan...@gmail.com

unread,
Feb 2, 2017, 3:14:10 PM2/2/17
to chromium-hterm, conrad....@gmail.com
I'm not sure if i have the same issue with the Russian input. It first appeared when google desided to change Layout switch keybinding from Shift+Alt to Ctrl+Shift+Space and Ctrl+Space.
Since than Secure Shell just ignores keyboard layout switch with hotkeys, but if I use menu to change keyboard the input is just fine. Crosh works fine
with keyboard shortcut.

Is this the same issue? Why than it only appeared when layout switch shortcut were changed?

вторник, 11 октября 2016 г., 21:50:07 UTC+3 пользователь Mike Frysinger написал:

Robert Ginda

unread,
Feb 2, 2017, 7:01:45 PM2/2/17
to laplan...@gmail.com, chromium-hterm, conrad....@gmail.com
It could be that hterm is capturing ctrl-space.  Have you tried making a custom keybinding?  In the keybindings section of the options page, enter: {'Ctrl-Space', 'PASS', 'Ctrl-Shift-Space', 'PASS'} and see if that helps.

laplan...@gmail.com

unread,
Feb 3, 2017, 2:53:54 PM2/3/17
to chromium-hterm, laplan...@gmail.com, conrad....@gmail.com
I have to change this to {"Ctrl-Shift-Space":"PASS","Ctrl-Space":"PASS"} to avoid exception, but it doesn't help.

пятница, 3 февраля 2017 г., 1:01:45 UTC+1 пользователь Robert Ginda написал:

laplan...@gmail.com

unread,
May 2, 2017, 4:43:13 PM5/2/17
to chromium-hterm, laplan...@gmail.com, conrad....@gmail.com
I've localized my problem a little bit further. Now i only have a problem with keyboard in windowed SecureShell mode. All works fine in tab mode. So probably it's not IME problem as in the original message. 

пятница, 3 февраля 2017 г., 22:53:54 UTC+3 пользователь laplan...@gmail.com написал:
Reply all
Reply to author
Forward
0 new messages