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
This commit is contained in:
KLuka 2015-03-19 22:33:42 +01:00
parent fc89cb1ad5
commit c13170fe33
3 changed files with 9 additions and 6 deletions

View file

@ -2,7 +2,7 @@
shellinabox 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 original project is not maintained anymore and we cannot contact original
repository owners. repository owners.
@ -27,6 +27,7 @@ browser plugins.
More information: More information:
* [Manual page](https://github.com/shellinabox/shellinabox/wiki/shellinaboxd_man)
* [Official site](https://code.google.com/p/shellinabox) * [Official site](https://code.google.com/p/shellinabox)
* [Official wiki](https://code.google.com/p/shellinabox/wiki/shellinaboxd_man) * [Official wiki](https://code.google.com/p/shellinabox/wiki/shellinaboxd_man)
@ -34,7 +35,7 @@ More information:
Build 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. below. This will create executable file `shellinaboxd` in project directory.
1. Install dependencies 1. Install dependencies
@ -61,6 +62,8 @@ below. This will create executable file `shellinaboxd` in project directory.
./configure && make ./configure && make
``` ```
#### Debian package
For building and installing `.deb` packages you can use commands listed bellow. For building and installing `.deb` packages you can use commands listed bellow.
1. Build package 1. Build package
@ -72,7 +75,7 @@ For building and installing `.deb` packages you can use commands listed bellow.
2. Install package 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. For more information about `.deb` packages please see [INSTALL.Debian](/INSTALL.Debian) file.

View file

@ -45,7 +45,7 @@
} }
#vt100 #console, #vt100 #alt_console, #vt100 #cursor, #vt100 #lineheight, #vt100 .hidden pre { #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 { #vt100 #lineheight {

View file

@ -3856,7 +3856,7 @@ VT100.prototype.csim = function() {
// Foreground color for extended color mode (256 colors). Escape code is formated // 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 // as: ESC 38; 5; 0-255. Last parameter is color code in range [0-255]. This is
// not VT100 standard. // 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; i += 2;
} else { } else {
// Default VT100 behaviour. // Default VT100 behaviour.
@ -3872,7 +3872,7 @@ VT100.prototype.csim = function() {
// Background color for extended color mode (256 colors). Escape code is formated // 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 // as: ESC 48; 5; 0-255. Last parameter is color code in range [0-255]. This is
// not VT100 standard. // 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; i += 2;
} }
break; break;