… | |
… | |
397 | C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, |
397 | C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, |
398 | C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , |
398 | C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , |
399 | C0_DLE, C0_DC1, C0_DC2, D0_DC3, C0_DC4, C0_NAK, C0_SYN, C0_ETB, |
399 | C0_DLE, C0_DC1, C0_DC2, D0_DC3, C0_DC4, C0_NAK, C0_SYN, C0_ETB, |
400 | C0_CAN, C0_EM , C0_SUB, C0_ESC, C0_IS4, C0_IS3, C0_IS2, C0_IS1, |
400 | C0_CAN, C0_EM , C0_SUB, C0_ESC, C0_IS4, C0_IS3, C0_IS2, C0_IS1, |
401 | }; |
401 | }; |
|
|
402 | |
|
|
403 | struct string_term |
|
|
404 | { |
|
|
405 | unsigned char v[3]; |
|
|
406 | }; |
|
|
407 | |
402 | #define CHAR_ST 0x9c /* 0234 */ |
408 | #define CHAR_ST 0x9c /* 0234 */ |
403 | |
409 | |
404 | /* |
410 | /* |
405 | * XTerm Operating System Commands: ESC ] Ps;Pt (ST|BEL) |
411 | * XTerm Operating System Commands: ESC ] Ps;Pt (ST|BEL) |
406 | * colour extensions by Christian W. Zuckschwerdt <zany@triq.net> |
412 | * colour extensions by Christian W. Zuckschwerdt <zany@triq.net> |
… | |
… | |
1364 | void process_nonprinting (unicode_t ch); |
1370 | void process_nonprinting (unicode_t ch); |
1365 | void process_escape_vt52 (unicode_t ch); |
1371 | void process_escape_vt52 (unicode_t ch); |
1366 | void process_escape_seq (); |
1372 | void process_escape_seq (); |
1367 | void process_csi_seq (); |
1373 | void process_csi_seq (); |
1368 | void process_window_ops (const int *args, unsigned int nargs); |
1374 | void process_window_ops (const int *args, unsigned int nargs); |
1369 | char *get_to_st (unicode_t &ends_how); |
1375 | char *get_to_st (string_term &st); |
1370 | void process_dcs_seq (); |
1376 | void process_dcs_seq (); |
1371 | void process_osc_seq (); |
1377 | void process_osc_seq (); |
1372 | void process_color_seq (int report, int color, const char *str, char resp); |
1378 | void process_color_seq (int report, int color, const char *str, string_term &st); |
1373 | void process_xterm_seq (int op, char *str, char resp); |
1379 | void process_xterm_seq (int op, char *str, string_term &st); |
1374 | unsigned int map_rgb24_color (unsigned int r, unsigned int g, unsigned int b, unsigned int a); |
1380 | unsigned int map_rgb24_color (unsigned int r, unsigned int g, unsigned int b, unsigned int a); |
1375 | int privcases (int mode, unsigned long bit); |
1381 | int privcases (int mode, unsigned long bit); |
1376 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1382 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1377 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1383 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1378 | void set_cursor_style (int style); |
1384 | void set_cursor_style (int style); |