… | |
… | |
897 | int saveLines; /* number of lines that fit in scrollback */ |
897 | int saveLines; /* number of lines that fit in scrollback */ |
898 | int total_rows; /* total number of rows in this terminal */ |
898 | int total_rows; /* total number of rows in this terminal */ |
899 | int term_start; /* term lines start here */ |
899 | int term_start; /* term lines start here */ |
900 | int view_start; /* scrollback view starts here */ |
900 | int view_start; /* scrollback view starts here */ |
901 | int top_row; /* topmost row index of scrollback */ |
901 | int top_row; /* topmost row index of scrollback */ |
902 | Window parent[6]; /* parent identifiers - we're parent[0] */ |
902 | Window parent; /* parent identifier */ |
903 | Window vt; /* vt100 window */ |
903 | Window vt; /* vt100 window */ |
904 | GC gc; /* GC for drawing */ |
904 | GC gc; /* GC for drawing */ |
905 | Pixmap pixmap; |
905 | Pixmap pixmap; |
906 | rxvt_drawable *drawable; |
906 | rxvt_drawable *drawable; |
907 | rxvt_fontset *fontset[4]; |
907 | rxvt_fontset *fontset[4]; |
… | |
… | |
1089 | /* ---------- */ |
1089 | /* ---------- */ |
1090 | Atom *xa; |
1090 | Atom *xa; |
1091 | /* ---------- */ |
1091 | /* ---------- */ |
1092 | Time selection_time, |
1092 | Time selection_time, |
1093 | clipboard_time; |
1093 | clipboard_time; |
|
|
1094 | rxvt_selection *selection_req; |
1094 | pid_t cmd_pid; /* process id of child */ |
1095 | pid_t cmd_pid; /* process id of child */ |
1095 | /* ---------- */ |
1096 | /* ---------- */ |
1096 | struct mouse_event MEvent; |
1097 | struct mouse_event MEvent; |
1097 | XComposeStatus compose; |
1098 | XComposeStatus compose; |
1098 | static struct termios def_tio; |
1099 | static struct termios def_tio; |
… | |
… | |
1288 | void child_cb (ev::child &w, int revents); ev::child child_ev; |
1289 | void child_cb (ev::child &w, int revents); ev::child child_ev; |
1289 | void destroy_cb (ev::idle &w, int revents); ev::idle destroy_ev; |
1290 | void destroy_cb (ev::idle &w, int revents); ev::idle destroy_ev; |
1290 | void refresh_check (); |
1291 | void refresh_check (); |
1291 | void flush (); |
1292 | void flush (); |
1292 | void flush_cb (ev::timer &w, int revents); ev::timer flush_ev; |
1293 | void flush_cb (ev::timer &w, int revents); ev::timer flush_ev; |
|
|
1294 | void cmdbuf_reify (); |
|
|
1295 | void cmdbuf_append (const char *str, size_t count); |
1293 | bool pty_fill (); |
1296 | bool pty_fill (); |
1294 | void pty_cb (ev::io &w, int revents); ev::io pty_ev; |
1297 | void pty_cb (ev::io &w, int revents); ev::io pty_ev; |
1295 | |
1298 | |
1296 | #ifdef CURSOR_BLINK |
1299 | #ifdef CURSOR_BLINK |
1297 | void cursor_blink_cb (ev::timer &w, int revents); ev::timer cursor_blink_ev; |
1300 | void cursor_blink_cb (ev::timer &w, int revents); ev::timer cursor_blink_ev; |
… | |
… | |
1356 | #endif |
1359 | #endif |
1357 | |
1360 | |
1358 | // command.C |
1361 | // command.C |
1359 | void key_press (XKeyEvent &ev); |
1362 | void key_press (XKeyEvent &ev); |
1360 | void key_release (XKeyEvent &ev); |
1363 | void key_release (XKeyEvent &ev); |
1361 | unsigned int cmd_write (const char *str, unsigned int count); |
|
|
1362 | |
1364 | |
1363 | wchar_t next_char () NOTHROW; |
1365 | wchar_t next_char () NOTHROW; |
1364 | wchar_t cmd_getc () THROW ((class out_of_input)); |
1366 | wchar_t cmd_getc () THROW ((class out_of_input)); |
1365 | uint32_t next_octet () NOTHROW; |
1367 | uint32_t next_octet () NOTHROW; |
1366 | uint32_t cmd_get8 () THROW ((class out_of_input)); |
1368 | uint32_t cmd_get8 () THROW ((class out_of_input)); |
… | |
… | |
1393 | void process_color_seq (int report, int color, const char *str, char resp); |
1395 | void process_color_seq (int report, int color, const char *str, char resp); |
1394 | void process_xterm_seq (int op, char *str, char resp); |
1396 | void process_xterm_seq (int op, char *str, char resp); |
1395 | int privcases (int mode, unsigned long bit); |
1397 | int privcases (int mode, unsigned long bit); |
1396 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1398 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1397 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1399 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1398 | void process_graphics (); |
|
|
1399 | // init.C |
1400 | // init.C |
1400 | void init_vars (); |
1401 | void init_vars (); |
1401 | const char **init_resources (int argc, const char *const *argv); |
1402 | const char **init_resources (int argc, const char *const *argv); |
1402 | void init (int argc, const char *const *argv, stringvec *envv); |
1403 | void init (int argc, const char *const *argv, stringvec *envv); |
1403 | void init_env (); |
1404 | void init_env (); |