… | |
… | |
419 | URxvt_boldItalicFont = 713, |
419 | URxvt_boldItalicFont = 713, |
420 | |
420 | |
421 | URxvt_view_up = 720, |
421 | URxvt_view_up = 720, |
422 | URxvt_view_down = 721, |
422 | URxvt_view_down = 721, |
423 | |
423 | |
424 | URxvt_perl = 777, |
424 | URxvt_perl = 777, // for use by perl extensions, starts with "extension-name;" |
425 | }; |
425 | }; |
426 | |
426 | |
427 | /* Words starting with `Color_' are colours. Others are counts */ |
427 | /* Words starting with `Color_' are colours. Others are counts */ |
428 | /* |
428 | /* |
429 | * The PixColor and rendition colour usage should probably be decoupled |
429 | * The PixColor and rendition colour usage should probably be decoupled |
… | |
… | |
550 | |
550 | |
551 | // do not change these constants lightly, there are many interdependencies |
551 | // do not change these constants lightly, there are many interdependencies |
552 | #define IMBUFSIZ 128 // input modifier buffer sizes |
552 | #define IMBUFSIZ 128 // input modifier buffer sizes |
553 | #define KBUFSZ 512 // size of keyboard mapping buffer |
553 | #define KBUFSZ 512 // size of keyboard mapping buffer |
554 | #define CBUFSIZ 2048 // size of command buffer |
554 | #define CBUFSIZ 2048 // size of command buffer |
|
|
555 | #define CBUFCNT 8 // never call pty_fill/cmd_parse more than this often in a row |
555 | #define UBUFSIZ 2048 // character buffer |
556 | #define UBUFSIZ 2048 // character buffer |
556 | |
557 | |
557 | #if ENABLE_FRILLS |
558 | #if ENABLE_FRILLS |
558 | # include <X11/Xmd.h> |
559 | # include <X11/Xmd.h> |
559 | typedef struct _mwmhints { |
560 | typedef struct _mwmhints { |
… | |
… | |
801 | * +------------+·display·+·= term_start |
802 | * +------------+·display·+·= term_start |
802 | * | terminal | display | |
803 | * | terminal | display | |
803 | * | terminal +---------+ |
804 | * | terminal +---------+ |
804 | * | terminal | |
805 | * | terminal | |
805 | * | terminal | |
806 | * | terminal | |
806 | * +------------+···········= term_stat + nrow - 1 |
807 | * +------------+···········= term_start + nrow - 1 |
807 | * | |
808 | * | |
808 | * | |
809 | * | |
809 | * END······················= total_rows |
810 | * END······················= total_rows |
810 | */ |
811 | */ |
811 | |
812 | |
… | |
… | |
847 | * clicks: 1, 2 or 3 clicks - 4 indicates a special condition of 1 where |
848 | * clicks: 1, 2 or 3 clicks - 4 indicates a special condition of 1 where |
848 | * nothing is selected |
849 | * nothing is selected |
849 | * beg: row/column of beginning of selection : never past mark |
850 | * beg: row/column of beginning of selection : never past mark |
850 | * mark: row/column of initial click : never past end |
851 | * mark: row/column of initial click : never past end |
851 | * end: row/column of one character past end of selection |
852 | * end: row/column of one character past end of selection |
852 | * * Note: -nsaved <= beg.row <= mark.row <= end.row < nrow |
853 | * * Note: top_row <= beg.row <= mark.row <= end.row < nrow |
853 | * * Note: col == -1 ==> we're left of screen |
854 | * * Note: col == -1 ==> we're left of screen |
854 | * |
855 | * |
855 | */ |
856 | */ |
856 | typedef struct { |
857 | typedef struct { |
857 | row_col_t cur; /* cursor position on the screen */ |
858 | row_col_t cur; /* cursor position on the screen */ |
… | |
… | |
943 | |
944 | |
944 | unsigned char want_refresh:1, |
945 | unsigned char want_refresh:1, |
945 | current_screen:1, /* primary or secondary */ |
946 | current_screen:1, /* primary or secondary */ |
946 | num_scr_allow:1, |
947 | num_scr_allow:1, |
947 | bypass_keystate:1, |
948 | bypass_keystate:1, |
|
|
949 | #ifdef ENABLE_FRILLS |
|
|
950 | urgency_hint:1, |
|
|
951 | #endif |
948 | #ifdef CURSOR_BLINK |
952 | #ifdef CURSOR_BLINK |
949 | hidden_cursor:1, |
953 | hidden_cursor:1, |
950 | #endif |
954 | #endif |
951 | #ifdef TEXT_BLINK |
955 | #ifdef TEXT_BLINK |
952 | hidden_text:1, |
956 | hidden_text:1, |
… | |
… | |
1189 | wchar_t next_char () NOTHROW; |
1193 | wchar_t next_char () NOTHROW; |
1190 | wchar_t cmd_getc () THROW ((class out_of_input)); |
1194 | wchar_t cmd_getc () THROW ((class out_of_input)); |
1191 | uint32_t next_octet () NOTHROW; |
1195 | uint32_t next_octet () NOTHROW; |
1192 | uint32_t cmd_get8 () THROW ((class out_of_input)); |
1196 | uint32_t cmd_get8 () THROW ((class out_of_input)); |
1193 | |
1197 | |
1194 | bool cmd_parse (); |
1198 | void cmd_parse (); |
1195 | void mouse_report (XButtonEvent &ev); |
1199 | void mouse_report (XButtonEvent &ev); |
1196 | void button_press (XButtonEvent &ev); |
1200 | void button_press (XButtonEvent &ev); |
1197 | void button_release (XButtonEvent &ev); |
1201 | void button_release (XButtonEvent &ev); |
1198 | void focus_in (); |
1202 | void focus_in (); |
1199 | void focus_out (); |
1203 | void focus_out (); |
|
|
1204 | void set_urgency (bool enable); |
1200 | void update_fade_color (unsigned int idx); |
1205 | void update_fade_color (unsigned int idx); |
1201 | #ifdef PRINTPIPE |
1206 | #ifdef PRINTPIPE |
1202 | FILE *popen_printer (); |
1207 | FILE *popen_printer (); |
1203 | int pclose_printer (FILE *stream); |
1208 | int pclose_printer (FILE *stream); |
1204 | #endif |
1209 | #endif |
… | |
… | |
1227 | void init_command (const char *const *argv); |
1232 | void init_command (const char *const *argv); |
1228 | void run_command (const char *const *argv); |
1233 | void run_command (const char *const *argv); |
1229 | int run_child (const char *const *argv); |
1234 | int run_child (const char *const *argv); |
1230 | void color_aliases (int idx); |
1235 | void color_aliases (int idx); |
1231 | void create_windows (int argc, const char *const *argv); |
1236 | void create_windows (int argc, const char *const *argv); |
1232 | void Get_Colours (); |
1237 | void get_colours (); |
1233 | void get_ourmods (); |
1238 | void get_ourmods (); |
1234 | // main.C |
1239 | // main.C |
1235 | void tt_winch (); |
1240 | void tt_winch (); |
1236 | rxvt_term (); |
1241 | rxvt_term (); |
1237 | ~rxvt_term (); |
1242 | ~rxvt_term (); |