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)
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()
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
void tau(int code, int p, int q)
void clearScreenAndSetColumns(int columnCount)
virtual void sendString(const char *, int length=-1)
virtual char getErase() const
TODO Document me.
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