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)
187 #endif // VT102EMULATION_H
void setAndUseCharset(int n, int cs)
virtual char getErase() const
TODO Document me.
OCTAVE_EXPORT octave_value_list column
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)
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
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)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
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