* 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

@ -5,7 +5,7 @@ var MenuModule = require('../core/menu_module.js').MenuModule;
var userDb = require('../core/database.js').dbs.user;
var ViewController = require('../core/view_controller.js').ViewController;
var TextView = require('../core/text_view.js').TextView;
var getUserLoginHistory = require('../core/stats.js').getUserLoginHistory;
var getSystemLoginHistory = require('../core/stats.js').getSystemLoginHistory;
var util = require('util');
var moment = require('moment');
@ -92,7 +92,7 @@ LastCallersModule.prototype.mciReady = function(mciData, cb) {
});
},
function fetchHistory(callback) {
getUserLoginHistory(self.rows, function historyRetrieved(err, lh) {
getSystemLoginHistory(self.rows, function historyRetrieved(err, lh) {
loginHistory = lh;
callback(err);
});