Warning: session_start(): open(/var/lib/php/sessions/sess_f62b98vf83ul74l9cbgsqtcle0, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static void telnetFromConsoleTo(S host, int port) {
telnetFromConsoleTo(talkTo(host, port));
}
static void telnetFromConsoleTo(final DialogIO io) {
// output
thread {
S line;
while ((line = readLine()) != null) {
print("Sending: " + quote(line));
io.sendLine(line);
}
}
// input
while (io.isStillConnected()) {
if (io.waitForLine()) {
S line = io.readLineNoBlock();
print("> " + line);
}
}
print();
print("[logout]");
}