* 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:
Bryan Ashby 2015-10-21 22:51:35 -06:00
parent e7e9746a85
commit ad4eea6ba7
12 changed files with 101 additions and 43 deletions

View file

@ -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)