Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 289 by
af...@datacell.com: <>^`$£¨!-_ keys dont work with Firefox
and swiss german keyboard
https://code.google.com/p/shellinabox/issues/detail?id=289
the keys < > ^` $£ -_ do not work in Firefox (Version 38.0.5)
and Swiss German Keyboard (under OS X 10.10.4) I got it working by editing
vt100.jspp but its now specific to firefox and some things like [ or ]
don't work now under Safari and look like deadkey's there. So someone with
more experience in this code should fix it properly for all browsers and
keyboards.
Anyhow, here's the mapping I figured out
for Firefox under OS X with Swiss German Keyboard
Output Keypress In Firefox
± ALT 1 event.altKey, ch=1
“ ALT 2 event.altKey, ch=2
# ALT 3 event.altKey, ch=3
Ç ALT 4 event.altKey, ch=4
[ ALT 5 event.altKey, ch=5
] ALT 6 event.altKey, ch=6
| ALT 7 event.altKey, ch=7
{ ALT 8 event.altKey, ch=8
} ALT 9 event.altKey, ch=9
≠ ALT 0 event.altKey, ch=0
@ ALT G event.altKey, ch='G'
< < key=60
> SHIFT < event.shiftKey, key=60
$ $ key=164
£ SHIFT $ event.shiftKey, key=164
^ ^ key=161
` SHIFT ^ event.shiftKey, key=161 (normally a dead key)
¨ ¨ key=160 (normally a dead key)
! SHIFT ¨ event.shiftKey, key=160
- - key=173
_ SHIFT - event.shiftKey, key=173
There's a lot more on the keyboard but these are the most important ones to
do anything useful in the shell (like what do you do without '-' ? That key
is totally dead otherwise).
Attachments:
vt100.jspp-patched.txt 169 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings