From c13170fe337b7812160a1238fef85fc8ad1a428e Mon Sep 17 00:00:00 2001 From: KLuka Date: Thu, 19 Mar 2015 22:33:42 +0100 Subject: [PATCH] Minor typo and font fixes * Added "Consolas" to terminal font stack * Fixed some typos in README.md * Fixed consistency of "attrFg" and "attrBg" in VT100 class --- README.md | 9 ++++++--- shellinabox/styles.css | 2 +- shellinabox/vt100.jspp | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8ea1743..4c6375e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ shellinabox =========== -This is unofficial fork of project **shellinabox**. Fork was created because +This is unofficial fork of project **Shell In A Box**. Fork was created because original project is not maintained anymore and we cannot contact original repository owners. @@ -27,6 +27,7 @@ browser plugins. More information: +* [Manual page](https://github.com/shellinabox/shellinabox/wiki/shellinaboxd_man) * [Official site](https://code.google.com/p/shellinabox) * [Official wiki](https://code.google.com/p/shellinabox/wiki/shellinaboxd_man) @@ -34,7 +35,7 @@ More information: Build ----------------- -For building **shellianbox** from source on Debian based systems use commands listed +For building **shellinabox** from source on Debian based systems use commands listed below. This will create executable file `shellinaboxd` in project directory. 1. Install dependencies @@ -61,6 +62,8 @@ below. This will create executable file `shellinaboxd` in project directory. ./configure && make ``` +#### Debian package + For building and installing `.deb` packages you can use commands listed bellow. 1. Build package @@ -72,7 +75,7 @@ For building and installing `.deb` packages you can use commands listed bellow. 2. Install package ``` - dpkg -i ../shellianbox_{ver}_{arch}.deb + dpkg -i ../shellinabox_{ver}_{arch}.deb ``` For more information about `.deb` packages please see [INSTALL.Debian](/INSTALL.Debian) file. diff --git a/shellinabox/styles.css b/shellinabox/styles.css index 03d77be..23dcf89 100755 --- a/shellinabox/styles.css +++ b/shellinabox/styles.css @@ -45,7 +45,7 @@ } #vt100 #console, #vt100 #alt_console, #vt100 #cursor, #vt100 #lineheight, #vt100 .hidden pre { - font-family: "DejaVu Sans Mono", "Everson Mono", FreeMono, "Andale Mono", monospace; + font-family: "DejaVu Sans Mono", "Everson Mono", FreeMono, "Andale Mono", Consolas, monospace; } #vt100 #lineheight { diff --git a/shellinabox/vt100.jspp b/shellinabox/vt100.jspp index 106a939..bca7946 100755 --- a/shellinabox/vt100.jspp +++ b/shellinabox/vt100.jspp @@ -3856,7 +3856,7 @@ VT100.prototype.csim = function() { // Foreground color for extended color mode (256 colors). Escape code is formated // as: ESC 38; 5; 0-255. Last parameter is color code in range [0-255]. This is // not VT100 standard. - this.attrFg = (this.par[i+2] >= 0 && this.par[i+2] <= 255) ? this.par[i+2] : null; + this.attrFg = (this.par[i+2] >= 0 && this.par[i+2] <= 255) ? this.par[i+2] : false; i += 2; } else { // Default VT100 behaviour. @@ -3872,7 +3872,7 @@ VT100.prototype.csim = function() { // Background color for extended color mode (256 colors). Escape code is formated // as: ESC 48; 5; 0-255. Last parameter is color code in range [0-255]. This is // not VT100 standard. - this.attrBg = (this.par[i+2] >= 0 && this.par[i+2] <= 255) ? this.par[i+2] : null; + this.attrBg = (this.par[i+2] >= 0 && this.par[i+2] <= 255) ? this.par[i+2] : false; i += 2; } break;