Cleanup the transparent printing HTML a little bit.
#define STDC_HEADERS 1
/* Most recent revision number in the version control system */
-#define VCS_REVISION "176"
+#define VCS_REVISION "178"
/* Version number of package */
#define VERSION "2.9"
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-VCS_REVISION=176
+VCS_REVISION=178
cat >>confdefs.h <<_ACEOF
dnl This is the one location where the authoritative version number is stored
AC_INIT(shellinabox, 2.9, markus@shellinabox.com)
-VCS_REVISION=176
+VCS_REVISION=178
AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system])
dh_installchangelogs ChangeLog
dh_installdocs --exclude COPYING --exclude INSTALL --exclude ChangeLog
dh_installexamples
- dh_install
+ dh_install --sourcedir=debian/tmp
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
/* Set styles used when opening the printer window */
#print {
- margin: 4ex 0px 0px 0px;
+ margin: 0.5ex 0px 0px 0px;
}
-#options {
+#options, #spacer {
+ font-family: sans;
+ font-size: smaller;
position: fixed;
top: 0px;
left: 0px;
border-bottom: 1px solid black;
}
+#spacer {
+ position: static;
+ visibility: hidden;
+}
+
@media print {
body {
margin: 0px;
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.9 (revision 176)" +
+ alert("VT100 Terminal Emulator " + "2.9 (revision 178)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};
(this.autoprint ? ' checked' : '') + '>' +
'Automatically, print page(s) when job is ready' +
'</input></div>\n' +
+ '<div id="spacer"><input type="checkbox"> </input></div>' +
'<pre id="print"></pre>\n';
var autoprint = this.printWin.document.getElementById('autoprint');
this.addListener(autoprint, 'click',
/* Set styles used when opening the printer window */
#print {
- margin: 4ex 0px 0px 0px;
+ margin: 0.5ex 0px 0px 0px;
}
-#options {
+#options, #spacer {
+ font-family: sans;
+ font-size: smaller;
position: fixed;
top: 0px;
left: 0px;
border-bottom: 1px solid black;
}
+#spacer {
+ position: static;
+ visibility: hidden;
+}
+
@media print {
body {
margin: 0px;
function ShellInABox(url, container) {
if (url == undefined) {
+ this.rooturl = document.location.href;
this.url = document.location.href.replace(/[?#].*/, '');
} else {
+ this.rooturl = url;
this.url = url;
}
if (document.location.hash != '') {
var content = 'width=' + this.terminalWidth +
'&height=' + this.terminalHeight +
(this.session ? '&session=' +
- encodeURIComponent(this.session) : '');
+ encodeURIComponent(this.session) : '&rooturl='+
+ encodeURIComponent(this.rooturl));
request.setRequestHeader('Content-Length', content.length);
request.onreadystatechange = function(shellInABox) {
};
ShellInABox.prototype.about = function() {
- alert("Shell In A Box version " + "2.9 (revision 176)" +
+ alert("Shell In A Box version " + "2.9 (revision 178)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com" +
(typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
function ShellInABox(url, container) {
if (url == undefined) {
+ this.rooturl = document.location.href;
this.url = document.location.href.replace(/[?#].*/, '');
} else {
+ this.rooturl = url;
this.url = url;
}
if (document.location.hash != '') {
var content = 'width=' + this.terminalWidth +
'&height=' + this.terminalHeight +
(this.session ? '&session=' +
- encodeURIComponent(this.session) : '');
+ encodeURIComponent(this.session) : '&rooturl='+
+ encodeURIComponent(this.rooturl));
request.setRequestHeader('Content-Length', content.length);
request.onreadystatechange = function(shellInABox) {
" ${lines} - number of rows\n"
" ${peer} - name of remote peer\n"
" ${uid} - user id\n"
+ " ${url} - the URL that serves the terminal session\n"
" ${user} - user name\n"
"\n"
"One or more --user-css arguments define optional user-selectable "
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.9 (revision 176)" +
+ alert("VT100 Terminal Emulator " + "2.9 (revision 178)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};
(this.autoprint ? ' checked' : '') + '>' +
'Automatically, print page(s) when job is ready' +
'</input></div>\n' +
+ '<div id="spacer"><input type="checkbox"> </input></div>' +
'<pre id="print"></pre>\n';
var autoprint = this.printWin.document.getElementById('autoprint');
this.addListener(autoprint, 'click',
(this.autoprint ? ' checked' : '') + '>' +
'Automatically, print page(s) when job is ready' +
'</input></div>\n' +
+ '<div id="spacer"><input type="checkbox"> </input></div>' +
'<pre id="print"></pre>\n';
var autoprint = this.printWin.document.getElementById('autoprint');
this.addListener(autoprint, 'click',