mellon85 / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Defunct key bindnings for special characters on Macbook with Swedish keyboard layout and locale #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start shellinaboxd on Linux host
2. Connect from Macbook 10.6.5, using Firefox 3.6.13 or Safari 5.0.3, using 
Swedish keyboard layout and locale.
3. (Attempt to) type character "$" - but nothing happens.

What is the expected output? What do you see instead?
The expected "$" is normally made by alt+4 key combination. This issue applies 
for many other special characters.

What version of the product are you using? On what operating system?
Shellinabox 2.10 running on mipsel-unknown-linux-gnu with linux-2.6.22.19 (An 
embedded media player based on Sigma SMP8643: Popcorn Hour C-200)

Please provide any additional information below.
The a-Z keys work OK. I've tried many different alternative key combinations to 
get $ etc. to output without success. From a Windows Vista laptop with MSIE and 
also Swedish keyboard/locale it works good without issues. I'm trying to read 
up on where and how to create keymappings, but any hint would be appreciated!

Original issue reported on code.google.com by dc1...@gmail.com on 10 Jan 2011 at 4:18

GoogleCodeExporter commented 8 years ago
Sorry, English is not my native language. Instead of "defunct", read: 
"incorrect".

Original comment by dc1...@gmail.com on 11 Jan 2011 at 10:19

GoogleCodeExporter commented 8 years ago
I find exactly the same problem happens with following characters : $£*µù%^¨

Server is Ubuntu running SIAB version 2.10 (revision 186) anc client is firefox 
16.0.1 under Windows XP.

Strangely, Firefox 3.6.26 on the same windows desktop and on the same server 
works properly for this one. And adding a javascript breakpoint using FireBug 
on line 2375 in the VT100.prototype.keyDown function of the ShellInABox?js file 
allows to type the $ sign, even if the only thing I do is resume the script 
once it has been stopped at the breakpoint...

Original comment by etienne....@gmail.com on 30 Oct 2012 at 1:37

GoogleCodeExporter commented 8 years ago
A new discovery here, when I type any accent before those key, it suddenly 
works properly.

For example, instead of hitting only the $ key, I will hit the ^ key once, and 
then the $ key. This will cause a simple $ to be displayed, and the ^ does not 
even get interpreted...

This is a workaround I found, I believe this might help you finding the issue 
here ;)

Original comment by etienne....@gmail.com on 30 Oct 2012 at 2:16