ssdtrdhinesh / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

Input locale (keyboard layout) handling #367

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi guys,

I’m from a country where you have to use strange keyboard layout (czech – 
cs_CZ) to write e-mails and stuff (with letters like ěščřžýáí...) but 
the same layout is unusable to manage linux servers (almost impossible to write 
basic characters like /[]*...). This means I’m getting headache every time I 
run PuTTY and log in to a server, because I forget to change the layout 
everytime and then I write gibberish. When I switched to SuperPuTTY it got even 
worse, because every tab can have different keyboard layout set and after 
connect, it's always the system default...

What do I need? I want to have an option where I could define the layout to 
select everytime I open a connection. If it would be possible, I’d like to 
see a list of input locales installed in the system but I’m able to live with 
basic text field where I would have to type for example „00000409“ for U.S. 
English primary layout.

I guess it’s enough to call HKL WINAPI LoadKeyboardLayout function with flags 
KLF_ACTIVATE and KLF_SETFORPROCESS at the right moment. 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646305(v=vs.85).aspx

I’m of course willing to do some testing, or even help writing it, if 
you’ll find it at least possible to do.

Thanks in advance

Petr

Original issue reported on code.google.com by trubu...@gmail.com on 3 Sep 2013 at 10:22