Konsole
#include "Vt102Emulation.h"
#include <stdio.h>
#include <unistd.h>
#include <QtCore/QEvent>
#include <QtCore/QTimer>
#include <QtGui/QKeyEvent>
#include <KLocalizedString>
#include <KDebug>
#include "KeyboardTranslator.h"
#include "Screen.h"
#include "TerminalDisplay.h"
#include "Vt102Emulation.moc"
Go to the source code of this file.
Macros | |
#define | ces(C) (cc < 256 && (charClass[cc] & (C)) == (C) && !Xte) |
#define | CHARSET _charset[_currentScreen==_screen[1]] |
#define | CNTL(c) ((c)-'@') |
#define | eec(C) (p >= 3 && cc == (C)) |
#define | ees(C) (p >= 3 && cc < 256 && (charClass[cc] & (C)) == (C)) |
#define | egt() (p >= 3 && s[2] == '>') |
#define | epe() (p >= 3 && s[2] == '!') |
#define | epp() (p >= 3 && s[2] == '?') |
#define | eps(C) (p >= 3 && s[2] != '?' && s[2] != '!' && s[2] != '>' && cc < 256 && (charClass[cc] & (C)) == (C)) |
#define | lec(P, L, C) (p == (P) && s[(L)] == (C)) |
#define | les(P, L, C) (p == (P) && s[L] < 256 && (charClass[s[(L)]] & (C)) == (C)) |
#define | lun() (p == 1 && cc >= 32 ) |
#define | TY_CHR() TY_CONSTRUCT(0,0,0) |
#define | TY_CONSTRUCT(T, A, N) ( ((((int)N) & 0xffff) << 16) | ((((int)A) & 0xff) << 8) | (((int)T) & 0xff) ) |
#define | TY_CSI_PE(A) TY_CONSTRUCT(10,A,0) |
#define | TY_CSI_PG(A) TY_CONSTRUCT(9,A,0) |
#define | TY_CSI_PN(A) TY_CONSTRUCT(6,A,0) |
#define | TY_CSI_PR(A, N) TY_CONSTRUCT(7,A,N) |
#define | TY_CSI_PS(A, N) TY_CONSTRUCT(5,A,N) |
#define | TY_CTL(A) TY_CONSTRUCT(1,A,0) |
#define | TY_ESC(A) TY_CONSTRUCT(2,A,0) |
#define | TY_ESC_CS(A, B) TY_CONSTRUCT(3,A,B) |
#define | TY_ESC_DE(A) TY_CONSTRUCT(4,A,0) |
#define | TY_VT52(A) TY_CONSTRUCT(8,A,0) |
#define | Xpe (tokenBufferPos >= 2 && tokenBuffer[1] == ']') |
#define | Xte (Xpe && cc == 7 ) |
Functions | |
static QString | hexdump2 (int *s, int len) |
Variables | |
const int | CHR = 2 |
const int | CPN = 4 |
const int | CPS = 64 |
const int | CTL = 1 |
const int | DEL = 127 |
const int | DIG = 8 |
const int | ESC = 27 |
const int | GRP = 32 |
const int | MAX_ARGUMENT = 4096 |
const int | SCS = 16 |
Macro Definition Documentation
#define ces | ( | C | ) | (cc < 256 && (charClass[cc] & (C)) == (C) && !Xte) |
Definition at line 284 of file Vt102Emulation.cpp.
#define CHARSET _charset[_currentScreen==_screen[1]] |
Definition at line 1089 of file Vt102Emulation.cpp.
#define CNTL | ( | c | ) | ((c)-'@') |
Definition at line 286 of file Vt102Emulation.cpp.
#define eec | ( | C | ) | (p >= 3 && cc == (C)) |
Definition at line 276 of file Vt102Emulation.cpp.
#define ees | ( | C | ) | (p >= 3 && cc < 256 && (charClass[cc] & (C)) == (C)) |
Definition at line 277 of file Vt102Emulation.cpp.
#define egt | ( | ) | (p >= 3 && s[2] == '>') |
Definition at line 281 of file Vt102Emulation.cpp.
#define epe | ( | ) | (p >= 3 && s[2] == '!') |
Definition at line 280 of file Vt102Emulation.cpp.
#define epp | ( | ) | (p >= 3 && s[2] == '?') |
Definition at line 279 of file Vt102Emulation.cpp.
#define eps | ( | C | ) | (p >= 3 && s[2] != '?' && s[2] != '!' && s[2] != '>' && cc < 256 && (charClass[cc] & (C)) == (C)) |
Definition at line 278 of file Vt102Emulation.cpp.
#define lec | ( | P, | |
L, | |||
C | |||
) | (p == (P) && s[(L)] == (C)) |
Definition at line 273 of file Vt102Emulation.cpp.
#define les | ( | P, | |
L, | |||
C | |||
) | (p == (P) && s[L] < 256 && (charClass[s[(L)]] & (C)) == (C)) |
Definition at line 275 of file Vt102Emulation.cpp.
#define lun | ( | ) | (p == 1 && cc >= 32 ) |
Definition at line 274 of file Vt102Emulation.cpp.
#define TY_CHR | ( | ) | TY_CONSTRUCT(0,0,0) |
Definition at line 170 of file Vt102Emulation.cpp.
#define TY_CONSTRUCT | ( | T, | |
A, | |||
N | |||
) | ( ((((int)N) & 0xffff) << 16) | ((((int)A) & 0xff) << 8) | (((int)T) & 0xff) ) |
Definition at line 168 of file Vt102Emulation.cpp.
#define TY_CSI_PE | ( | A | ) | TY_CONSTRUCT(10,A,0) |
Definition at line 181 of file Vt102Emulation.cpp.
#define TY_CSI_PG | ( | A | ) | TY_CONSTRUCT(9,A,0) |
Definition at line 180 of file Vt102Emulation.cpp.
#define TY_CSI_PN | ( | A | ) | TY_CONSTRUCT(6,A,0) |
Definition at line 176 of file Vt102Emulation.cpp.
#define TY_CSI_PR | ( | A, | |
N | |||
) | TY_CONSTRUCT(7,A,N) |
Definition at line 177 of file Vt102Emulation.cpp.
#define TY_CSI_PS | ( | A, | |
N | |||
) | TY_CONSTRUCT(5,A,N) |
Definition at line 175 of file Vt102Emulation.cpp.
#define TY_CTL | ( | A | ) | TY_CONSTRUCT(1,A,0) |
Definition at line 171 of file Vt102Emulation.cpp.
#define TY_ESC | ( | A | ) | TY_CONSTRUCT(2,A,0) |
Definition at line 172 of file Vt102Emulation.cpp.
#define TY_ESC_CS | ( | A, | |
B | |||
) | TY_CONSTRUCT(3,A,B) |
Definition at line 173 of file Vt102Emulation.cpp.
#define TY_ESC_DE | ( | A | ) | TY_CONSTRUCT(4,A,0) |
Definition at line 174 of file Vt102Emulation.cpp.
#define TY_VT52 | ( | A | ) | TY_CONSTRUCT(8,A,0) |
Definition at line 179 of file Vt102Emulation.cpp.
#define Xpe (tokenBufferPos >= 2 && tokenBuffer[1] == ']') |
Definition at line 282 of file Vt102Emulation.cpp.
#define Xte (Xpe && cc == 7 ) |
Definition at line 283 of file Vt102Emulation.cpp.
Function Documentation
|
static |
Definition at line 1312 of file Vt102Emulation.cpp.
Variable Documentation
const int CHR = 2 |
Definition at line 222 of file Vt102Emulation.cpp.
const int CPN = 4 |
Definition at line 223 of file Vt102Emulation.cpp.
const int CPS = 64 |
Definition at line 227 of file Vt102Emulation.cpp.
const int CTL = 1 |
Definition at line 221 of file Vt102Emulation.cpp.
const int DEL = 127 |
Definition at line 288 of file Vt102Emulation.cpp.
const int DIG = 8 |
Definition at line 224 of file Vt102Emulation.cpp.
const int ESC = 27 |
Definition at line 287 of file Vt102Emulation.cpp.
const int GRP = 32 |
Definition at line 226 of file Vt102Emulation.cpp.
const int MAX_ARGUMENT = 4096 |
Definition at line 183 of file Vt102Emulation.cpp.
const int SCS = 16 |
Definition at line 225 of file Vt102Emulation.cpp.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.