mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-08 05:34:41 +02:00
* SSH is now functional for 'ssh', PuTTY, SyncTerm, EtherTerm, and hopefully most others
* Explicit detect of syncterm as ANSI * Add serverType (TELNET, SSH) MCI: %ST
This commit is contained in:
parent
e7e9746a85
commit
ad4eea6ba7
12 changed files with 101 additions and 43 deletions
|
@ -74,6 +74,17 @@ function ClientTerminal(output) {
|
|||
// SCREEN
|
||||
// * ConnectBot
|
||||
//
|
||||
// syncterm
|
||||
// *
|
||||
//
|
||||
// Reports from various terminals
|
||||
// SyncTERM
|
||||
// * syncterm
|
||||
//
|
||||
// PuTTY
|
||||
// * xterm
|
||||
//
|
||||
//
|
||||
if(this.isANSI()) {
|
||||
this.outputEncoding = 'cp437';
|
||||
} else {
|
||||
|
@ -125,7 +136,7 @@ function ClientTerminal(output) {
|
|||
|
||||
ClientTerminal.prototype.isANSI = function() {
|
||||
// :TODO: Others??
|
||||
return [ 'ansi', 'pc-ansi', 'qansi', 'scoansi' ].indexOf(this.termType) > -1;
|
||||
return [ 'ansi', 'pc-ansi', 'qansi', 'scoansi', 'syncterm' ].indexOf(this.termType) > -1;
|
||||
};
|
||||
|
||||
// :TODO: probably need to update these to convert IAC (0xff) -> IACIAC (escape it)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue