git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1140
270642c3-0616-0410-b53a-bc976706d245
//#include "Telnet.ih"
// Custom includes
+#include <boost/algorithm/string/case_conv.hpp>
#include "../membind.hh"
#include "../Logger/SenfLog.hh"
return;
if (data[0] == '\x00') {
type_ = data.substr(1);
+ boost::algorithm::to_lower(type_);
decrementRequestCounter();
}
}
log << "TelnetTerminal setup failed:\n";
if (width() <= 0)
log << " missing telnet client NAWS support\n";
+ else
+ log << " size=" << width() << "x" << height() << "\n";
if (terminalType().empty())
log << " missing telnet client TERMINAL_TYPE support\n";
+ else
+ log << " TERM=" << terminalType() << "\n";
if (! localOption(telnetopt::SUPPRESS_GO_AHEAD) ||
! peerOption(telnetopt::SUPPRESS_GO_AHEAD))
log << " missing telnet clinet SGO support\n";