25 #ifndef VT102EMULATION_H
26 #define VT102EMULATION_H
33 #include <QtCore/QHash>
34 #include <QtCore/QTimer>
40 #define MODE_AppScreen (MODES_SCREEN+0)
41 #define MODE_AppCuKeys (MODES_SCREEN+1)
42 #define MODE_AppKeyPad (MODES_SCREEN+2)
43 #define MODE_Mouse1000 (MODES_SCREEN+3)
44 #define MODE_Mouse1001 (MODES_SCREEN+4)
45 #define MODE_Mouse1002 (MODES_SCREEN+5)
46 #define MODE_Mouse1003 (MODES_SCREEN+6)
47 #define MODE_Ansi (MODES_SCREEN+7)
48 #define MODE_total (MODES_SCREEN+8)
103 virtual void setMode (
int mode);
155 void tau(
int code,
int p,
int q);
187 #endif // VT102EMULATION_H
void setAndUseCharset(int n, int cs)
virtual char getErase() const
TODO Document me.
virtual void resetMode(int mode)
virtual void clearEntireScreen()
Copies the current image into the history and clears the screen.
void reportTerminalType()
virtual void receiveChar(int cc)
Processes an incoming character.
Vt102Emulation()
Constructs a new emulation.
void reportSecondaryAttributes()
void scrollLock(const bool lock)
Base class for terminal emulation back-ends.
QHash< int, QString > _pendingTitleUpdates
void reportTerminalParms(int p)
void resetCharset(int scrno)
void scan_buffer_report()
void setMargins(int top, int bottom)
void reportCursorPosition()
void tau(int code, int p, int q)
void clearScreenAndSetColumns(int columnCount)
virtual void sendString(const char *, int length=-1)
virtual void setMode(int mode)
unsigned short applyCharset(unsigned short c)
bool mode[(MODES_SCREEN+8)]
virtual void sendKeyEvent(QKeyEvent *)
virtual void sendText(const QString &text)
void restoreMode(int mode)
virtual void sendMouseEvent(int buttons, int column, int line, int eventType)
virtual void reset()
Resets the state of the terminal.
Provides an xterm compatible terminal emulation based on the DEC VT102 terminal.
void setCharset(int n, int cs)
QTimer * _titleUpdateTimer