* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user