… | |
… | |
141 | |
141 | |
142 | #if defined (NO_OLD_SELECTION) && defined(NO_NEW_SELECTION) |
142 | #if defined (NO_OLD_SELECTION) && defined(NO_NEW_SELECTION) |
143 | # error if you disable both selection styles, how can you select, silly? |
143 | # error if you disable both selection styles, how can you select, silly? |
144 | #endif |
144 | #endif |
145 | |
145 | |
146 | #define APL_CLASS "XTerm" /* class name */ |
|
|
147 | #define APL_SUBCLASS "Rxvt" /* also check resources under this name */ |
|
|
148 | #define APL_NAME "rxvt" /* normal name */ |
|
|
149 | |
|
|
150 | /* COLORTERM, TERM environment variables */ |
146 | /* COLORTERM, TERM environment variables */ |
151 | #define COLORTERMENV "rxvt" |
147 | #define COLORTERMENV "rxvt" |
152 | #ifdef XPM_BACKGROUND |
148 | #ifdef XPM_BACKGROUND |
153 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
149 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
154 | #else |
150 | #else |
155 | # define COLORTERMENVFULL COLORTERMENV |
151 | # define COLORTERMENVFULL COLORTERMENV |
156 | #endif |
152 | #endif |
157 | #ifndef TERMENV |
153 | #ifndef TERMENV |
158 | # define TERMENV "xterm" |
154 | # define TERMENV "rxvt" |
159 | #endif |
155 | #endif |
160 | |
156 | |
161 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
157 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
162 | # define NO_MOUSE_REPORT_SCROLLBAR |
158 | # define NO_MOUSE_REPORT_SCROLLBAR |
163 | #endif |
159 | #endif |
… | |
… | |
1159 | void scr_blank_screen_mem (text_t **tp, rend_t **rp, unsigned int row, rend_t efs); |
1155 | void scr_blank_screen_mem (text_t **tp, rend_t **rp, unsigned int row, rend_t efs); |
1160 | int scr_scroll_text (int row1, int row2, int count, int spec); |
1156 | int scr_scroll_text (int row1, int row2, int count, int spec); |
1161 | void scr_reset (); |
1157 | void scr_reset (); |
1162 | void scr_reset_realloc (); |
1158 | void scr_reset_realloc (); |
1163 | void scr_release (); |
1159 | void scr_release (); |
1164 | void scr_clear (); |
1160 | void scr_clear (bool really = true); |
1165 | void scr_refresh (unsigned char refresh_type); |
1161 | void scr_refresh (unsigned char refresh_type); |
1166 | bool scr_refresh_rend (rend_t mask, rend_t value); |
1162 | bool scr_refresh_rend (rend_t mask, rend_t value); |
1167 | void scr_erase_screen (int mode); |
1163 | void scr_erase_screen (int mode); |
1168 | void scr_touch (bool refresh); |
1164 | void scr_touch (bool refresh); |
1169 | void scr_expose (int x, int y, int width, int height, bool refresh); |
1165 | void scr_expose (int x, int y, int width, int height, bool refresh); |