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:
parent
fc89cb1ad5
commit
c13170fe33
3 changed files with 9 additions and 6 deletions
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue