From f613bc1ca8025468a206672ecf3cbf1dd40cd7fc Mon Sep 17 00:00:00 2001 From: zodiac Date: Sun, 28 Jun 2009 20:22:29 +0000 Subject: [PATCH] Added support for keyboards that have a dedicated "<" / ">" key. git-svn-id: https://shellinabox.googlecode.com/svn/trunk@132 0da03de8-d603-11dd-86c2-0f8696b7b6f9 --- ChangeLog | 13 +++++++++++++ config.h | 2 +- configure | 2 +- configure.ac | 2 +- demo/vt100.js | 4 ++-- shellinabox/shell_in_a_box.js | 2 +- shellinabox/vt100.js | 4 ++-- shellinabox/vt100.jspp | 2 +- 8 files changed, 22 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index e28f343..0e35abb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2009-06-28 Markus Gutschke + + * Added support for keyboards that have a dedicated "<" / ">" key. + +2009-06-21 Markus Gutschke + + * Added --localhost option. + + * Added support for building on ARM. + + * Respect "Connection: close" for proxies that rely on pre-HTTP/1.1 + behavior. + 2009-05-24 Markus Gutschke * Added SSL support for OpenBSD diff --git a/config.h b/config.h index d1a386c..dfc4329 100644 --- a/config.h +++ b/config.h @@ -132,7 +132,7 @@ #define STDC_HEADERS 1 /* Most recent revision number in the version control system */ -#define VCS_REVISION "126" +#define VCS_REVISION "132" /* Version number of package */ #define VERSION "2.8" diff --git a/configure b/configure index 118403c..c314390 100755 --- a/configure +++ b/configure @@ -2037,7 +2037,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -VCS_REVISION=126 +VCS_REVISION=132 cat >>confdefs.h <<_ACEOF diff --git a/configure.ac b/configure.ac index 462a3c1..68e6c7e 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.57) dnl This is the one location where the authoritative version number is stored AC_INIT(shellinabox, 2.8, markus@shellinabox.com) -VCS_REVISION=126 +VCS_REVISION=132 AC_SUBST(VCS_REVISION) AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}", [Most recent revision number in the version control system]) diff --git a/demo/vt100.js b/demo/vt100.js index 05646e6..b8b7653 100644 --- a/demo/vt100.js +++ b/demo/vt100.js @@ -1500,7 +1500,7 @@ VT100.prototype.toggleBell = function() { }; VT100.prototype.about = function() { - alert("VT100 Terminal Emulator " + "2.8 (revision 126)" + + alert("VT100 Terminal Emulator " + "2.8 (revision 132)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com"); }; @@ -1921,7 +1921,7 @@ VT100.prototype.keyDown = function(event) { event.keyCode >= 109 && event.keyCode <= 111 || event.keyCode >= 186 && event.keyCode <= 192 || event.keyCode >= 219 && event.keyCode <= 222 || - event.keyCode == 252; + event.keyCode == 226 || event.keyCode == 252; try { if (navigator.appName == 'Konqueror') { normalKey |= event.keyCode < 128; diff --git a/shellinabox/shell_in_a_box.js b/shellinabox/shell_in_a_box.js index a432539..4268e78 100644 --- a/shellinabox/shell_in_a_box.js +++ b/shellinabox/shell_in_a_box.js @@ -355,7 +355,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) { }; ShellInABox.prototype.about = function() { - alert("Shell In A Box version " + "2.8 (revision 126)" + + alert("Shell In A Box version " + "2.8 (revision 132)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com" + (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ? diff --git a/shellinabox/vt100.js b/shellinabox/vt100.js index 05646e6..b8b7653 100644 --- a/shellinabox/vt100.js +++ b/shellinabox/vt100.js @@ -1500,7 +1500,7 @@ VT100.prototype.toggleBell = function() { }; VT100.prototype.about = function() { - alert("VT100 Terminal Emulator " + "2.8 (revision 126)" + + alert("VT100 Terminal Emulator " + "2.8 (revision 132)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com"); }; @@ -1921,7 +1921,7 @@ VT100.prototype.keyDown = function(event) { event.keyCode >= 109 && event.keyCode <= 111 || event.keyCode >= 186 && event.keyCode <= 192 || event.keyCode >= 219 && event.keyCode <= 222 || - event.keyCode == 252; + event.keyCode == 226 || event.keyCode == 252; try { if (navigator.appName == 'Konqueror') { normalKey |= event.keyCode < 128; diff --git a/shellinabox/vt100.jspp b/shellinabox/vt100.jspp index d9d02a9..7c59a03 100644 --- a/shellinabox/vt100.jspp +++ b/shellinabox/vt100.jspp @@ -1921,7 +1921,7 @@ VT100.prototype.keyDown = function(event) { event.keyCode >= 109 && event.keyCode <= 111 || event.keyCode >= 186 && event.keyCode <= 192 || event.keyCode >= 219 && event.keyCode <= 222 || - event.keyCode == 252; + event.keyCode == 226 || event.keyCode == 252; try { if (navigator.appName == 'Konqueror') { normalKey |= event.keyCode < 128;