From 37c51363d6215aee16a9179c2279d7fb4301d3ea Mon Sep 17 00:00:00 2001 From: zodiac Date: Wed, 29 Jul 2009 21:27:01 +0000 Subject: [PATCH] Updated examples in manual page. git-svn-id: https://shellinabox.googlecode.com/svn/trunk@157 0da03de8-d603-11dd-86c2-0f8696b7b6f9 --- config.h | 2 +- configure | 2 +- configure.ac | 2 +- demo/vt100.js | 2 +- shellinabox/shell_in_a_box.js | 2 +- shellinabox/shellinaboxd.man.in | 18 +++++++++++++----- shellinabox/vt100.js | 2 +- 7 files changed, 19 insertions(+), 11 deletions(-) diff --git a/config.h b/config.h index 3d42eef..fafda1f 100644 --- a/config.h +++ b/config.h @@ -135,7 +135,7 @@ #define STDC_HEADERS 1 /* Most recent revision number in the version control system */ -#define VCS_REVISION "155" +#define VCS_REVISION "157" /* Version number of package */ #define VERSION "2.9" diff --git a/configure b/configure index 9e607aa..b33d439 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=155 +VCS_REVISION=157 cat >>confdefs.h <<_ACEOF diff --git a/configure.ac b/configure.ac index 6a35dbb..f86785a 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.9, markus@shellinabox.com) -VCS_REVISION=155 +VCS_REVISION=157 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 3c755a8..2e9f4d4 100644 --- a/demo/vt100.js +++ b/demo/vt100.js @@ -1693,7 +1693,7 @@ VT100.prototype.toggleBell = function() { }; VT100.prototype.about = function() { - alert("VT100 Terminal Emulator " + "2.9 (revision 155)" + + alert("VT100 Terminal Emulator " + "2.9 (revision 157)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com"); }; diff --git a/shellinabox/shell_in_a_box.js b/shellinabox/shell_in_a_box.js index 439443f..b4f80b8 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.9 (revision 155)" + + alert("Shell In A Box version " + "2.9 (revision 157)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com" + (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ? diff --git a/shellinabox/shellinaboxd.man.in b/shellinabox/shellinaboxd.man.in index f45a4f4..ba3b0e4 100644 --- a/shellinabox/shellinaboxd.man.in +++ b/shellinabox/shellinaboxd.man.in @@ -484,14 +484,22 @@ A small number of run-time configuration options are available from a context menu that becomes available when clicking the right mouse button. .SH EXAMPLES .TP \w'shellinaboxd\ 'u +.B shellinaboxd +Attaches a web-enabled login shell to +.IR https://localhost:4200/ . +If the user connected without SSL, the session will automatically be promoted. +Unless SSL certificates can be found in the current directory, the daemon will +automatically generate suitable self-signed certificates. If the command was +invoked by a non-\fBroot\fP user, the daemon uses +.B ssh +instead of +.B /bin/login +for the session. +.TP .B shellinaboxd -t Attaches a web-enabled login shell to .I http://localhost:4200/ -with SSL/TLS support disabled. This command must be run as -.B root -or the attempt to launch -.I /bin/login -will fail. +with SSL/TLS support disabled. .TP .B shellinaboxd -t -f beep.wav:/dev/null Runs all services with the audible-bell permanently disabled. diff --git a/shellinabox/vt100.js b/shellinabox/vt100.js index 3c755a8..2e9f4d4 100644 --- a/shellinabox/vt100.js +++ b/shellinabox/vt100.js @@ -1693,7 +1693,7 @@ VT100.prototype.toggleBell = function() { }; VT100.prototype.about = function() { - alert("VT100 Terminal Emulator " + "2.9 (revision 155)" + + alert("VT100 Terminal Emulator " + "2.9 (revision 157)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com"); };