Comment #9 on issue 51 by 
dezz...@gmail.com: back quote key on the keyboard  
I almost fixed it - Both the FF bug and the Mac/Option key combinations.  
The only thing I am unsure of is the fact that my Macbook sends "1B"+"40"  
with Option.  This is why @ and | fails. The (escape) in the front has to  
go. There are many wrong ways to fix this - but I believe the fix has to be  
somewhere around (Where the modifiers get added):
https://code.google.com/p/shellinabox/source/browse/shellinabox/vt100.js#2763
Maybe a fix would be to remove (hex) "1B" / ESCAPE character in front, when  
a known Mac combination is pressed like "1B40" = @ ..
Other than that I fixed all ? + - _ keys by mapping them in vt100.js  
handleKey/fixEvent - But this is meant for US keyboards exclusively -  
either way the 171 keyCode (the new FF -_ keyCode) was missing and this was  
why it wasn't working.
Works with Chromium / Firefox DK keyboard layout I tested Linux, Windows,  
OS X.
Attachments:
	vt100.js.patch  2.4 KB
	vt100.js  171 KB