SSH: Implement terminal support and corresponding tests.

Task-number: QTCREATORBUG-3891
This commit is contained in:
Christian Kandeler
2011-04-06 10:26:45 +02:00
parent dc6874acb8
commit 288b25bf40
8 changed files with 79 additions and 19 deletions

View File

@@ -160,7 +160,7 @@ void SshOutgoingPacket::generatePtyRequestPacket(quint32 remoteChannel,
init(SSH_MSG_CHANNEL_REQUEST).appendInt(remoteChannel)
.appendString("pty-req").appendBool(false)
.appendString(terminal.termType).appendInt(terminal.columnCount)
.appendInt(terminal.rowCount);
.appendInt(terminal.rowCount).appendInt(0).appendInt(0);
QByteArray modeString;
for (SshPseudoTerminal::ModeMap::ConstIterator it = terminal.modes.constBegin();
it != terminal.modes.constEnd(); ++it) {