| 1 | /* |
| 2 | This file is part of Konsole, an X terminal. |
| 3 | |
| 4 | Copyright 2007-2008 by Robert Knight <[email protected]> |
| 5 | Copyright 1997,1998 by Lars Doelle <[email protected]> |
| 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 2 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program; if not, write to the Free Software |
| 19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 20 | 02110-1301 USA. |
| 21 | */ |
| 22 | |
| 23 | // Own |
| 24 | #include "Vt102Emulation.h"cxx . . $ `<file>/lib/Vt102Emulation.h`/ |
| 25 | #include "mac-vkcode.h"cxx . . $ `<file>/lib/mac-vkcode.h`/ |
| 26 | #include "tools.h"cxx . . $ `<file>/lib/tools.h`/ |
| 27 | |
| 28 | |
| 29 | // XKB |
| 30 | //#include <config-konsole.h> |
| 31 | |
| 32 | // this allows konsole to be compiled without XKB and XTEST extensions |
| 33 | // even though it might be available on a particular system. |
| 34 | #if defined(AVOID_XKB) |
| 35 | #undef HAVE_XKB |
| 36 | #endif |
| 37 | |
| 38 | #if defined(HAVE_XKB) |
| 39 | void scrolllock_set_off(); |
| 40 | void scrolllock_set_on(); |
| 41 | #endif |
| 42 | |
| 43 | // Standard |
| 44 | #include <cstdio> |
| 45 | #include <unistd.h> |
| 46 | |
| 47 | // Qt |
| 48 | #include <QEvent> |
| 49 | #include <QKeyEvent> |
| 50 | #include <QByteRef> |
| 51 | #include <QDebug> |
| 52 | |
| 53 | // KDE |
| 54 | //#include <kdebug.h> |
| 55 | //#include <klocale.h> |
| 56 | |
| 57 | // Konsole |
| 58 | #include "KeyboardTranslator.h"cxx . . $ `<file>/lib/KeyboardTranslator.h`/ |
| 59 | #include "Screen.h"cxx . . $ `<file>/lib/Screen.h`/ |
| 60 | |
| 61 | |
| 62 | using namespace Konsole; |
| 63 | |
| 64 | Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::Vt102Emulationcxx . . $ Konsole/Vt102Emulation#Vt102Emulation(49f6e7a06ebc5aa8).() |
| 65 | : Emulationcxx . . $ Konsole/Emulation#(), |
| 66 | prevCCcxx . . $ Konsole/Vt102Emulation#prevCC.(0), |
| 67 | _titleUpdateTimercxx . . $ Konsole/Vt102Emulation#_titleUpdateTimer.(new QTimercxx . . $ QTimer#QTimer(749de1b6ae65bddd).(this)), |
| 68 | _reportFocusEventscxx . . $ Konsole/Vt102Emulation#_reportFocusEvents.(false) |
| 69 | { |
| 70 | _titleUpdateTimercxx . . $ Konsole/Vt102Emulation#_titleUpdateTimer.->setSingleShotcxx . . $ QTimer#setSingleShot(b45ddcbc8423892c).(true); |
| 71 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(158df1d9a01a3410).(_titleUpdateTimercxx . . $ Konsole/Vt102Emulation#_titleUpdateTimer. , SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(timeout()) , this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(updateTitle())); |
| 72 | |
| 73 | initTokenizercxx . . $ Konsole/Vt102Emulation#initTokenizer(49f6e7a06ebc5aa8).(); |
| 74 | resetcxx . . $ Konsole/Vt102Emulation#reset(49f6e7a06ebc5aa8).(); |
| 75 | } |
| 76 | |
| 77 | Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::~cxx . . $ Konsole/Vt102Emulation#`~Vt102Emulation`(ced63f7c635d850d).Vt102Emulationcxx . . $ Konsole/Vt102Emulation#() |
| 78 | {} |
| 79 | |
| 80 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::clearEntireScreencxx . . $ Konsole/Vt102Emulation#clearEntireScreen(49f6e7a06ebc5aa8).() |
| 81 | { |
| 82 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearEntireScreencxx . . $ Konsole/Screen#clearEntireScreen(49f6e7a06ebc5aa8).(); |
| 83 | bufferedUpdatecxx . . $ Konsole/Emulation#bufferedUpdate(49f6e7a06ebc5aa8).(); |
| 84 | } |
| 85 | |
| 86 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::resetcxx . . $ Konsole/Vt102Emulation#reset(49f6e7a06ebc5aa8).() |
| 87 | { |
| 88 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 89 | resetModescxx . . $ Konsole/Vt102Emulation#resetModes(49f6e7a06ebc5aa8).(); |
| 90 | resetCharsetcxx . . $ Konsole/Vt102Emulation#resetCharset(d4f767463ce0a6b3).(0); |
| 91 | _screencxx . . $ Konsole/Emulation#_screen.[0]->resetcxx . . $ Konsole/Screen#reset(b45ddcbc8423892c).(); |
| 92 | resetCharsetcxx . . $ Konsole/Vt102Emulation#resetCharset(d4f767463ce0a6b3).(1); |
| 93 | _screencxx . . $ Konsole/Emulation#_screen.[1]->resetcxx . . $ Konsole/Screen#reset(b45ddcbc8423892c).(); |
| 94 | setCodeccxx . . $ Konsole/Emulation#setCodec(4b213728ebae3f25).(LocaleCodeccxx . . $ Konsole/Emulation#LocaleCodec.); |
| 95 | |
| 96 | bufferedUpdatecxx . . $ Konsole/Emulation#bufferedUpdate(49f6e7a06ebc5aa8).(); |
| 97 | } |
| 98 | |
| 99 | /* ------------------------------------------------------------------------- */ |
| 100 | /* */ |
| 101 | /* Processing the incoming byte stream */ |
| 102 | /* */ |
| 103 | /* ------------------------------------------------------------------------- */ |
| 104 | |
| 105 | /* Incoming Bytes Event pipeline |
| 106 | |
| 107 | This section deals with decoding the incoming character stream. |
| 108 | Decoding means here, that the stream is first separated into `tokens' |
| 109 | which are then mapped to a `meaning' provided as operations by the |
| 110 | `Screen' class or by the emulation class itself. |
| 111 | |
| 112 | The pipeline proceeds as follows: |
| 113 | |
| 114 | - Tokenizing the ESC codes (onReceiveChar) |
| 115 | - VT100 code page translation of plain characters (applyCharset) |
| 116 | - Interpretation of ESC codes (processToken) |
| 117 | |
| 118 | The escape codes and their meaning are described in the |
| 119 | technical reference of this program. |
| 120 | */ |
| 121 | |
| 122 | // Tokens ------------------------------------------------------------------ -- |
| 123 | |
| 124 | /* |
| 125 | Since the tokens are the central notion if this section, we've put them |
| 126 | in front. They provide the syntactical elements used to represent the |
| 127 | terminals operations as byte sequences. |
| 128 | |
| 129 | They are encodes here into a single machine word, so that we can later |
| 130 | switch over them easily. Depending on the token itself, additional |
| 131 | argument variables are filled with parameter values. |
| 132 | |
| 133 | The tokens are defined below: |
| 134 | |
| 135 | - CHR - Printable characters (32..255 but DEL (=127)) |
| 136 | - CTL - Control characters (0..31 but ESC (= 27), DEL) |
| 137 | - ESC - Escape codes of the form <ESC><CHR but `[]()+*#'> |
| 138 | - ESC_DE - Escape codes of the form <ESC><any of `()+*#%'> C |
| 139 | - CSI_PN - Escape codes of the form <ESC>'[' {Pn} ';' {Pn} C |
| 140 | - CSI_PS - Escape codes of the form <ESC>'[' {Pn} ';' ... C |
| 141 | - CSI_PS_SP - Escape codes of the form <ESC>'[' {Pn} ';' ... {Space} C |
| 142 | - CSI_PR - Escape codes of the form <ESC>'[' '?' {Pn} ';' ... C |
| 143 | - CSI_PE - Escape codes of the form <ESC>'[' '!' {Pn} ';' ... C |
| 144 | - VT52 - VT52 escape codes |
| 145 | - <ESC><Chr> |
| 146 | - <ESC>'Y'{Pc}{Pc} |
| 147 | - XTE_HA - Xterm window/terminal attribute commands |
| 148 | of the form <ESC>`]' {Pn} `;' {Text} <BEL> |
| 149 | (Note that these are handled differently to the other formats) |
| 150 | |
| 151 | The last two forms allow list of arguments. Since the elements of |
| 152 | the lists are treated individually the same way, they are passed |
| 153 | as individual tokens to the interpretation. Further, because the |
| 154 | meaning of the parameters are names (althought represented as numbers), |
| 155 | they are includes within the token ('N'). |
| 156 | |
| 157 | */ |
| 158 | |
| 159 | #define TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(T,A,N) ( ((((int)N) & 0xffff) << 16) | ((((int)A) & 0xff) << 8) | (((int)T) & 0xff) ) |
| 160 | |
| 161 | #define TY_CHRcxx . . $ `lib/Vt102Emulation.cpp:161:9`!( ) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(0,0,0) |
| 162 | #define TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!(A ) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(1,A,0) |
| 163 | #define TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!(A ) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(2,A,0) |
| 164 | #define TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!(A,B) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(3,A,B) |
| 165 | #define TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!(A ) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(4,A,0) |
| 166 | #define TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!(A,N) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(5,A,N) |
| 167 | #define TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!(A ) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(6,A,0) |
| 168 | #define TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!(A,N) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(7,A,N) |
| 169 | #define TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!(A,N) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(11,A,N) |
| 170 | |
| 171 | #define TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!(A) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(8,A,0) |
| 172 | #define TY_CSI_PGcxx . . $ `lib/Vt102Emulation.cpp:172:9`!(A) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(9,A,0) |
| 173 | #define TY_CSI_PEcxx . . $ `lib/Vt102Emulation.cpp:173:9`!(A) TY_CONSTRUCTcxx . . $ `lib/Vt102Emulation.cpp:159:9`!(10,A,0) |
| 174 | |
| 175 | #define MAX_ARGUMENTcxx . . $ `lib/Vt102Emulation.cpp:175:9`! 4096 |
| 176 | |
| 177 | // Tokenizer --------------------------------------------------------------- -- |
| 178 | |
| 179 | /* The tokenizer's state |
| 180 | |
| 181 | The state is represented by the buffer (tokenBuffer, tokenBufferPos), |
| 182 | and accompanied by decoded arguments kept in (argv,argc). |
| 183 | Note that they are kept internal in the tokenizer. |
| 184 | */ |
| 185 | |
| 186 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).() |
| 187 | { |
| 188 | tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos. = 0; |
| 189 | argccxx . . $ Konsole/Vt102Emulation#argc. = 0; |
| 190 | argvcxx . . $ Konsole/Vt102Emulation#argv.[0] = 0; |
| 191 | argvcxx . . $ Konsole/Vt102Emulation#argv.[1] = 0; |
| 192 | prevCCcxx . . $ Konsole/Vt102Emulation#prevCC. = 0; |
| 193 | } |
| 194 | |
| 195 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::addDigitcxx . . $ Konsole/Vt102Emulation#addDigit(d4f767463ce0a6b3).(int digit) |
| 196 | { |
| 197 | if (argvcxx . . $ Konsole/Vt102Emulation#argv.[argccxx . . $ Konsole/Vt102Emulation#argc.] < MAX_ARGUMENTcxx . . $ `lib/Vt102Emulation.cpp:175:9`!) |
| 198 | argvcxx . . $ Konsole/Vt102Emulation#argv.[argccxx . . $ Konsole/Vt102Emulation#argc.] = 10*argvcxx . . $ Konsole/Vt102Emulation#argv.[argccxx . . $ Konsole/Vt102Emulation#argc.] + digit; |
| 199 | } |
| 200 | |
| 201 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::addArgumentcxx . . $ Konsole/Vt102Emulation#addArgument(49f6e7a06ebc5aa8).() |
| 202 | { |
| 203 | argccxx . . $ Konsole/Vt102Emulation#argc. = qMincxx . . $ qMin(2a338fce5842aa6a).(argccxx . . $ Konsole/Vt102Emulation#argc.+1,MAXARGScxx . . $ `lib/Vt102Emulation.h:142:9`!-1); |
| 204 | argvcxx . . $ Konsole/Vt102Emulation#argv.[argccxx . . $ Konsole/Vt102Emulation#argc.] = 0; |
| 205 | } |
| 206 | |
| 207 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::addToCurrentTokencxx . . $ Konsole/Vt102Emulation#addToCurrentToken(d461ae26ddb24b42).(wchar_t cc) |
| 208 | { |
| 209 | tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.[tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos.] = cc; |
| 210 | tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos. = qMincxx . . $ qMin(2a338fce5842aa6a).(tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos.+1,MAX_TOKEN_LENGTHcxx . . $ `lib/Vt102Emulation.h:138:11`!-1); |
| 211 | } |
| 212 | |
| 213 | // Character Class flags used while decoding |
| 214 | #define CTLcxx . . $ `lib/Vt102Emulation.cpp:214:9`! 1 // Control character |
| 215 | #define CHRcxx . . $ `lib/Vt102Emulation.cpp:215:9`! 2 // Printable character |
| 216 | #define CPNcxx . . $ `lib/Vt102Emulation.cpp:216:9`! 4 // TODO: Document me |
| 217 | #define DIGcxx . . $ `lib/Vt102Emulation.cpp:217:9`! 8 // Digit |
| 218 | #define SCScxx . . $ `lib/Vt102Emulation.cpp:218:9`! 16 // TODO: Document me |
| 219 | #define GRPcxx . . $ `lib/Vt102Emulation.cpp:219:9`! 32 // TODO: Document me |
| 220 | #define CPScxx . . $ `lib/Vt102Emulation.cpp:220:9`! 64 // Character which indicates end of window resize |
| 221 | // escape sequence '\e[8;<row>;<col>t' |
| 222 | |
| 223 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::initTokenizercxx . . $ Konsole/Vt102Emulation#initTokenizer(49f6e7a06ebc5aa8).() |
| 224 | { |
| 225 | int i; |
| 226 | quint8cxx . . $ quint8#* s; |
| 227 | for(i = 0;i < 256; ++i) |
| 228 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[i] = 0; |
| 229 | for(i = 0;i < 32; ++i) |
| 230 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[i] |= CTLcxx . . $ `lib/Vt102Emulation.cpp:214:9`!; |
| 231 | for(i = 32;i < 256; ++i) |
| 232 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[i] |= CHRcxx . . $ `lib/Vt102Emulation.cpp:215:9`!; |
| 233 | for(s = (quint8cxx . . $ quint8#*)"@ABCDGHILMPSTXZbcdfry"; *s; ++s) |
| 234 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[*s] |= CPNcxx . . $ `lib/Vt102Emulation.cpp:216:9`!; |
| 235 | // resize = \e[8;<row>;<col>t |
| 236 | for(s = (quint8cxx . . $ quint8#*)"t"; *s; ++s) |
| 237 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[*s] |= CPScxx . . $ `lib/Vt102Emulation.cpp:220:9`!; |
| 238 | for(s = (quint8cxx . . $ quint8#*)"0123456789"; *s; ++s) |
| 239 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[*s] |= DIGcxx . . $ `lib/Vt102Emulation.cpp:217:9`!; |
| 240 | for(s = (quint8cxx . . $ quint8#*)"()+*%"; *s; ++s) |
| 241 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[*s] |= SCScxx . . $ `lib/Vt102Emulation.cpp:218:9`!; |
| 242 | for(s = (quint8cxx . . $ quint8#*)"()+*#[]%"; *s; ++s) |
| 243 | charClasscxx . . $ Konsole/Vt102Emulation#charClass.[*s] |= GRPcxx . . $ `lib/Vt102Emulation.cpp:219:9`!; |
| 244 | |
| 245 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 246 | } |
| 247 | |
| 248 | /* Ok, here comes the nasty part of the decoder. |
| 249 | |
| 250 | Instead of keeping an explicit state, we deduce it from the |
| 251 | token scanned so far. It is then immediately combined with |
| 252 | the current character to form a scanning decision. |
| 253 | |
| 254 | This is done by the following defines. |
| 255 | |
| 256 | - P is the length of the token scanned so far. |
| 257 | - L (often P-1) is the position on which contents we base a decision. |
| 258 | - C is a character or a group of characters (taken from 'charClass'). |
| 259 | |
| 260 | - 'cc' is the current character |
| 261 | - 's' is a pointer to the start of the token buffer |
| 262 | - 'p' is the current position within the token buffer |
| 263 | |
| 264 | Note that they need to applied in proper order. |
| 265 | */ |
| 266 | |
| 267 | #define leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(P,L,C) (p == (P) && s[(L)] == (C)) |
| 268 | #define luncxx . . $ `lib/Vt102Emulation.cpp:268:9`!( ) (p == 1 && cc >= 32 ) |
| 269 | #define lescxx . . $ `lib/Vt102Emulation.cpp:269:9`!(P,L,C) (p == (P) && s[L] < 256 && (charClass[s[(L)]] & (C)) == (C)) |
| 270 | #define eeccxx . . $ `lib/Vt102Emulation.cpp:270:9`!(C) (p >= 3 && cc == (C)) |
| 271 | #define eescxx . . $ `lib/Vt102Emulation.cpp:271:9`!(C) (p >= 3 && cc < 256 && (charClass[cc] & (C)) == (C)) |
| 272 | #define epscxx . . $ `lib/Vt102Emulation.cpp:272:9`!(C) (p >= 3 && s[2] != '?' && s[2] != '!' && s[2] != '>' && cc < 256 && (charClass[cc] & (C)) == (C)) |
| 273 | #define eppcxx . . $ `lib/Vt102Emulation.cpp:273:9`!( ) (p >= 3 && s[2] == '?') |
| 274 | #define epecxx . . $ `lib/Vt102Emulation.cpp:274:9`!( ) (p >= 3 && s[2] == '!') |
| 275 | #define egtcxx . . $ `lib/Vt102Emulation.cpp:275:9`!( ) (p >= 3 && s[2] == '>') |
| 276 | #define espcxx . . $ `lib/Vt102Emulation.cpp:276:9`!( ) (p == 4 && s[3] == ' ') |
| 277 | #define Xpecxx . . $ `lib/Vt102Emulation.cpp:277:9`! (tokenBufferPos >= 2 && tokenBuffer[1] == ']') |
| 278 | #define Xtecxx . . $ `lib/Vt102Emulation.cpp:278:9`! (Xpecxx . . $ `lib/Vt102Emulation.cpp:277:9`! && (cc == 7 || (prevCC == 27 && cc == 92) )) // 27, 92 => "\e\\" (ST, String Terminator) |
| 279 | #define cescxx . . $ `lib/Vt102Emulation.cpp:279:9`!(C) (cc < 256 && (charClass[cc] & (C)) == (C) && !Xtecxx . . $ `lib/Vt102Emulation.cpp:278:9`!) |
| 280 | |
| 281 | #define CNTLcxx . . $ `lib/Vt102Emulation.cpp:281:9`!(c) ((c)-'@') |
| 282 | #define ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`! 27 |
| 283 | #define DELcxx . . $ `lib/Vt102Emulation.cpp:283:9`! 127 |
| 284 | |
| 285 | // process an incoming unicode character |
| 286 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::receiveCharcxx . . $ Konsole/Vt102Emulation#receiveChar(d461ae26ddb24b42).(wchar_t cc) |
| 287 | { |
| 288 | if (cc == DELcxx . . $ `lib/Vt102Emulation.cpp:283:9`!) |
| 289 | return; //VT100: ignore. |
| 290 | |
| 291 | if (cescxx . . $ `lib/Vt102Emulation.cpp:279:9`!(CTLcxx . . $ `lib/Vt102Emulation.cpp:214:9`!)) |
| 292 | { |
| 293 | // ignore control characters in the text part of Xpe (aka OSC) "ESC]" |
| 294 | // escape sequences; this matches what XTERM docs say |
| 295 | if (Xpecxx . . $ `lib/Vt102Emulation.cpp:277:9`!) { |
| 296 | prevCCcxx . . $ Konsole/Vt102Emulation#prevCC. = cc; |
| 297 | return; |
| 298 | } |
| 299 | |
| 300 | // DEC HACK ALERT! Control Characters are allowed *within* esc sequences in VT100 |
| 301 | // This means, they do neither a resetTokenizer() nor a pushToToken(). Some of them, do |
| 302 | // of course. Guess this originates from a weakly layered handling of the X-on |
| 303 | // X-off protocol, which comes really below this level. |
| 304 | if (cc == CNTLcxx . . $ `lib/Vt102Emulation.cpp:281:9`!('X') || cc == CNTLcxx . . $ `lib/Vt102Emulation.cpp:281:9`!('Z') || cc == ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!) |
| 305 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); //VT100: CAN or SUB |
| 306 | if (cc != ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!) |
| 307 | { |
| 308 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).(TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!(cc+'@' ),0,0); |
| 309 | return; |
| 310 | } |
| 311 | } |
| 312 | // advance the state |
| 313 | addToCurrentTokencxx . . $ Konsole/Vt102Emulation#addToCurrentToken(d461ae26ddb24b42).(cc); |
| 314 | |
| 315 | wchar_t* s = tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.; |
| 316 | int p = tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos.; |
| 317 | |
| 318 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`!)) |
| 319 | { |
| 320 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(1,0,ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!)) { return; } |
| 321 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(1,0,ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!+128)) { s[0] = ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!; receiveCharcxx . . $ Konsole/Vt102Emulation#receiveChar(d461ae26ddb24b42).('['); return; } |
| 322 | if (lescxx . . $ `lib/Vt102Emulation.cpp:269:9`!(2,1,GRPcxx . . $ `lib/Vt102Emulation.cpp:219:9`!)) { return; } |
| 323 | if (Xtecxx . . $ `lib/Vt102Emulation.cpp:278:9`! ) { processWindowAttributeChangecxx . . $ Konsole/Vt102Emulation#processWindowAttributeChange(49f6e7a06ebc5aa8).(); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 324 | if (Xpecxx . . $ `lib/Vt102Emulation.cpp:277:9`! ) { prevCCcxx . . $ Konsole/Vt102Emulation#prevCC. = cc; return; } |
| 325 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(3,2,'?')) { return; } |
| 326 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(3,2,'>')) { return; } |
| 327 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(3,2,'!')) { return; } |
| 328 | if (luncxx . . $ `lib/Vt102Emulation.cpp:268:9`!( )) { processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CHRcxx . . $ `lib/Vt102Emulation.cpp:161:9`!(), applyCharsetcxx . . $ Konsole/Vt102Emulation#applyCharset(81a7c28504ec2a5f).(cc), 0); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 329 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(2,0,ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!)) { processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!(s[1]), 0, 0); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 330 | if (lescxx . . $ `lib/Vt102Emulation.cpp:269:9`!(3,1,SCScxx . . $ `lib/Vt102Emulation.cpp:218:9`!)) { processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!(s[1],s[2]), 0, 0); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 331 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(3,1,'#')) { processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!(s[2]), 0, 0); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 332 | if (epscxx . . $ `lib/Vt102Emulation.cpp:272:9`!( CPNcxx . . $ `lib/Vt102Emulation.cpp:216:9`!)) { processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!(cc), argvcxx . . $ Konsole/Vt102Emulation#argv.[0],argvcxx . . $ Konsole/Vt102Emulation#argv.[1]); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 333 | if (espcxx . . $ `lib/Vt102Emulation.cpp:276:9`!( )) { return; } |
| 334 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(5, 4, 'q') && s[3] == ' ') { |
| 335 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!(cc, argv[0]), argvcxx . . $ Konsole/Vt102Emulation#argv.[0], 0); |
| 336 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 337 | return; |
| 338 | } |
| 339 | |
| 340 | // resize = \e[8;<row>;<col>t |
| 341 | if (epscxx . . $ `lib/Vt102Emulation.cpp:272:9`!(CPScxx . . $ `lib/Vt102Emulation.cpp:220:9`!)) |
| 342 | { |
| 343 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!(cc, argv[0]), argvcxx . . $ Konsole/Vt102Emulation#argv.[1], argvcxx . . $ Konsole/Vt102Emulation#argv.[2]); |
| 344 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 345 | return; |
| 346 | } |
| 347 | |
| 348 | if (epecxx . . $ `lib/Vt102Emulation.cpp:274:9`!( )) { processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PEcxx . . $ `lib/Vt102Emulation.cpp:173:9`!(cc), 0, 0); resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); return; } |
| 349 | if (eescxx . . $ `lib/Vt102Emulation.cpp:271:9`!(DIGcxx . . $ `lib/Vt102Emulation.cpp:217:9`!)) { addDigitcxx . . $ Konsole/Vt102Emulation#addDigit(d4f767463ce0a6b3).(cc-'0'); return; } |
| 350 | if (eeccxx . . $ `lib/Vt102Emulation.cpp:270:9`!(';') || eeccxx . . $ `lib/Vt102Emulation.cpp:270:9`!(':')) { addArgumentcxx . . $ Konsole/Vt102Emulation#addArgument(49f6e7a06ebc5aa8).(); return; } |
| 351 | for (int i=0;i<=argccxx . . $ Konsole/Vt102Emulation#argc.;i++) |
| 352 | { |
| 353 | if (eppcxx . . $ `lib/Vt102Emulation.cpp:273:9`!()) |
| 354 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!(cc,argv[i]), 0, 0); |
| 355 | else if (egtcxx . . $ `lib/Vt102Emulation.cpp:275:9`!()) |
| 356 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PGcxx . . $ `lib/Vt102Emulation.cpp:172:9`!(cc), 0, 0); // spec. case for ESC]>0c or ESC]>c |
| 357 | else if (cc == 'm' && argccxx . . $ Konsole/Vt102Emulation#argc. - i >= 4 && (argvcxx . . $ Konsole/Vt102Emulation#argv.[i] == 38 || argvcxx . . $ Konsole/Vt102Emulation#argv.[i] == 48) && argvcxx . . $ Konsole/Vt102Emulation#argv.[i+1] == 2) |
| 358 | { |
| 359 | // ESC[ ... 48;2;<red>;<green>;<blue> ... m -or- ESC[ ... 38;2;<red>;<green>;<blue> ... m |
| 360 | i += 2; |
| 361 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!(cc, argv[i-2]), COLOR_SPACE_RGBcxx . . $ `lib/CharacterColor.h:133:9`!, (argvcxx . . $ Konsole/Vt102Emulation#argv.[i] << 16) | (argvcxx . . $ Konsole/Vt102Emulation#argv.[i+1] << 8) | argvcxx . . $ Konsole/Vt102Emulation#argv.[i+2]); |
| 362 | i += 2; |
| 363 | } |
| 364 | else if (cc == 'm' && argccxx . . $ Konsole/Vt102Emulation#argc. - i >= 2 && (argvcxx . . $ Konsole/Vt102Emulation#argv.[i] == 38 || argvcxx . . $ Konsole/Vt102Emulation#argv.[i] == 48) && argvcxx . . $ Konsole/Vt102Emulation#argv.[i+1] == 5) |
| 365 | { |
| 366 | // ESC[ ... 48;5;<index> ... m -or- ESC[ ... 38;5;<index> ... m |
| 367 | i += 2; |
| 368 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!(cc, argv[i-2]), COLOR_SPACE_256cxx . . $ `lib/CharacterColor.h:132:9`!, argvcxx . . $ Konsole/Vt102Emulation#argv.[i]); |
| 369 | } |
| 370 | else |
| 371 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!(cc,argv[i]), 0, 0); |
| 372 | } |
| 373 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 374 | } |
| 375 | else |
| 376 | { |
| 377 | // VT52 Mode |
| 378 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(1,0,ESCcxx . . $ `lib/Vt102Emulation.cpp:282:9`!)) |
| 379 | return; |
| 380 | if (lescxx . . $ `lib/Vt102Emulation.cpp:269:9`!(1,0,CHRcxx . . $ `lib/Vt102Emulation.cpp:215:9`!)) |
| 381 | { |
| 382 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_CHRcxx . . $ `lib/Vt102Emulation.cpp:161:9`!(), s[0], 0); |
| 383 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 384 | return; |
| 385 | } |
| 386 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(2,1,'Y')) |
| 387 | return; |
| 388 | |
| 389 | if (leccxx . . $ `lib/Vt102Emulation.cpp:267:9`!(3,1,'Y')) |
| 390 | return; |
| 391 | |
| 392 | if (p < 4) |
| 393 | { |
| 394 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!(s[1] ), 0, 0); |
| 395 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 396 | return; |
| 397 | } |
| 398 | processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).( TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!(s[1]), s[2], s[3]); |
| 399 | resetTokenizercxx . . $ Konsole/Vt102Emulation#resetTokenizer(49f6e7a06ebc5aa8).(); |
| 400 | return; |
| 401 | } |
| 402 | } |
| 403 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::processWindowAttributeChangecxx . . $ Konsole/Vt102Emulation#processWindowAttributeChange(49f6e7a06ebc5aa8).() |
| 404 | { |
| 405 | // Describes the window or terminal session attribute to change |
| 406 | // See Session::UserTitleChange for possible values |
| 407 | int attributeToChange = 0; |
| 408 | int i; |
| 409 | for (i = 2; i < tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos. && |
| 410 | tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.[i] >= '0' && |
| 411 | tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.[i] <= '9'; i++) |
| 412 | { |
| 413 | attributeToChange = 10 * attributeToChange + (tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.[i]-'0'); |
| 414 | } |
| 415 | |
| 416 | if (tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.[i] != ';') |
| 417 | { |
| 418 | reportDecodingErrorcxx . . $ Konsole/Vt102Emulation#reportDecodingError(49f6e7a06ebc5aa8).(); |
| 419 | return; |
| 420 | } |
| 421 | |
| 422 | // copy from the first char after ';', and skipping the ending delimiter |
| 423 | // 0x07 or 0x92. Note that as control characters in OSC text parts are |
| 424 | // ignored, only the second char in ST ("\e\\") is appended to tokenBuffer. |
| 425 | QStringcxx . . $ QString# newValue = QStringcxx . . $ QString#::fromWCharArraycxx . . $ QString#fromWCharArray(294ea227275ebe78).(tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer. + i + 1, tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos.-i-2); |
| 426 | |
| 427 | _pendingTitleUpdatescxx . . $ Konsole/Vt102Emulation#_pendingTitleUpdates.[cxx . . $ QHash#`operator[]`(bbd415b616967878).attributeToChange] =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). newValue; |
| 428 | _titleUpdateTimercxx . . $ Konsole/Vt102Emulation#_titleUpdateTimer.->startcxx . . $ QTimer#start(d4f767463ce0a6b3).(20); |
| 429 | } |
| 430 | |
| 431 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::updateTitlecxx . . $ Konsole/Vt102Emulation#updateTitle(49f6e7a06ebc5aa8).() |
| 432 | { |
| 433 | QListIteratorcxx . . $ QListIterator#<int> itercxx . . $ QListIterator#QListIterator(742a15f66a895bc5).( _pendingTitleUpdatescxx . . $ Konsole/Vt102Emulation#_pendingTitleUpdates..keyscxx . . $ QHash#keys(bf6c511543d55010).() ); |
| 434 | while (iter.hasNextcxx . . $ QListIterator#hasNext(50ce9a9e25b4a850).()) { |
| 435 | int arg = iter.nextcxx . . $ QListIterator#next(1306adbac230aeaa).(); |
| 436 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! titleChangedcxx . . $ Konsole/Emulation#titleChanged(4b11a7293b4ed91c).( arg , _pendingTitleUpdatescxx . . $ Konsole/Vt102Emulation#_pendingTitleUpdates.[cxx . . $ QHash#`operator[]`(bbd415b616967878).arg] ); |
| 437 | } |
| 438 | _pendingTitleUpdatescxx . . $ Konsole/Vt102Emulation#_pendingTitleUpdates..clearcxx . . $ QHash#clear(49f6e7a06ebc5aa8).(); |
| 439 | } |
| 440 | |
| 441 | // Interpreting Codes --------------------------------------------------------- |
| 442 | |
| 443 | /* |
| 444 | Now that the incoming character stream is properly tokenized, |
| 445 | meaning is assigned to them. These are either operations of |
| 446 | the current _screen, or of the emulation class itself. |
| 447 | |
| 448 | The token to be interpreteted comes in as a machine word |
| 449 | possibly accompanied by two parameters. |
| 450 | |
| 451 | Likewise, the operations assigned to, come with up to two |
| 452 | arguments. One could consider to make up a proper table |
| 453 | from the function below. |
| 454 | |
| 455 | The technical reference manual provides more information |
| 456 | about this mapping. |
| 457 | */ |
| 458 | |
| 459 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::processTokencxx . . $ Konsole/Vt102Emulation#processToken(7a2677df7d908e0d).(int token, wchar_t p, int q) |
| 460 | { |
| 461 | switch (token) |
| 462 | { |
| 463 | |
| 464 | case TY_CHRcxx . . $ `lib/Vt102Emulation.cpp:161:9`!( ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->displayCharactercxx . . $ Konsole/Screen#displayCharacter(d461ae26ddb24b42). (p ); break; //UTF16 |
| 465 | |
| 466 | // 127 DEL : ignored on input |
| 467 | |
| 468 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('@' ) : /* NUL: ignored */ break; |
| 469 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('A' ) : /* SOH: ignored */ break; |
| 470 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('B' ) : /* STX: ignored */ break; |
| 471 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('C' ) : /* ETX: ignored */ break; |
| 472 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('D' ) : /* EOT: ignored */ break; |
| 473 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('E' ) : reportAnswerBackcxx . . $ Konsole/Vt102Emulation#reportAnswerBack(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 474 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('F' ) : /* ACK: ignored */ break; |
| 475 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('G' ) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! stateSetcxx . . $ Konsole/Emulation#stateSet(d4f767463ce0a6b3).(NOTIFYBELLcxx . . $ Konsole/NOTIFYBELL.); |
| 476 | break; //VT100 |
| 477 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('H' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->backspacecxx . . $ Konsole/Screen#backspace(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 478 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('I' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->tabcxx . . $ Konsole/Screen#tab(d4f767463ce0a6b3). ( ); break; //VT100 |
| 479 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('J' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->newLinecxx . . $ Konsole/Screen#newLine(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 480 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('K' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->newLinecxx . . $ Konsole/Screen#newLine(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 481 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('L' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->newLinecxx . . $ Konsole/Screen#newLine(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 482 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('M' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->toStartOfLinecxx . . $ Konsole/Screen#toStartOfLine(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 483 | |
| 484 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('N' ) : useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3). ( 1); break; //VT100 |
| 485 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('O' ) : useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3). ( 0); break; //VT100 |
| 486 | |
| 487 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('P' ) : /* DLE: ignored */ break; |
| 488 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('Q' ) : /* DC1: XON continue */ break; //VT100 |
| 489 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('R' ) : /* DC2: ignored */ break; |
| 490 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('S' ) : /* DC3: XOFF halt */ break; //VT100 |
| 491 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('T' ) : /* DC4: ignored */ break; |
| 492 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('U' ) : /* NAK: ignored */ break; |
| 493 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('V' ) : /* SYN: ignored */ break; |
| 494 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('W' ) : /* ETB: ignored */ break; |
| 495 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('X' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->displayCharactercxx . . $ Konsole/Screen#displayCharacter(d461ae26ddb24b42). ( 0x2592); break; //VT100 |
| 496 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('Y' ) : /* EM : ignored */ break; |
| 497 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('Z' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->displayCharactercxx . . $ Konsole/Screen#displayCharacter(d461ae26ddb24b42). ( 0x2592); break; //VT100 |
| 498 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('[' ) : /* ESC: cannot be seen here. */ break; |
| 499 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('\\' ) : /* FS : ignored */ break; |
| 500 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!(']' ) : /* GS : ignored */ break; |
| 501 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('^' ) : /* RS : ignored */ break; |
| 502 | case TY_CTLcxx . . $ `lib/Vt102Emulation.cpp:162:9`!('_' ) : /* US : ignored */ break; |
| 503 | |
| 504 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('D' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->indexcxx . . $ Konsole/Screen#index(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 505 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('E' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->nextLinecxx . . $ Konsole/Screen#nextLine(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 506 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('H' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->changeTabStopcxx . . $ Konsole/Screen#changeTabStop(b45ddcbc8423892c). (true ); break; //VT100 |
| 507 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('M' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->reverseIndexcxx . . $ Konsole/Screen#reverseIndex(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 508 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('Z' ) : reportTerminalTypecxx . . $ Konsole/Vt102Emulation#reportTerminalType(49f6e7a06ebc5aa8). ( ); break; |
| 509 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('c' ) : resetcxx . . $ Konsole/Vt102Emulation#reset(49f6e7a06ebc5aa8). ( ); break; |
| 510 | |
| 511 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('n' ) : useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3). ( 2); break; |
| 512 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('o' ) : useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3). ( 3); break; |
| 513 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('7' ) : saveCursorcxx . . $ Konsole/Vt102Emulation#saveCursor(49f6e7a06ebc5aa8). ( ); break; |
| 514 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('8' ) : restoreCursorcxx . . $ Konsole/Vt102Emulation#restoreCursor(49f6e7a06ebc5aa8). ( ); break; |
| 515 | |
| 516 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('=' ) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!); break; |
| 517 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('>' ) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!); break; |
| 518 | case TY_ESCcxx . . $ `lib/Vt102Emulation.cpp:163:9`!('<' ) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`! ); break; //VT100 |
| 519 | |
| 520 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('(', '0') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (0, '0'); break; //VT100 |
| 521 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('(', 'A') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (0, 'A'); break; //VT100 |
| 522 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('(', 'B') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (0, 'B'); break; //VT100 |
| 523 | |
| 524 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!(')', '0') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (1, '0'); break; //VT100 |
| 525 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!(')', 'A') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (1, 'A'); break; //VT100 |
| 526 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!(')', 'B') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (1, 'B'); break; //VT100 |
| 527 | |
| 528 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('*', '0') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (2, '0'); break; //VT100 |
| 529 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('*', 'A') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (2, 'A'); break; //VT100 |
| 530 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('*', 'B') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (2, 'B'); break; //VT100 |
| 531 | |
| 532 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('+', '0') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (3, '0'); break; //VT100 |
| 533 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('+', 'A') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (3, 'A'); break; //VT100 |
| 534 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('+', 'B') : setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868). (3, 'B'); break; //VT100 |
| 535 | |
| 536 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('%', 'G') : setCodeccxx . . $ Konsole/Emulation#setCodec(4b213728ebae3f25). (Utf8Codeccxx . . $ Konsole/Emulation#Utf8Codec. ); break; //LINUX |
| 537 | case TY_ESC_CScxx . . $ `lib/Vt102Emulation.cpp:164:9`!('%', '@') : setCodeccxx . . $ Konsole/Emulation#setCodec(4b213728ebae3f25). (LocaleCodeccxx . . $ Konsole/Emulation#LocaleCodec. ); break; //LINUX |
| 538 | |
| 539 | case TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!('3' ) : /* Double height line, top half */ |
| 540 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEWIDTHcxx . . $ Konsole/LINE_DOUBLEWIDTH. , true ); |
| 541 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEHEIGHTcxx . . $ Konsole/LINE_DOUBLEHEIGHT. , true ); |
| 542 | break; |
| 543 | case TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!('4' ) : /* Double height line, bottom half */ |
| 544 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEWIDTHcxx . . $ Konsole/LINE_DOUBLEWIDTH. , true ); |
| 545 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEHEIGHTcxx . . $ Konsole/LINE_DOUBLEHEIGHT. , true ); |
| 546 | break; |
| 547 | case TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!('5' ) : /* Single width, single height line*/ |
| 548 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEWIDTHcxx . . $ Konsole/LINE_DOUBLEWIDTH. , false); |
| 549 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEHEIGHTcxx . . $ Konsole/LINE_DOUBLEHEIGHT. , false); |
| 550 | break; |
| 551 | case TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!('6' ) : /* Double width, single height line*/ |
| 552 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEWIDTHcxx . . $ Konsole/LINE_DOUBLEWIDTH. , true); |
| 553 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setLinePropertycxx . . $ Konsole/Screen#setLineProperty(f2ac3508b56cd10).( LINE_DOUBLEHEIGHTcxx . . $ Konsole/LINE_DOUBLEHEIGHT. , false); |
| 554 | break; |
| 555 | case TY_ESC_DEcxx . . $ `lib/Vt102Emulation.cpp:165:9`!('8' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->helpAligncxx . . $ Konsole/Screen#helpAlign(49f6e7a06ebc5aa8). ( ); break; |
| 556 | |
| 557 | // resize = \e[8;<row>;<col>t |
| 558 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('t', 8) : setImageSizecxx . . $ Konsole/Emulation#setImageSize(3e454b8ccf442868).( p /*lines */, q /* columns */ ); |
| 559 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! imageResizeRequestcxx . . $ Konsole/Emulation#imageResizeRequest(1c5f201b4c2f0aba).(QSizecxx . . $ QSize#QSize(c0d38f4800714fae).(q, p)); |
| 560 | break; |
| 561 | |
| 562 | // change tab text color : \e[28;<color>t color: 0-16,777,215 |
| 563 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('t', 28) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! changeTabTextColorRequestcxx . . $ Konsole/Emulation#changeTabTextColorRequest(d4f767463ce0a6b3). ( p ); break; |
| 564 | |
| 565 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('K', 0) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearToEndOfLinecxx . . $ Konsole/Screen#clearToEndOfLine(49f6e7a06ebc5aa8). ( ); break; |
| 566 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('K', 1) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearToBeginOfLinecxx . . $ Konsole/Screen#clearToBeginOfLine(49f6e7a06ebc5aa8). ( ); break; |
| 567 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('K', 2) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearEntireLinecxx . . $ Konsole/Screen#clearEntireLine(49f6e7a06ebc5aa8). ( ); break; |
| 568 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('J', 0) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearToEndOfScreencxx . . $ Konsole/Screen#clearToEndOfScreen(49f6e7a06ebc5aa8). ( ); break; |
| 569 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('J', 1) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearToBeginOfScreencxx . . $ Konsole/Screen#clearToBeginOfScreen(49f6e7a06ebc5aa8). ( ); break; |
| 570 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('J', 2) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearEntireScreencxx . . $ Konsole/Screen#clearEntireScreen(49f6e7a06ebc5aa8). ( ); break; |
| 571 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('J', 3) : clearHistorycxx . . $ Konsole/Emulation#clearHistory(49f6e7a06ebc5aa8).(); break; |
| 572 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('g', 0) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->changeTabStopcxx . . $ Konsole/Screen#changeTabStop(b45ddcbc8423892c). (false ); break; //VT100 |
| 573 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('g', 3) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearTabStopscxx . . $ Konsole/Screen#clearTabStops(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 574 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('h', 4) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setModecxx . . $ Konsole/Screen#setMode(d4f767463ce0a6b3). (MODE_Insertcxx . . $ `lib/Screen.h:37:9`! ); break; |
| 575 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('h', 20) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_NewLinecxx . . $ `lib/Screen.h:40:9`! ); break; |
| 576 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('i', 0) : /* IGNORE: attached printer */ break; //VT100 |
| 577 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('l', 4) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> resetModecxx . . $ Konsole/Screen#resetMode(d4f767463ce0a6b3). (MODE_Insertcxx . . $ `lib/Screen.h:37:9`! ); break; |
| 578 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('l', 20) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_NewLinecxx . . $ `lib/Screen.h:40:9`! ); break; |
| 579 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('s', 0) : saveCursorcxx . . $ Konsole/Vt102Emulation#saveCursor(49f6e7a06ebc5aa8). ( ); break; |
| 580 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('u', 0) : restoreCursorcxx . . $ Konsole/Vt102Emulation#restoreCursor(49f6e7a06ebc5aa8). ( ); break; |
| 581 | |
| 582 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 0) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setDefaultRenditioncxx . . $ Konsole/Screen#setDefaultRendition(49f6e7a06ebc5aa8). ( ); break; |
| 583 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 1) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_BOLDcxx . . $ `lib/Character.h:43:9`! ); break; //VT100 |
| 584 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 2) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_FAINTcxx . . $ `lib/Character.h:51:9`! ); break; |
| 585 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 3) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_ITALICcxx . . $ `lib/Character.h:48:9`! ); break; //VT100 |
| 586 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 4) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_UNDERLINEcxx . . $ `lib/Character.h:45:9`!); break; //VT100 |
| 587 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 5) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_BLINKcxx . . $ `lib/Character.h:44:9`! ); break; //VT100 |
| 588 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 7) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_REVERSEcxx . . $ `lib/Character.h:46:9`! ); break; |
| 589 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 8) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_CONCEALcxx . . $ `lib/Character.h:53:9`! ); break; |
| 590 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 9) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_STRIKEOUTcxx . . $ `lib/Character.h:52:9`!); break; |
| 591 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 53) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setRenditioncxx . . $ Konsole/Screen#setRendition(d4f767463ce0a6b3). (RE_OVERLINEcxx . . $ `lib/Character.h:54:9`! ); break; |
| 592 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 10) : /* IGNORED: mapping related */ break; //LINUX |
| 593 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 11) : /* IGNORED: mapping related */ break; //LINUX |
| 594 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 12) : /* IGNORED: mapping related */ break; //LINUX |
| 595 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 21) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_BOLDcxx . . $ `lib/Character.h:43:9`! ); break; |
| 596 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 22) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_BOLDcxx . . $ `lib/Character.h:43:9`! ); |
| 597 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_FAINTcxx . . $ `lib/Character.h:51:9`! ); break; |
| 598 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 23) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_ITALICcxx . . $ `lib/Character.h:48:9`! ); break; //VT100 |
| 599 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 24) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_UNDERLINEcxx . . $ `lib/Character.h:45:9`!); break; |
| 600 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 25) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_BLINKcxx . . $ `lib/Character.h:44:9`! ); break; |
| 601 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 27) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_REVERSEcxx . . $ `lib/Character.h:46:9`! ); break; |
| 602 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 28) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_CONCEALcxx . . $ `lib/Character.h:53:9`! ); break; |
| 603 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 29) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_STRIKEOUTcxx . . $ `lib/Character.h:52:9`!); break; |
| 604 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 55) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->resetRenditioncxx . . $ Konsole/Screen#resetRendition(d4f767463ce0a6b3). (RE_OVERLINEcxx . . $ `lib/Character.h:54:9`! ); break; |
| 605 | |
| 606 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 30) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 0); break; |
| 607 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 31) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 1); break; |
| 608 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 32) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 2); break; |
| 609 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 33) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 3); break; |
| 610 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 34) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 4); break; |
| 611 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 35) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 5); break; |
| 612 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 36) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 6); break; |
| 613 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 37) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 7); break; |
| 614 | |
| 615 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 38) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (p, q); break; |
| 616 | |
| 617 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 39) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_DEFAULTcxx . . $ `lib/CharacterColor.h:130:9`!, 0); break; |
| 618 | |
| 619 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 40) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 0); break; |
| 620 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 41) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 1); break; |
| 621 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 42) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 2); break; |
| 622 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 43) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 3); break; |
| 623 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 44) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 4); break; |
| 624 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 45) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 5); break; |
| 625 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 46) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 6); break; |
| 626 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 47) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 7); break; |
| 627 | |
| 628 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 48) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (p, q); break; |
| 629 | |
| 630 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 49) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_DEFAULTcxx . . $ `lib/CharacterColor.h:130:9`!, 1); break; |
| 631 | |
| 632 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 90) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 8); break; |
| 633 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 91) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 9); break; |
| 634 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 92) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 10); break; |
| 635 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 93) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 11); break; |
| 636 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 94) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 12); break; |
| 637 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 95) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 13); break; |
| 638 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 96) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 14); break; |
| 639 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 97) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setForeColorcxx . . $ Konsole/Screen#setForeColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 15); break; |
| 640 | |
| 641 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 100) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 8); break; |
| 642 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 101) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 9); break; |
| 643 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 102) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 10); break; |
| 644 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 103) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 11); break; |
| 645 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 104) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 12); break; |
| 646 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 105) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 13); break; |
| 647 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 106) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 14); break; |
| 648 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('m', 107) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setBackColorcxx . . $ Konsole/Screen#setBackColor(3e454b8ccf442868). (COLOR_SPACE_SYSTEMcxx . . $ `lib/CharacterColor.h:131:9`!, 15); break; |
| 649 | |
| 650 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('n', 5) : reportStatuscxx . . $ Konsole/Vt102Emulation#reportStatus(49f6e7a06ebc5aa8). ( ); break; |
| 651 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('n', 6) : reportCursorPositioncxx . . $ Konsole/Vt102Emulation#reportCursorPosition(49f6e7a06ebc5aa8). ( ); break; |
| 652 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('q', 0) : /* IGNORED: LEDs off */ break; //VT100 |
| 653 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('q', 1) : /* IGNORED: LED1 on */ break; //VT100 |
| 654 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('q', 2) : /* IGNORED: LED2 on */ break; //VT100 |
| 655 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('q', 3) : /* IGNORED: LED3 on */ break; //VT100 |
| 656 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('q', 4) : /* IGNORED: LED4 on */ break; //VT100 |
| 657 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('x', 0) : reportTerminalParmscxx . . $ Konsole/Vt102Emulation#reportTerminalParms(d4f767463ce0a6b3). ( 2); break; //VT100 |
| 658 | case TY_CSI_PScxx . . $ `lib/Vt102Emulation.cpp:166:9`!('x', 1) : reportTerminalParmscxx . . $ Konsole/Vt102Emulation#reportTerminalParms(d4f767463ce0a6b3). ( 3); break; //VT100 |
| 659 | |
| 660 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 0) : /* fall through */ |
| 661 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 1) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! cursorChangedcxx . . $ Konsole/Emulation#cursorChanged(e433759c0c286c4c).(KeyboardCursorShapecxx . . $ Konsole/Emulation#KeyboardCursorShape#::BlockCursorcxx . . $ Konsole/Emulation#KeyboardCursorShape#BlockCursor., true ); break; |
| 662 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 2) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! cursorChangedcxx . . $ Konsole/Emulation#cursorChanged(e433759c0c286c4c).(KeyboardCursorShapecxx . . $ Konsole/Emulation#KeyboardCursorShape#::BlockCursorcxx . . $ Konsole/Emulation#KeyboardCursorShape#BlockCursor., false); break; |
| 663 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 3) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! cursorChangedcxx . . $ Konsole/Emulation#cursorChanged(e433759c0c286c4c).(KeyboardCursorShapecxx . . $ Konsole/Emulation#KeyboardCursorShape#::UnderlineCursorcxx . . $ Konsole/Emulation#KeyboardCursorShape#UnderlineCursor., true ); break; |
| 664 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 4) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! cursorChangedcxx . . $ Konsole/Emulation#cursorChanged(e433759c0c286c4c).(KeyboardCursorShapecxx . . $ Konsole/Emulation#KeyboardCursorShape#::UnderlineCursorcxx . . $ Konsole/Emulation#KeyboardCursorShape#UnderlineCursor., false); break; |
| 665 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 5) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! cursorChangedcxx . . $ Konsole/Emulation#cursorChanged(e433759c0c286c4c).(KeyboardCursorShapecxx . . $ Konsole/Emulation#KeyboardCursorShape#::IBeamCursorcxx . . $ Konsole/Emulation#KeyboardCursorShape#IBeamCursor., true ); break; |
| 666 | case TY_CSI_PS_SPcxx . . $ `lib/Vt102Emulation.cpp:169:9`!('q', 6) : emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! cursorChangedcxx . . $ Konsole/Emulation#cursorChanged(e433759c0c286c4c).(KeyboardCursorShapecxx . . $ Konsole/Emulation#KeyboardCursorShape#::IBeamCursorcxx . . $ Konsole/Emulation#KeyboardCursorShape#IBeamCursor., false); break; |
| 667 | |
| 668 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('@' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->insertCharscxx . . $ Konsole/Screen#insertChars(d4f767463ce0a6b3). (p ); break; |
| 669 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('A' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorUpcxx . . $ Konsole/Screen#cursorUp(d4f767463ce0a6b3). (p ); break; //VT100 |
| 670 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('B' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorDowncxx . . $ Konsole/Screen#cursorDown(d4f767463ce0a6b3). (p ); break; //VT100 |
| 671 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('C' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorRightcxx . . $ Konsole/Screen#cursorRight(d4f767463ce0a6b3). (p ); break; //VT100 |
| 672 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('D' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorLeftcxx . . $ Konsole/Screen#cursorLeft(d4f767463ce0a6b3). (p ); break; //VT100 |
| 673 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('E' ) : /* Not implemented: cursor next p lines */ break; //VT100 |
| 674 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('F' ) : /* Not implemented: cursor preceding p lines */ break; //VT100 |
| 675 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('G' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorXcxx . . $ Konsole/Screen#setCursorX(d4f767463ce0a6b3). (p ); break; //LINUX |
| 676 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('H' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorYXcxx . . $ Konsole/Screen#setCursorYX(3e454b8ccf442868). (p, q); break; //VT100 |
| 677 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('I' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->tabcxx . . $ Konsole/Screen#tab(d4f767463ce0a6b3). (p ); break; |
| 678 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('L' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->insertLinescxx . . $ Konsole/Screen#insertLines(d4f767463ce0a6b3). (p ); break; |
| 679 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('M' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->deleteLinescxx . . $ Konsole/Screen#deleteLines(d4f767463ce0a6b3). (p ); break; |
| 680 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('P' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->deleteCharscxx . . $ Konsole/Screen#deleteChars(d4f767463ce0a6b3). (p ); break; |
| 681 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('S' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->scrollUpcxx . . $ Konsole/Screen#scrollUp(d4f767463ce0a6b3). (p ); break; |
| 682 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('T' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->scrollDowncxx . . $ Konsole/Screen#scrollDown(d4f767463ce0a6b3). (p ); break; |
| 683 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('X' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->eraseCharscxx . . $ Konsole/Screen#eraseChars(d4f767463ce0a6b3). (p ); break; |
| 684 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('Z' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->backtabcxx . . $ Konsole/Screen#backtab(d4f767463ce0a6b3). (p ); break; |
| 685 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('b' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->repeatCharscxx . . $ Konsole/Screen#repeatChars(d4f767463ce0a6b3). (p ); break; |
| 686 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('c' ) : reportTerminalTypecxx . . $ Konsole/Vt102Emulation#reportTerminalType(49f6e7a06ebc5aa8). ( ); break; //VT100 |
| 687 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('d' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorYcxx . . $ Konsole/Screen#setCursorY(d4f767463ce0a6b3). (p ); break; //LINUX |
| 688 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('f' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorYXcxx . . $ Konsole/Screen#setCursorYX(3e454b8ccf442868). (p, q); break; //VT100 |
| 689 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('r' ) : setMarginscxx . . $ Konsole/Vt102Emulation#setMargins(3e454b8ccf442868). (p, q); break; //VT100 |
| 690 | case TY_CSI_PNcxx . . $ `lib/Vt102Emulation.cpp:167:9`!('y' ) : /* IGNORED: Confidence test */ break; //VT100 |
| 691 | |
| 692 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!); break; //VT100 |
| 693 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!); break; //VT100 |
| 694 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!); break; //FIXME |
| 695 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!); break; //FIXME |
| 696 | |
| 697 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 2) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`! ); break; //VT100 |
| 698 | |
| 699 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 3) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_132Columnscxx . . $ `lib/Vt102Emulation.h:49:9`!);break; //VT100 |
| 700 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 3) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_132Columnscxx . . $ `lib/Vt102Emulation.h:49:9`!);break; //VT100 |
| 701 | |
| 702 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 4) : /* IGNORED: soft scrolling */ break; //VT100 |
| 703 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 4) : /* IGNORED: soft scrolling */ break; //VT100 |
| 704 | |
| 705 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 5) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setModecxx . . $ Konsole/Screen#setMode(d4f767463ce0a6b3). (MODE_Screencxx . . $ `lib/Screen.h:38:9`! ); break; //VT100 |
| 706 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 5) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> resetModecxx . . $ Konsole/Screen#resetMode(d4f767463ce0a6b3). (MODE_Screencxx . . $ `lib/Screen.h:38:9`! ); break; //VT100 |
| 707 | |
| 708 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 6) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setModecxx . . $ Konsole/Screen#setMode(d4f767463ce0a6b3). (MODE_Origincxx . . $ `lib/Screen.h:35:9`! ); break; //VT100 |
| 709 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 6) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> resetModecxx . . $ Konsole/Screen#resetMode(d4f767463ce0a6b3). (MODE_Origincxx . . $ `lib/Screen.h:35:9`! ); break; //VT100 |
| 710 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 6) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> saveModecxx . . $ Konsole/Screen#saveMode(d4f767463ce0a6b3). (MODE_Origincxx . . $ `lib/Screen.h:35:9`! ); break; //FIXME |
| 711 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 6) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->restoreModecxx . . $ Konsole/Screen#restoreMode(d4f767463ce0a6b3). (MODE_Origincxx . . $ `lib/Screen.h:35:9`! ); break; //FIXME |
| 712 | |
| 713 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 7) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> setModecxx . . $ Konsole/Screen#setMode(d4f767463ce0a6b3). (MODE_Wrapcxx . . $ `lib/Screen.h:36:9`! ); break; //VT100 |
| 714 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 7) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> resetModecxx . . $ Konsole/Screen#resetMode(d4f767463ce0a6b3). (MODE_Wrapcxx . . $ `lib/Screen.h:36:9`! ); break; //VT100 |
| 715 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 7) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.-> saveModecxx . . $ Konsole/Screen#saveMode(d4f767463ce0a6b3). (MODE_Wrapcxx . . $ `lib/Screen.h:36:9`! ); break; //FIXME |
| 716 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 7) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->restoreModecxx . . $ Konsole/Screen#restoreMode(d4f767463ce0a6b3). (MODE_Wrapcxx . . $ `lib/Screen.h:36:9`! ); break; //FIXME |
| 717 | |
| 718 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 8) : /* IGNORED: autorepeat on */ break; //VT100 |
| 719 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 8) : /* IGNORED: autorepeat off */ break; //VT100 |
| 720 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 8) : /* IGNORED: autorepeat on */ break; //VT100 |
| 721 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 8) : /* IGNORED: autorepeat off */ break; //VT100 |
| 722 | |
| 723 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 9) : /* IGNORED: interlace */ break; //VT100 |
| 724 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 9) : /* IGNORED: interlace */ break; //VT100 |
| 725 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 9) : /* IGNORED: interlace */ break; //VT100 |
| 726 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 9) : /* IGNORED: interlace */ break; //VT100 |
| 727 | |
| 728 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 12) : /* IGNORED: Cursor blink */ break; //att610 |
| 729 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 12) : /* IGNORED: Cursor blink */ break; //att610 |
| 730 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 12) : /* IGNORED: Cursor blink */ break; //att610 |
| 731 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 12) : /* IGNORED: Cursor blink */ break; //att610 |
| 732 | |
| 733 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 25) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Cursorcxx . . $ `lib/Screen.h:39:9`! ); break; //VT100 |
| 734 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 25) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Cursorcxx . . $ `lib/Screen.h:39:9`! ); break; //VT100 |
| 735 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 25) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Cursorcxx . . $ `lib/Screen.h:39:9`! ); break; //VT100 |
| 736 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 25) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Cursorcxx . . $ `lib/Screen.h:39:9`! ); break; //VT100 |
| 737 | |
| 738 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 40) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3).(MODE_Allow132Columnscxx . . $ `lib/Vt102Emulation.h:50:9`! ); break; // XTERM |
| 739 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 40) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Allow132Columnscxx . . $ `lib/Vt102Emulation.h:50:9`! ); break; // XTERM |
| 740 | |
| 741 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 41) : /* IGNORED: obsolete more(1) fix */ break; //XTERM |
| 742 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 41) : /* IGNORED: obsolete more(1) fix */ break; //XTERM |
| 743 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 41) : /* IGNORED: obsolete more(1) fix */ break; //XTERM |
| 744 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 41) : /* IGNORED: obsolete more(1) fix */ break; //XTERM |
| 745 | |
| 746 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 47) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //VT100 |
| 747 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 47) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //VT100 |
| 748 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 47) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 749 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 47) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 750 | |
| 751 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 67) : /* IGNORED: DECBKM */ break; //XTERM |
| 752 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 67) : /* IGNORED: DECBKM */ break; //XTERM |
| 753 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 67) : /* IGNORED: DECBKM */ break; //XTERM |
| 754 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 67) : /* IGNORED: DECBKM */ break; //XTERM |
| 755 | |
| 756 | // XTerm defines the following modes: |
| 757 | // SET_VT200_MOUSE 1000 |
| 758 | // SET_VT200_HIGHLIGHT_MOUSE 1001 |
| 759 | // SET_BTN_EVENT_MOUSE 1002 |
| 760 | // SET_ANY_EVENT_MOUSE 1003 |
| 761 | // |
| 762 | |
| 763 | //Note about mouse modes: |
| 764 | //There are four mouse modes which xterm-compatible terminals can support - 1000,1001,1002,1003 |
| 765 | //Konsole currently supports mode 1000 (basic mouse press and release) and mode 1002 (dragging the mouse). |
| 766 | //TODO: Implementation of mouse modes 1001 (something called hilight tracking) and |
| 767 | //1003 (a slight variation on dragging the mouse) |
| 768 | // |
| 769 | |
| 770 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1000) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!); break; //XTERM |
| 771 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1000) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!); break; //XTERM |
| 772 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1000) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!); break; //XTERM |
| 773 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1000) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!); break; //XTERM |
| 774 | |
| 775 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1001) : /* IGNORED: hilite mouse tracking */ break; //XTERM |
| 776 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1001) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1001cxx . . $ `lib/Vt102Emulation.h:42:9`!); break; //XTERM |
| 777 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1001) : /* IGNORED: hilite mouse tracking */ break; //XTERM |
| 778 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1001) : /* IGNORED: hilite mouse tracking */ break; //XTERM |
| 779 | |
| 780 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1002) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!); break; //XTERM |
| 781 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1002) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!); break; //XTERM |
| 782 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1002) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!); break; //XTERM |
| 783 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1002) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!); break; //XTERM |
| 784 | |
| 785 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1003) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!); break; //XTERM |
| 786 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1003) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!); break; //XTERM |
| 787 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1003) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!); break; //XTERM |
| 788 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1003) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!); break; //XTERM |
| 789 | |
| 790 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1004) : _reportFocusEventscxx . . $ Konsole/Vt102Emulation#_reportFocusEvents. = true; break; |
| 791 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1004) : _reportFocusEventscxx . . $ Konsole/Vt102Emulation#_reportFocusEvents. = false; break; |
| 792 | |
| 793 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1005) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!); break; //XTERM |
| 794 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1005) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!); break; //XTERM |
| 795 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1005) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!); break; //XTERM |
| 796 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1005) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!); break; //XTERM |
| 797 | |
| 798 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1006) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!); break; //XTERM |
| 799 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1006) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!); break; //XTERM |
| 800 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1006) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!); break; //XTERM |
| 801 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1006) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!); break; //XTERM |
| 802 | |
| 803 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1015) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!); break; //URXVT |
| 804 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1015) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!); break; //URXVT |
| 805 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1015) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!); break; //URXVT |
| 806 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1015) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!); break; //URXVT |
| 807 | |
| 808 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1034) : /* IGNORED: 8bitinput activation */ break; //XTERM |
| 809 | |
| 810 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1047) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 811 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1047) : _screencxx . . $ Konsole/Emulation#_screen.[1]->clearEntireScreencxx . . $ Konsole/Screen#clearEntireScreen(49f6e7a06ebc5aa8).(); resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 812 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1047) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 813 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1047) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 814 | |
| 815 | //FIXME: Unitoken: save translations |
| 816 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1048) : saveCursorcxx . . $ Konsole/Vt102Emulation#saveCursor(49f6e7a06ebc5aa8). ( ); break; //XTERM |
| 817 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1048) : restoreCursorcxx . . $ Konsole/Vt102Emulation#restoreCursor(49f6e7a06ebc5aa8). ( ); break; //XTERM |
| 818 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 1048) : saveCursorcxx . . $ Konsole/Vt102Emulation#saveCursor(49f6e7a06ebc5aa8). ( ); break; //XTERM |
| 819 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 1048) : restoreCursorcxx . . $ Konsole/Vt102Emulation#restoreCursor(49f6e7a06ebc5aa8). ( ); break; //XTERM |
| 820 | |
| 821 | //FIXME: every once new sequences like this pop up in xterm. |
| 822 | // Here's a guess of what they could mean. |
| 823 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 1049) : saveCursorcxx . . $ Konsole/Vt102Emulation#saveCursor(49f6e7a06ebc5aa8).(); _screencxx . . $ Konsole/Emulation#_screen.[1]->clearEntireScreencxx . . $ Konsole/Screen#clearEntireScreen(49f6e7a06ebc5aa8).(); setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3).(MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); break; //XTERM |
| 824 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 1049) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); restoreCursorcxx . . $ Konsole/Vt102Emulation#restoreCursor(49f6e7a06ebc5aa8).(); break; //XTERM |
| 825 | |
| 826 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('h', 2004) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!); break; //XTERM |
| 827 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('l', 2004) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!); break; //XTERM |
| 828 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('s', 2004) : saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3). (MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!); break; //XTERM |
| 829 | case TY_CSI_PRcxx . . $ `lib/Vt102Emulation.cpp:168:9`!('r', 2004) : restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3). (MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!); break; //XTERM |
| 830 | |
| 831 | //FIXME: weird DEC reset sequence |
| 832 | case TY_CSI_PEcxx . . $ `lib/Vt102Emulation.cpp:173:9`!('p' ) : /* IGNORED: reset ( ) */ break; |
| 833 | |
| 834 | //FIXME: when changing between vt52 and ansi mode evtl do some resetting. |
| 835 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('A' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorUpcxx . . $ Konsole/Screen#cursorUp(d4f767463ce0a6b3). ( 1); break; //VT52 |
| 836 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('B' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorDowncxx . . $ Konsole/Screen#cursorDown(d4f767463ce0a6b3). ( 1); break; //VT52 |
| 837 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('C' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorRightcxx . . $ Konsole/Screen#cursorRight(d4f767463ce0a6b3). ( 1); break; //VT52 |
| 838 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('D' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->cursorLeftcxx . . $ Konsole/Screen#cursorLeft(d4f767463ce0a6b3). ( 1); break; //VT52 |
| 839 | |
| 840 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('F' ) : setAndUseCharsetcxx . . $ Konsole/Vt102Emulation#setAndUseCharset(3e454b8ccf442868). (0, '0'); break; //VT52 |
| 841 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('G' ) : setAndUseCharsetcxx . . $ Konsole/Vt102Emulation#setAndUseCharset(3e454b8ccf442868). (0, 'B'); break; //VT52 |
| 842 | |
| 843 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('H' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorYXcxx . . $ Konsole/Screen#setCursorYX(3e454b8ccf442868). (1,1 ); break; //VT52 |
| 844 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('I' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->reverseIndexcxx . . $ Konsole/Screen#reverseIndex(49f6e7a06ebc5aa8). ( ); break; //VT52 |
| 845 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('J' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearToEndOfScreencxx . . $ Konsole/Screen#clearToEndOfScreen(49f6e7a06ebc5aa8). ( ); break; //VT52 |
| 846 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('K' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->clearToEndOfLinecxx . . $ Konsole/Screen#clearToEndOfLine(49f6e7a06ebc5aa8). ( ); break; //VT52 |
| 847 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('Y' ) : _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorYXcxx . . $ Konsole/Screen#setCursorYX(3e454b8ccf442868). (p-31,q-31 ); break; //VT52 |
| 848 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('Z' ) : reportTerminalTypecxx . . $ Konsole/Vt102Emulation#reportTerminalType(49f6e7a06ebc5aa8). ( ); break; //VT52 |
| 849 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('<' ) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`! ); break; //VT52 |
| 850 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('=' ) : setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3). (MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!); break; //VT52 |
| 851 | case TY_VT52cxx . . $ `lib/Vt102Emulation.cpp:171:9`!('>' ) : resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3). (MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!); break; //VT52 |
| 852 | |
| 853 | case TY_CSI_PGcxx . . $ `lib/Vt102Emulation.cpp:172:9`!('c' ) : reportSecondaryAttributescxx . . $ Konsole/Vt102Emulation#reportSecondaryAttributes(49f6e7a06ebc5aa8).( ); break; //VT100 |
| 854 | |
| 855 | default: |
| 856 | reportDecodingErrorcxx . . $ Konsole/Vt102Emulation#reportDecodingError(49f6e7a06ebc5aa8).(); |
| 857 | break; |
| 858 | }; |
| 859 | } |
| 860 | |
| 861 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::clearScreenAndSetColumnscxx . . $ Konsole/Vt102Emulation#clearScreenAndSetColumns(d4f767463ce0a6b3).(int columnCount) |
| 862 | { |
| 863 | setImageSizecxx . . $ Konsole/Emulation#setImageSize(3e454b8ccf442868).(_currentScreencxx . . $ Konsole/Emulation#_currentScreen.->getLinescxx . . $ Konsole/Screen#getLines(455f465bc33b4cdf).(),columnCount); |
| 864 | clearEntireScreencxx . . $ Konsole/Vt102Emulation#clearEntireScreen(49f6e7a06ebc5aa8).(); |
| 865 | setDefaultMarginscxx . . $ Konsole/Vt102Emulation#setDefaultMargins(49f6e7a06ebc5aa8).(); |
| 866 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->setCursorYXcxx . . $ Konsole/Screen#setCursorYX(3e454b8ccf442868).(0,0); |
| 867 | } |
| 868 | |
| 869 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).(const char* s , int length) |
| 870 | { |
| 871 | if ( length >= 0 ) |
| 872 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! sendDatacxx . . $ Konsole/Emulation#sendData(34d26762b42c433a).(s,length); |
| 873 | else |
| 874 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! sendDatacxx . . $ Konsole/Emulation#sendData(34d26762b42c433a).(s,strlen(s)); |
| 875 | } |
| 876 | |
| 877 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportCursorPositioncxx . . $ Konsole/Vt102Emulation#reportCursorPosition(49f6e7a06ebc5aa8).() |
| 878 | { |
| 879 | const size_t sz = 20; |
| 880 | char tmp[sz]; |
| 881 | const size_t r = snprintf(tmp, sz, "\033[%d;%dR",_currentScreencxx . . $ Konsole/Emulation#_currentScreen.->getCursorYcxx . . $ Konsole/Screen#getCursorY(455f465bc33b4cdf).()+1,_currentScreencxx . . $ Konsole/Emulation#_currentScreen.->getCursorXcxx . . $ Konsole/Screen#getCursorX(455f465bc33b4cdf).()+1); |
| 882 | if (sz <= r) { |
| 883 | qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!("Vt102Emulation::reportCursorPosition: Buffer too small\n"); |
| 884 | } |
| 885 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).(tmp); |
| 886 | } |
| 887 | |
| 888 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportTerminalTypecxx . . $ Konsole/Vt102Emulation#reportTerminalType(49f6e7a06ebc5aa8).() |
| 889 | { |
| 890 | // Primary device attribute response (Request was: ^[[0c or ^[[c (from TT321 Users Guide)) |
| 891 | // VT220: ^[[?63;1;2;3;6;7;8c (list deps on emul. capabilities) |
| 892 | // VT100: ^[[?1;2c |
| 893 | // VT101: ^[[?1;0c |
| 894 | // VT102: ^[[?6v |
| 895 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`!)) |
| 896 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033[?1;2c"); // I'm a VT100 |
| 897 | else |
| 898 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033/Z"); // I'm a VT52 |
| 899 | } |
| 900 | |
| 901 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportSecondaryAttributescxx . . $ Konsole/Vt102Emulation#reportSecondaryAttributes(49f6e7a06ebc5aa8).() |
| 902 | { |
| 903 | // Seconday device attribute response (Request was: ^[[>0c or ^[[>c) |
| 904 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`!)) |
| 905 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033[>0;115;0c"); // Why 115? ;) |
| 906 | else |
| 907 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033/Z"); // FIXME I don't think VT52 knows about it but kept for |
| 908 | // konsoles backward compatibility. |
| 909 | } |
| 910 | |
| 911 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportTerminalParmscxx . . $ Konsole/Vt102Emulation#reportTerminalParms(d4f767463ce0a6b3).(int p) |
| 912 | // DECREPTPARM |
| 913 | { |
| 914 | const size_t sz = 100; |
| 915 | char tmp[sz]; |
| 916 | const size_t r = snprintf(tmp, sz, "\033[%d;1;1;112;112;1;0x",p); // not really true. |
| 917 | if (sz <= r) { |
| 918 | qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!("Vt102Emulation::reportTerminalParms: Buffer too small\n"); |
| 919 | } |
| 920 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).(tmp); |
| 921 | } |
| 922 | |
| 923 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportStatuscxx . . $ Konsole/Vt102Emulation#reportStatus(49f6e7a06ebc5aa8).() |
| 924 | { |
| 925 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033[0n"); //VT100. Device status report. 0 = Ready. |
| 926 | } |
| 927 | |
| 928 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportAnswerBackcxx . . $ Konsole/Vt102Emulation#reportAnswerBack(49f6e7a06ebc5aa8).() |
| 929 | { |
| 930 | // FIXME - Test this with VTTEST |
| 931 | // This is really obsolete VT100 stuff. |
| 932 | const char* ANSWER_BACK = ""; |
| 933 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).(ANSWER_BACK); |
| 934 | } |
| 935 | |
| 936 | /*! |
| 937 | `cx',`cy' are 1-based. |
| 938 | `cb' indicates the button pressed or released (0-2) or scroll event (4-5). |
| 939 | |
| 940 | eventType represents the kind of mouse action that occurred: |
| 941 | 0 = Mouse button press |
| 942 | 1 = Mouse drag |
| 943 | 2 = Mouse button release |
| 944 | */ |
| 945 | |
| 946 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::sendMouseEventcxx . . $ Konsole/Vt102Emulation#sendMouseEvent(748afa4755bc9595).( int cb, int cx, int cy , int eventType ) |
| 947 | { |
| 948 | if (cx < 1 || cy < 1) |
| 949 | return; |
| 950 | |
| 951 | // With the exception of the 1006 mode, button release is encoded in cb. |
| 952 | // Note that if multiple extensions are enabled, the 1006 is used, so it's okay to check for only that. |
| 953 | if (eventType == 2 && !getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!)) |
| 954 | cb = 3; |
| 955 | |
| 956 | // normal buttons are passed as 0x20 + button, |
| 957 | // mouse wheel (buttons 4,5) as 0x5c + button |
| 958 | if (cb >= 4) |
| 959 | cb += 0x3c; |
| 960 | |
| 961 | //Mouse motion handling |
| 962 | if ((getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!) || getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!)) && eventType == 1) |
| 963 | cb += 0x20; //add 32 to signify motion event |
| 964 | |
| 965 | char command[32]; |
| 966 | command[0] = '\0'; |
| 967 | // Check the extensions in decreasing order of preference. Encoding the release event above assumes that 1006 comes first. |
| 968 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!)) { |
| 969 | snprintf(command, sizeof(command), "\033[<%d;%d;%d%c", cb, cx, cy, eventType == 2 ? 'm' : 'M'); |
| 970 | } else if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!)) { |
| 971 | snprintf(command, sizeof(command), "\033[%d;%d;%dM", cb + 0x20, cx, cy); |
| 972 | } else if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!)) { |
| 973 | if (cx <= 2015 && cy <= 2015) { |
| 974 | // The xterm extension uses UTF-8 (up to 2 bytes) to encode |
| 975 | // coordinate+32, no matter what the locale is. We could easily |
| 976 | // convert manually, but QString can also do it for us. |
| 977 | QCharcxx . . $ QChar# coordscxx . . $ QChar#QChar(ced63f7c635d850d).[2]; |
| 978 | coords[0] =cxx . . $ QChar#`operator=`(81d7e7f12920c16). cxcxx . . $ QChar#QChar(f349c77f591a7878). + 0x20; |
| 979 | coords[1] =cxx . . $ QChar#`operator=`(81d7e7f12920c16). cycxx . . $ QChar#QChar(f349c77f591a7878). + 0x20; |
| 980 | QStringcxx . . $ QString# coordsStr = QStringcxx . . $ QString#QString(272b2502a4d0f1bc).(coords, 2); |
| 981 | QByteArraycxx . . $ QByteArray# utf8 = coordsStr.toUtf8cxx . . $ QString#toUtf8(ef52b713090bc85a).(); |
| 982 | snprintf(command, sizeof(command), "\033[M%c%s", cb + 0x20, utf8.constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).()); |
| 983 | } |
| 984 | } else if (cx <= 223 && cy <= 223) { |
| 985 | snprintf(command, sizeof(command), "\033[M%c%c%c", cb + 0x20, cx + 0x20, cy + 0x20); |
| 986 | } |
| 987 | |
| 988 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).(command); |
| 989 | } |
| 990 | |
| 991 | /** |
| 992 | * The focus lost event can be used by Vim (or other terminal applications) |
| 993 | * to recognize that the konsole window has lost focus. |
| 994 | * The escape sequence is also used by iTerm2. |
| 995 | * Vim needs the following plugin to be installed to convert the escape |
| 996 | * sequence into the FocusLost autocmd: https://github.com/sjl/vitality.vim |
| 997 | */ |
| 998 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::focusLostcxx . . $ Konsole/Vt102Emulation#focusLost(49f6e7a06ebc5aa8).(void) |
| 999 | { |
| 1000 | if (_reportFocusEventscxx . . $ Konsole/Vt102Emulation#_reportFocusEvents.) |
| 1001 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033[O"); |
| 1002 | } |
| 1003 | |
| 1004 | /** |
| 1005 | * The focus gained event can be used by Vim (or other terminal applications) |
| 1006 | * to recognize that the konsole window has gained focus again. |
| 1007 | * The escape sequence is also used by iTerm2. |
| 1008 | * Vim needs the following plugin to be installed to convert the escape |
| 1009 | * sequence into the FocusGained autocmd: https://github.com/sjl/vitality.vim |
| 1010 | */ |
| 1011 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::focusGainedcxx . . $ Konsole/Vt102Emulation#focusGained(49f6e7a06ebc5aa8).(void) |
| 1012 | { |
| 1013 | if (_reportFocusEventscxx . . $ Konsole/Vt102Emulation#_reportFocusEvents.) |
| 1014 | sendStringcxx . . $ Konsole/Vt102Emulation#sendString(34d26762b42c433a).("\033[I"); |
| 1015 | } |
| 1016 | |
| 1017 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::sendTextcxx . . $ Konsole/Vt102Emulation#sendText(3520e46b33348bf6).( const QStringcxx . . $ QString#& text ) |
| 1018 | { |
| 1019 | if (!text.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) |
| 1020 | { |
| 1021 | QKeyEventcxx . . $ QKeyEvent# eventcxx . . $ QKeyEvent#QKeyEvent(ef4dc924c19ba5f1).(QEventcxx . . $ QEvent#::KeyPresscxx . . $ QEvent#KeyPress., |
| 1022 | 0, |
| 1023 | Qtcxx . . $ QFlags#QFlags(93d577a3e9528307).::NoModifiercxx . . $ Qt/NoModifier., |
| 1024 | text); |
| 1025 | sendKeyEventcxx . . $ Konsole/Vt102Emulation#sendKeyEvent(4ced653b20f45578).(&event, false); // expose as a big fat keypress event |
| 1026 | } |
| 1027 | } |
| 1028 | //<<<<<<< HEAD |
| 1029 | |
| 1030 | QKeyEventcxx . . $ QKeyEvent# * Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::remapKeyModifiersForMaccxx . . $ Konsole/Vt102Emulation#remapKeyModifiersForMac(1ece640c90cec9c).(QKeyEventcxx . . $ QKeyEvent# *event) { |
| 1031 | Qtcxx . . $ Qt/::KeyboardModifierscxx . . $ Qt/KeyboardModifiers# modifiers = event->modifierscxx . . $ QKeyEvent#modifiers(bf228902b3e5e63b).(); |
| 1032 | |
| 1033 | QFlagscxx . . $ QFlags#<Qtcxx . . $ Qt/::KeyboardModifiercxx . . $ Qt/KeyboardModifier#> isTheLabeledKeyCommandPressed = modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::ControlModifiercxx . . $ Qt/ControlModifier.; |
| 1034 | QFlagscxx . . $ QFlags#<Qtcxx . . $ Qt/::KeyboardModifiercxx . . $ Qt/KeyboardModifier#> isTheLabeledKeyControlPressed = modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::MetaModifiercxx . . $ Qt/MetaModifier.; |
| 1035 | if (isTheLabeledKeyCommandPressed){ |
| 1036 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!("Command is pressed."); |
| 1037 | modifiers &=cxx . . $ QFlags#`operator&=`(790f1cee2df653c7). ~Qtcxx . . $ Qt/::ControlModifiercxx . . $ Qt/ControlModifier.; |
| 1038 | modifiers |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). Qtcxx . . $ Qt/::MetaModifiercxx . . $ Qt/MetaModifier.; |
| 1039 | } else { |
| 1040 | modifiers &=cxx . . $ QFlags#`operator&=`(790f1cee2df653c7). ~Qtcxx . . $ Qt/::MetaModifiercxx . . $ Qt/MetaModifier.; |
| 1041 | } |
| 1042 | |
| 1043 | if (isTheLabeledKeyControlPressed) { |
| 1044 | qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!("Control is pressed."); |
| 1045 | modifiers &=cxx . . $ QFlags#`operator&=`(790f1cee2df653c7). ~Qtcxx . . $ Qt/::MetaModifiercxx . . $ Qt/MetaModifier.; |
| 1046 | modifiers |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). Qtcxx . . $ Qt/::ControlModifiercxx . . $ Qt/ControlModifier.; |
| 1047 | } else { |
| 1048 | modifiers &=cxx . . $ QFlags#`operator&=`(790f1cee2df653c7). ~Qtcxx . . $ Qt/::ControlModifiercxx . . $ Qt/ControlModifier.; |
| 1049 | } |
| 1050 | |
| 1051 | return new QKeyEventcxx . . $ QKeyEvent#(QEventcxx . . $ QEvent#::Nonecxx . . $ QEvent#None., event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).(), modifiers, |
| 1052 | event->nativeScanCodecxx . . $ QKeyEvent#nativeScanCode(ddd8539a2fcdd4ce).(), event->nativeVirtualKeycxx . . $ QKeyEvent#nativeVirtualKey(ddd8539a2fcdd4ce).(), event->nativeModifierscxx . . $ QKeyEvent#nativeModifiers(ddd8539a2fcdd4ce).(), |
| 1053 | event->textcxx . . $ QKeyEvent#text(6ef7b6c27b00b43d).(), event->isAutoRepeatcxx . . $ QKeyEvent#isAutoRepeat(50ce9a9e25b4a850).(), event->countcxx . . $ QKeyEvent#count(455f465bc33b4cdf).()); |
| 1054 | } |
| 1055 | |
| 1056 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::sendKeyEventcxx . . $ Konsole/Vt102Emulation#sendKeyEvent(4ced653b20f45578).(QKeyEventcxx . . $ QKeyEvent#* origEvent, bool fromPaste) |
| 1057 | { |
| 1058 | #if defined(Q_OS_MAC) |
| 1059 | QScopedPointer<QKeyEvent> event(remapKeyModifiersForMac(origEvent)); |
| 1060 | #else |
| 1061 | QKeyEventcxx . . $ QKeyEvent# *event = origEvent; |
| 1062 | #endif |
| 1063 | Qtcxx . . $ Qt/::KeyboardModifierscxx . . $ Qt/KeyboardModifiers# modifiers = event->modifierscxx . . $ QKeyEvent#modifiers(bf228902b3e5e63b).(); |
| 1064 | KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::Statescxx . . $ Konsole/KeyboardTranslator#States# states = KeyboardTranslatorcxx . . $ QFlags#QFlags(93d577a3e9528307).::NoStatecxx . . $ Konsole/KeyboardTranslator#NoState.; |
| 1065 | |
| 1066 | // get current states |
| 1067 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_NewLinecxx . . $ `lib/Screen.h:40:9`!) ) states |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::NewLineStatecxx . . $ Konsole/KeyboardTranslator#NewLineState.; |
| 1068 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`!) ) states |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::AnsiStatecxx . . $ Konsole/KeyboardTranslator#AnsiState.; |
| 1069 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!)) states |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::CursorKeysStatecxx . . $ Konsole/KeyboardTranslator#CursorKeysState.; |
| 1070 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!)) states |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::AlternateScreenStatecxx . . $ Konsole/KeyboardTranslator#AlternateScreenState.; |
| 1071 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!) && (modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::KeypadModifiercxx . . $ Qt/KeypadModifier.)) |
| 1072 | states |=cxx . . $ QFlags#`operator|=`(fd64b2b07d6098e0). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::ApplicationKeypadStatecxx . . $ Konsole/KeyboardTranslator#ApplicationKeypadState.; |
| 1073 | |
| 1074 | // check flow control state |
| 1075 | if (modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::CTRL_MODcxx . . $ Konsole/KeyboardTranslator#CTRL_MOD.) |
| 1076 | { |
| 1077 | switch (event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).()) { |
| 1078 | case Qtcxx . . $ Qt/::Key_Scxx . . $ Qt/Key_S.: |
| 1079 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! flowControlKeyPressedcxx . . $ Konsole/Emulation#flowControlKeyPressed(b45ddcbc8423892c).(true); |
| 1080 | break; |
| 1081 | case Qtcxx . . $ Qt/::Key_Qcxx . . $ Qt/Key_Q.: |
| 1082 | case Qtcxx . . $ Qt/::Key_Ccxx . . $ Qt/Key_C.: // cancel flow control |
| 1083 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! flowControlKeyPressedcxx . . $ Konsole/Emulation#flowControlKeyPressed(b45ddcbc8423892c).(false); |
| 1084 | break; |
| 1085 | } |
| 1086 | } |
| 1087 | |
| 1088 | // lookup key binding |
| 1089 | if ( _keyTranslatorcxx . . $ Konsole/Emulation#_keyTranslator. ) |
| 1090 | { |
| 1091 | KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::Entrycxx . . $ Konsole/KeyboardTranslator#Entry# entry = _keyTranslatorcxx . . $ Konsole/Emulation#_keyTranslator.->findEntrycxx . . $ Konsole/KeyboardTranslator#findEntry(814b9b3caf5a13a5).( |
| 1092 | event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() , |
| 1093 | modifiers, |
| 1094 | states ); |
| 1095 | // send result to terminal |
| 1096 | QByteArraycxx . . $ QByteArray# textToSendcxx . . $ QByteArray#QByteArray(ced63f7c635d850d).; |
| 1097 | |
| 1098 | // special handling for the Alt (aka. Meta) modifier. pressing |
| 1099 | // Alt+[Character] results in Esc+[Character] being sent |
| 1100 | // (unless there is an entry defined for this particular combination |
| 1101 | // in the keyboard modifier) |
| 1102 | |
| 1103 | bool wantsAltModifier = entry.modifierscxx . . $ Konsole/KeyboardTranslator#Entry#modifiers(bf228902b3e5e63b).() &cxx . . $ QFlags#`operator&`(4389476332fab2e8). entry.modifierMaskcxx . . $ Konsole/KeyboardTranslator#Entry#modifierMask(bf228902b3e5e63b).() &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::AltModifiercxx . . $ Qt/AltModifier.; |
| 1104 | bool wantsMetaModifier = entry.modifierscxx . . $ Konsole/KeyboardTranslator#Entry#modifiers(bf228902b3e5e63b).() &cxx . . $ QFlags#`operator&`(4389476332fab2e8). entry.modifierMaskcxx . . $ Konsole/KeyboardTranslator#Entry#modifierMask(bf228902b3e5e63b).() &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::MetaModifiercxx . . $ Qt/MetaModifier.; |
| 1105 | bool wantsAnyModifier = entry.statecxx . . $ Konsole/KeyboardTranslator#Entry#state(53b24d6b132c3018).() &cxx . . $ QFlags#`operator&`(4389476332fab2e8). |
| 1106 | entry.stateMaskcxx . . $ Konsole/KeyboardTranslator#Entry#stateMask(53b24d6b132c3018).() &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::AnyModifierStatecxx . . $ Konsole/KeyboardTranslator#AnyModifierState.; |
| 1107 | |
| 1108 | if ( modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::AltModifiercxx . . $ Qt/AltModifier. && !(wantsAltModifier || wantsAnyModifier) |
| 1109 | && !event->textcxx . . $ QKeyEvent#text(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).() ) |
| 1110 | { |
| 1111 | textToSend.prependcxx . . $ QByteArray#prepend(715145f812399bcb).("\033"); |
| 1112 | } |
| 1113 | if ( modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). Qtcxx . . $ Qt/::MetaModifiercxx . . $ Qt/MetaModifier. && !(wantsMetaModifier || wantsAnyModifier) |
| 1114 | && !event->textcxx . . $ QKeyEvent#text(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).() ) |
| 1115 | { |
| 1116 | textToSend.prependcxx . . $ QByteArray#prepend(715145f812399bcb).("\030@s"); |
| 1117 | } |
| 1118 | |
| 1119 | if ( entry.commandcxx . . $ Konsole/KeyboardTranslator#Entry#command(9b4be8b18ae446e4).() != KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::NoCommandcxx . . $ Konsole/KeyboardTranslator#NoCommand. ) |
| 1120 | { |
| 1121 | if (entry.commandcxx . . $ Konsole/KeyboardTranslator#Entry#command(9b4be8b18ae446e4).() & KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::EraseCommandcxx . . $ Konsole/KeyboardTranslator#EraseCommand.) { |
| 1122 | textToSend +=cxx . . $ QByteArray#`operator+=`(1815c0e4073627df). eraseCharcxx . . $ Konsole/Vt102Emulation#eraseChar(1b8b762cbef9c2c9).(); |
| 1123 | } else { |
| 1124 | Q_EMITcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:95:10`! handleCommandFromKeyboardcxx . . $ Konsole/Emulation#handleCommandFromKeyboard(16cb6c07cd6749eb).(entry.commandcxx . . $ Konsole/KeyboardTranslator#Entry#command(9b4be8b18ae446e4).()); |
| 1125 | } |
| 1126 | |
| 1127 | // TODO command handling |
| 1128 | } |
| 1129 | else if ( !entry.textcxx . . $ Konsole/KeyboardTranslator#Entry#text(7b12ae1618d6cad3).().isEmptycxx . . $ QByteArray#isEmpty(50ce9a9e25b4a850).() ) |
| 1130 | { |
| 1131 | textToSend +=cxx . . $ QByteArray#`operator+=`(85c7caed82076bbb). entry.textcxx . . $ Konsole/KeyboardTranslator#Entry#text(7b12ae1618d6cad3).(true,modifiers); |
| 1132 | } |
| 1133 | else if((modifiers &cxx . . $ QFlags#`operator&`(2cc1994e0be6f18e). KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::CTRL_MODcxx . . $ Konsole/KeyboardTranslator#CTRL_MOD.) && event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() >= 0x40 && event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() < 0x5f) { |
| 1134 | textToSend +=cxx . . $ QByteArray#`operator+=`(1815c0e4073627df). (event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() & 0x1f); |
| 1135 | } |
| 1136 | else if(event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() == Qtcxx . . $ Qt/::Key_Tabcxx . . $ Qt/Key_Tab.) { |
| 1137 | textToSend +=cxx . . $ QByteArray#`operator+=`(1815c0e4073627df). 0x09; |
| 1138 | } |
| 1139 | else if (event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() == Qtcxx . . $ Qt/::Key_PageUpcxx . . $ Qt/Key_PageUp.) { |
| 1140 | textToSend +=cxx . . $ QByteArray#`operator+=`(715145f812399bcb). "\033[5~"; |
| 1141 | } |
| 1142 | else if (event->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() == Qtcxx . . $ Qt/::Key_PageDowncxx . . $ Qt/Key_PageDown.) { |
| 1143 | textToSend +=cxx . . $ QByteArray#`operator+=`(715145f812399bcb). "\033[6~"; |
| 1144 | } |
| 1145 | else { |
| 1146 | textToSend +=cxx . . $ QByteArray#`operator+=`(85c7caed82076bbb). _codeccxx . . $ Konsole/Emulation#_codec.->fromUnicodecxx . . $ QTextCodec#fromUnicode(e72629479c734b12).(event->textcxx . . $ QKeyEvent#text(6ef7b6c27b00b43d).()); |
| 1147 | } |
| 1148 | |
| 1149 | if (!fromPaste && textToSend.lengthcxx . . $ QByteArray#length(455f465bc33b4cdf).()) { |
| 1150 | Q_EMITcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:95:10`! outputFromKeypressEventcxx . . $ Konsole/Emulation#outputFromKeypressEvent(49f6e7a06ebc5aa8).(); |
| 1151 | } |
| 1152 | Q_EMITcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:95:10`! sendDatacxx . . $ Konsole/Emulation#sendData(34d26762b42c433a).( textToSend.constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).() , textToSend.lengthcxx . . $ QByteArray#length(455f465bc33b4cdf).() ); |
| 1153 | } |
| 1154 | else |
| 1155 | { |
| 1156 | // print an error message to the terminal if no key translator has been |
| 1157 | // set |
| 1158 | QStringcxx . . $ QString# translatorError = trcxx . . $ Konsole/Vt102Emulation#tr(75d9f1c324b4579d).("No keyboard translator available. " |
| 1159 | "The information needed to convert key presses " |
| 1160 | "into characters to send to the terminal " |
| 1161 | "is missing."); |
| 1162 | resetcxx . . $ Konsole/Vt102Emulation#reset(49f6e7a06ebc5aa8).(); |
| 1163 | receiveDatacxx . . $ Konsole/Emulation#receiveData(34d26762b42c433a).( translatorError.toUtf8cxx . . $ QString#toUtf8(ef52b713090bc85a).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).() , translatorError.countcxx . . $ QString#count(455f465bc33b4cdf).() ); |
| 1164 | } |
| 1165 | } |
| 1166 | |
| 1167 | /* ------------------------------------------------------------------------- */ |
| 1168 | /* */ |
| 1169 | /* VT100 Charsets */ |
| 1170 | /* */ |
| 1171 | /* ------------------------------------------------------------------------- */ |
| 1172 | |
| 1173 | // Character Set Conversion ------------------------------------------------ -- |
| 1174 | |
| 1175 | /* |
| 1176 | The processing contains a VT100 specific code translation layer. |
| 1177 | It's still in use and mainly responsible for the line drawing graphics. |
| 1178 | |
| 1179 | These and some other glyphs are assigned to codes (0x5f-0xfe) |
| 1180 | normally occupied by the latin letters. Since this codes also |
| 1181 | appear within control sequences, the extra code conversion |
| 1182 | does not permute with the tokenizer and is placed behind it |
| 1183 | in the pipeline. It only applies to tokens, which represent |
| 1184 | plain characters. |
| 1185 | |
| 1186 | This conversion it eventually continued in TerminalDisplay.C, since |
| 1187 | it might involve VT100 enhanced fonts, which have these |
| 1188 | particular glyphs allocated in (0x00-0x1f) in their code page. |
| 1189 | */ |
| 1190 | |
| 1191 | #define CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`! _charset[_currentScreen==_screen[1]] |
| 1192 | |
| 1193 | // Apply current character map. |
| 1194 | |
| 1195 | wchar_t Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::applyCharsetcxx . . $ Konsole/Vt102Emulation#applyCharset(81a7c28504ec2a5f).(wchar_t c) |
| 1196 | { |
| 1197 | if (CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.graphiccxx . . $ Konsole/CharCodes#graphic. && 0x5f <= c && c <= 0x7e) return vt100_graphicscxx . . $ Konsole/vt100_graphics.[c-0x5f]; |
| 1198 | if (CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.poundcxx . . $ Konsole/CharCodes#pound. && c == '#' ) return 0xa3; //This mode is obsolete |
| 1199 | return c; |
| 1200 | } |
| 1201 | |
| 1202 | /* |
| 1203 | "Charset" related part of the emulation state. |
| 1204 | This configures the VT100 charset filter. |
| 1205 | |
| 1206 | While most operation work on the current _screen, |
| 1207 | the following two are different. |
| 1208 | */ |
| 1209 | |
| 1210 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::resetCharsetcxx . . $ Konsole/Vt102Emulation#resetCharset(d4f767463ce0a6b3).(int scrno) |
| 1211 | { |
| 1212 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[scrno].cu_cscxx . . $ Konsole/CharCodes#cu_cs. = 0; |
| 1213 | qstrncpycxx . . $ qstrncpy(e3be596f4b21f926).(_charsetcxx . . $ Konsole/Vt102Emulation#_charset.[scrno].charsetcxx . . $ Konsole/CharCodes#charset.,"BBBB",4); |
| 1214 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[scrno].sa_graphiccxx . . $ Konsole/CharCodes#sa_graphic. = false; |
| 1215 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[scrno].sa_poundcxx . . $ Konsole/CharCodes#sa_pound. = false; |
| 1216 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[scrno].graphiccxx . . $ Konsole/CharCodes#graphic. = false; |
| 1217 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[scrno].poundcxx . . $ Konsole/CharCodes#pound. = false; |
| 1218 | } |
| 1219 | |
| 1220 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::setCharsetcxx . . $ Konsole/Vt102Emulation#setCharset(3e454b8ccf442868).(int n, int cs) // on both screens. |
| 1221 | { |
| 1222 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[0].charsetcxx . . $ Konsole/CharCodes#charset.[n&3] = cs; useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3).(_charsetcxx . . $ Konsole/Vt102Emulation#_charset.[0].cu_cscxx . . $ Konsole/CharCodes#cu_cs.); |
| 1223 | _charsetcxx . . $ Konsole/Vt102Emulation#_charset.[1].charsetcxx . . $ Konsole/CharCodes#charset.[n&3] = cs; useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3).(_charsetcxx . . $ Konsole/Vt102Emulation#_charset.[1].cu_cscxx . . $ Konsole/CharCodes#cu_cs.); |
| 1224 | } |
| 1225 | |
| 1226 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::setAndUseCharsetcxx . . $ Konsole/Vt102Emulation#setAndUseCharset(3e454b8ccf442868).(int n, int cs) |
| 1227 | { |
| 1228 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.charsetcxx . . $ Konsole/CharCodes#charset.[n&3] = cs; |
| 1229 | useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3).(n&3); |
| 1230 | } |
| 1231 | |
| 1232 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::useCharsetcxx . . $ Konsole/Vt102Emulation#useCharset(d4f767463ce0a6b3).(int n) |
| 1233 | { |
| 1234 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.cu_cscxx . . $ Konsole/CharCodes#cu_cs. = n&3; |
| 1235 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.graphiccxx . . $ Konsole/CharCodes#graphic. = (CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.charsetcxx . . $ Konsole/CharCodes#charset.[n&3] == '0'); |
| 1236 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.poundcxx . . $ Konsole/CharCodes#pound. = (CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.charsetcxx . . $ Konsole/CharCodes#charset.[n&3] == 'A'); //This mode is obsolete |
| 1237 | } |
| 1238 | |
| 1239 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::setDefaultMarginscxx . . $ Konsole/Vt102Emulation#setDefaultMargins(49f6e7a06ebc5aa8).() |
| 1240 | { |
| 1241 | _screencxx . . $ Konsole/Emulation#_screen.[0]->setDefaultMarginscxx . . $ Konsole/Screen#setDefaultMargins(49f6e7a06ebc5aa8).(); |
| 1242 | _screencxx . . $ Konsole/Emulation#_screen.[1]->setDefaultMarginscxx . . $ Konsole/Screen#setDefaultMargins(49f6e7a06ebc5aa8).(); |
| 1243 | } |
| 1244 | |
| 1245 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::setMarginscxx . . $ Konsole/Vt102Emulation#setMargins(3e454b8ccf442868).(int t, int b) |
| 1246 | { |
| 1247 | _screencxx . . $ Konsole/Emulation#_screen.[0]->setMarginscxx . . $ Konsole/Screen#setMargins(3e454b8ccf442868).(t, b); |
| 1248 | _screencxx . . $ Konsole/Emulation#_screen.[1]->setMarginscxx . . $ Konsole/Screen#setMargins(3e454b8ccf442868).(t, b); |
| 1249 | } |
| 1250 | |
| 1251 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::saveCursorcxx . . $ Konsole/Vt102Emulation#saveCursor(49f6e7a06ebc5aa8).() |
| 1252 | { |
| 1253 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.sa_graphiccxx . . $ Konsole/CharCodes#sa_graphic. = CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.graphiccxx . . $ Konsole/CharCodes#graphic.; |
| 1254 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.sa_poundcxx . . $ Konsole/CharCodes#sa_pound. = CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.poundcxx . . $ Konsole/CharCodes#pound.; //This mode is obsolete |
| 1255 | // we are not clear about these |
| 1256 | //sa_charset = charsets[cScreen->_charset]; |
| 1257 | //sa_charset_num = cScreen->_charset; |
| 1258 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->saveCursorcxx . . $ Konsole/Screen#saveCursor(49f6e7a06ebc5aa8).(); |
| 1259 | } |
| 1260 | |
| 1261 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::restoreCursorcxx . . $ Konsole/Vt102Emulation#restoreCursor(49f6e7a06ebc5aa8).() |
| 1262 | { |
| 1263 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.graphiccxx . . $ Konsole/CharCodes#graphic. = CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.sa_graphiccxx . . $ Konsole/CharCodes#sa_graphic.; |
| 1264 | CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.poundcxx . . $ Konsole/CharCodes#pound. = CHARSETcxx . . $ `lib/Vt102Emulation.cpp:1191:9`!.sa_poundcxx . . $ Konsole/CharCodes#sa_pound.; //This mode is obsolete |
| 1265 | _currentScreencxx . . $ Konsole/Emulation#_currentScreen.->restoreCursorcxx . . $ Konsole/Screen#restoreCursor(49f6e7a06ebc5aa8).(); |
| 1266 | } |
| 1267 | |
| 1268 | /* ------------------------------------------------------------------------- */ |
| 1269 | /* */ |
| 1270 | /* Mode Operations */ |
| 1271 | /* */ |
| 1272 | /* ------------------------------------------------------------------------- */ |
| 1273 | |
| 1274 | /* |
| 1275 | Some of the emulations state is either added to the state of the screens. |
| 1276 | |
| 1277 | This causes some scoping problems, since different emulations choose to |
| 1278 | located the mode either to the current _screen or to both. |
| 1279 | |
| 1280 | For strange reasons, the extend of the rendition attributes ranges over |
| 1281 | all screens and not over the actual _screen. |
| 1282 | |
| 1283 | We decided on the precise precise extend, somehow. |
| 1284 | */ |
| 1285 | |
| 1286 | // "Mode" related part of the state. These are all booleans. |
| 1287 | |
| 1288 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::resetModescxx . . $ Konsole/Vt102Emulation#resetModes(49f6e7a06ebc5aa8).() |
| 1289 | { |
| 1290 | // MODE_Allow132Columns is not reset here |
| 1291 | // to match Xterm's behaviour (see Xterm's VTReset() function) |
| 1292 | |
| 1293 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_132Columnscxx . . $ `lib/Vt102Emulation.h:49:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_132Columnscxx . . $ `lib/Vt102Emulation.h:49:9`!); |
| 1294 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!); |
| 1295 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1001cxx . . $ `lib/Vt102Emulation.h:42:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1001cxx . . $ `lib/Vt102Emulation.h:42:9`!); |
| 1296 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!); |
| 1297 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!); |
| 1298 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1005cxx . . $ `lib/Vt102Emulation.h:45:9`!); |
| 1299 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1006cxx . . $ `lib/Vt102Emulation.h:46:9`!); |
| 1300 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_Mouse1015cxx . . $ `lib/Vt102Emulation.h:47:9`!); |
| 1301 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!); |
| 1302 | |
| 1303 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`!); |
| 1304 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_AppCuKeyscxx . . $ `lib/Vt102Emulation.h:39:9`!); |
| 1305 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!); saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(MODE_AppKeyPadcxx . . $ `lib/Vt102Emulation.h:40:9`!); |
| 1306 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(MODE_NewLinecxx . . $ `lib/Screen.h:40:9`!); |
| 1307 | setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3).(MODE_Ansicxx . . $ `lib/Vt102Emulation.h:48:9`!); |
| 1308 | } |
| 1309 | |
| 1310 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3).(int m) |
| 1311 | { |
| 1312 | _currentModescxx . . $ Konsole/Vt102Emulation#_currentModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m] = true; |
| 1313 | switch (m) |
| 1314 | { |
| 1315 | case MODE_132Columnscxx . . $ `lib/Vt102Emulation.h:49:9`!: |
| 1316 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Allow132Columnscxx . . $ `lib/Vt102Emulation.h:50:9`!)) |
| 1317 | clearScreenAndSetColumnscxx . . $ Konsole/Vt102Emulation#clearScreenAndSetColumns(d4f767463ce0a6b3).(132); |
| 1318 | else |
| 1319 | _currentModescxx . . $ Konsole/Vt102Emulation#_currentModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m] = false; |
| 1320 | break; |
| 1321 | case MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`!: |
| 1322 | case MODE_Mouse1001cxx . . $ `lib/Vt102Emulation.h:42:9`!: |
| 1323 | case MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`!: |
| 1324 | case MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`!: |
| 1325 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! programUsesMouseChangedcxx . . $ Konsole/Emulation#programUsesMouseChanged(b45ddcbc8423892c).(false); |
| 1326 | break; |
| 1327 | |
| 1328 | case MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!: |
| 1329 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! programBracketedPasteModeChangedcxx . . $ Konsole/Emulation#programBracketedPasteModeChanged(b45ddcbc8423892c).(true); |
| 1330 | |
| 1331 | break; |
| 1332 | |
| 1333 | case MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`! : _screencxx . . $ Konsole/Emulation#_screen.[1]->clearSelectioncxx . . $ Konsole/Screen#clearSelection(49f6e7a06ebc5aa8).(); |
| 1334 | setScreencxx . . $ Konsole/Emulation#setScreen(d4f767463ce0a6b3).(1); |
| 1335 | break; |
| 1336 | } |
| 1337 | if (m < MODES_SCREENcxx . . $ `lib/Screen.h:41:9`! || m == MODE_NewLinecxx . . $ `lib/Screen.h:40:9`!) |
| 1338 | { |
| 1339 | _screencxx . . $ Konsole/Emulation#_screen.[0]->setModecxx . . $ Konsole/Screen#setMode(d4f767463ce0a6b3).(m); |
| 1340 | _screencxx . . $ Konsole/Emulation#_screen.[1]->setModecxx . . $ Konsole/Screen#setMode(d4f767463ce0a6b3).(m); |
| 1341 | } |
| 1342 | } |
| 1343 | |
| 1344 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(int m) |
| 1345 | { |
| 1346 | _currentModescxx . . $ Konsole/Vt102Emulation#_currentModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m] = false; |
| 1347 | switch (m) |
| 1348 | { |
| 1349 | case MODE_132Columnscxx . . $ `lib/Vt102Emulation.h:49:9`!: |
| 1350 | if (getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(MODE_Allow132Columnscxx . . $ `lib/Vt102Emulation.h:50:9`!)) |
| 1351 | clearScreenAndSetColumnscxx . . $ Konsole/Vt102Emulation#clearScreenAndSetColumns(d4f767463ce0a6b3).(80); |
| 1352 | break; |
| 1353 | case MODE_Mouse1000cxx . . $ `lib/Vt102Emulation.h:41:9`! : |
| 1354 | case MODE_Mouse1001cxx . . $ `lib/Vt102Emulation.h:42:9`! : |
| 1355 | case MODE_Mouse1002cxx . . $ `lib/Vt102Emulation.h:43:9`! : |
| 1356 | case MODE_Mouse1003cxx . . $ `lib/Vt102Emulation.h:44:9`! : |
| 1357 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! programUsesMouseChangedcxx . . $ Konsole/Emulation#programUsesMouseChanged(b45ddcbc8423892c).(true); |
| 1358 | break; |
| 1359 | |
| 1360 | case MODE_BracketedPastecxx . . $ `lib/Vt102Emulation.h:51:9`!: |
| 1361 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! programBracketedPasteModeChangedcxx . . $ Konsole/Emulation#programBracketedPasteModeChanged(b45ddcbc8423892c).(false); |
| 1362 | break; |
| 1363 | |
| 1364 | case MODE_AppScreencxx . . $ `lib/Vt102Emulation.h:38:9`! : |
| 1365 | _screencxx . . $ Konsole/Emulation#_screen.[0]->clearSelectioncxx . . $ Konsole/Screen#clearSelection(49f6e7a06ebc5aa8).(); |
| 1366 | setScreencxx . . $ Konsole/Emulation#setScreen(d4f767463ce0a6b3).(0); |
| 1367 | break; |
| 1368 | } |
| 1369 | if (m < MODES_SCREENcxx . . $ `lib/Screen.h:41:9`! || m == MODE_NewLinecxx . . $ `lib/Screen.h:40:9`!) |
| 1370 | { |
| 1371 | _screencxx . . $ Konsole/Emulation#_screen.[0]->resetModecxx . . $ Konsole/Screen#resetMode(d4f767463ce0a6b3).(m); |
| 1372 | _screencxx . . $ Konsole/Emulation#_screen.[1]->resetModecxx . . $ Konsole/Screen#resetMode(d4f767463ce0a6b3).(m); |
| 1373 | } |
| 1374 | } |
| 1375 | |
| 1376 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::saveModecxx . . $ Konsole/Vt102Emulation#saveMode(d4f767463ce0a6b3).(int m) |
| 1377 | { |
| 1378 | _savedModescxx . . $ Konsole/Vt102Emulation#_savedModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m] = _currentModescxx . . $ Konsole/Vt102Emulation#_currentModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m]; |
| 1379 | } |
| 1380 | |
| 1381 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::restoreModecxx . . $ Konsole/Vt102Emulation#restoreMode(d4f767463ce0a6b3).(int m) |
| 1382 | { |
| 1383 | if (_savedModescxx . . $ Konsole/Vt102Emulation#_savedModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m]) |
| 1384 | setModecxx . . $ Konsole/Vt102Emulation#setMode(d4f767463ce0a6b3).(m); |
| 1385 | else |
| 1386 | resetModecxx . . $ Konsole/Vt102Emulation#resetMode(d4f767463ce0a6b3).(m); |
| 1387 | } |
| 1388 | |
| 1389 | bool Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::getModecxx . . $ Konsole/Vt102Emulation#getMode(83c267b20bac841a).(int m) |
| 1390 | { |
| 1391 | return _currentModescxx . . $ Konsole/Vt102Emulation#_currentModes..modecxx . . $ Konsole/Vt102Emulation#TerminalState#mode.[m]; |
| 1392 | } |
| 1393 | |
| 1394 | char Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::eraseCharcxx . . $ Konsole/Vt102Emulation#eraseChar(1b8b762cbef9c2c9).() const |
| 1395 | { |
| 1396 | KeyboardTranslatorcxx . . $ Konsole/KeyboardTranslator#::Entrycxx . . $ Konsole/KeyboardTranslator#Entry# entry = _keyTranslatorcxx . . $ Konsole/Emulation#_keyTranslator.->findEntrycxx . . $ Konsole/KeyboardTranslator#findEntry(814b9b3caf5a13a5).( |
| 1397 | Qtcxx . . $ Qt/::Key_Backspacecxx . . $ Qt/Key_Backspace., |
| 1398 | Qtcxx . . $ QFlags#QFlags(93d577a3e9528307).::NoModifiercxx . . $ Qt/NoModifier., |
| 1399 | KeyboardTranslatorcxx . . $ QFlags#QFlags(93d577a3e9528307).::NoStatecxx . . $ Konsole/KeyboardTranslator#NoState.); |
| 1400 | if ( entry.textcxx . . $ Konsole/KeyboardTranslator#Entry#text(7b12ae1618d6cad3).().countcxx . . $ QByteArray#count(455f465bc33b4cdf).() > 0 ) |
| 1401 | return entry.textcxx . . $ Konsole/KeyboardTranslator#Entry#text(7b12ae1618d6cad3).().atcxx . . $ QByteArray#at(ed855a77b1899856).(0); |
| 1402 | else |
| 1403 | return '\b'; |
| 1404 | } |
| 1405 | |
| 1406 | void Vt102Emulationcxx . . $ Konsole/Vt102Emulation#::reportDecodingErrorcxx . . $ Konsole/Vt102Emulation#reportDecodingError(49f6e7a06ebc5aa8).() |
| 1407 | { |
| 1408 | if (tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos. == 0 || ( tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos. == 1 && (tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer.[0] & 0xff) >= 32) ) |
| 1409 | return; |
| 1410 | qCDebugcxx . . $ `<external>/13903568758641964362/qloggingcategory.h:122:11`!(qtermwidgetLogger) <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Undecodable sequence:" <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). QStringcxx . . $ QString#::fromWCharArraycxx . . $ QString#fromWCharArray(294ea227275ebe78).(tokenBuffercxx . . $ Konsole/Vt102Emulation#tokenBuffer., tokenBufferPoscxx . . $ Konsole/Vt102Emulation#tokenBufferPos.); |
| 1411 | } |
| 1412 | |
| 1413 | //#include "Vt102Emulation.moc" |
| 1414 |