29 setMinimumSize(300, 200);
46 connect(
m_terminalView, SIGNAL(customContextMenuRequested(QPoint)),
53 QFont font = QFont(
"Monaco");
54 font.setStyleHint(QFont::TypeWriter);
55 font.setPointSize(11);
57 QFont font = QFont(
"Monospace");
58 font.setStyleHint(QFont::TypeWriter);
59 font.setPointSize(10);
63 setFocus(Qt::OtherFocusReason);
88 dup2 (fds, STDOUT_FILENO);
89 dup2 (fds, STDERR_FILENO);
92 qDebug(
"Error: stdin is not a tty.");
95 if(!
isatty(STDOUT_FILENO)) {
96 qDebug(
"Error: stdout is not a tty.");
99 if(!
isatty(STDERR_FILENO)) {
100 qDebug(
"Error: stderr is not a tty.");
150 cols[i] = curr_cols[i];
165 cols[i] = curr_cols[i];