… | |
… | |
148 | |
148 | |
149 | /* |
149 | /* |
150 | * Define defaults for backspace and delete keys - unless they have been |
150 | * Define defaults for backspace and delete keys - unless they have been |
151 | * configured out with --disable-backspace-key / --disable-delete-key |
151 | * configured out with --disable-backspace-key / --disable-delete-key |
152 | */ |
152 | */ |
153 | //#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ |
153 | #define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ |
154 | #define DEFAULT_BACKSPACE "\010" /* wrong, but match terminfo etc. */ |
|
|
155 | #define DEFAULT_DELETE "\033[3~" |
154 | #define DEFAULT_DELETE "\033[3~" |
156 | |
155 | |
157 | /* |
156 | /* |
158 | * To use |
157 | * To use |
159 | * Home = "\E[1~", End = "\E[4~" |
158 | * Home = "\E[1~", End = "\E[4~" |
… | |
… | |
170 | #ifndef NO_RESOURCES |
169 | #ifndef NO_RESOURCES |
171 | # define KEYSYM_RESOURCE |
170 | # define KEYSYM_RESOURCE |
172 | #endif |
171 | #endif |
173 | |
172 | |
174 | /* |
173 | /* |
175 | * Modifier/s to use to allow up/down arrows and Priot/Next keys |
174 | * Modifier/s to use to allow up/down arrows and Prior/Next keys |
176 | * to scroll single or page-fulls |
175 | * to scroll single or page-fulls |
177 | */ |
176 | */ |
178 | #define SCROLL_ON_SHIFT |
177 | #define SCROLL_ON_SHIFT |
179 | /* #define SCROLL_ON_CTRL */ |
178 | /* #define SCROLL_ON_CTRL */ |
180 | /* #define SCROLL_ON_META */ |
179 | /* #define SCROLL_ON_META */ |
… | |
… | |
216 | |
215 | |
217 | /* |
216 | /* |
218 | * Default separating chars for multiple-click selection |
217 | * Default separating chars for multiple-click selection |
219 | * Space and tab are separate separating characters and are not settable |
218 | * Space and tab are separate separating characters and are not settable |
220 | */ |
219 | */ |
221 | #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}~" |
220 | #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" |
222 | |
221 | |
223 | /* |
222 | /* |
224 | * Add run-time support for changing the cutchars for double click selection |
223 | * Add run-time support for changing the cutchars for double click selection |
225 | */ |
224 | */ |
226 | #define CUTCHAR_RESOURCE |
225 | #define CUTCHAR_RESOURCE |
… | |
… | |
248 | #define JUMP_MOUSE_WHEEL |
247 | #define JUMP_MOUSE_WHEEL |
249 | |
248 | |
250 | /* |
249 | /* |
251 | * Set delay periods for continuous scrolling with scrollbar buttons |
250 | * Set delay periods for continuous scrolling with scrollbar buttons |
252 | */ |
251 | */ |
253 | /* #define SCROLLBAR_INITIAL_DELAY 40 */ |
252 | /* #define SCROLLBAR_INITIAL_DELAY 0.33 */ |
254 | /* #define SCROLLBAR_CONTINUOUS_DELAY 2 */ |
253 | /* #define SCROLLBAR_CONTINUOUS_DELAY 0.05 */ |
255 | |
254 | |
256 | /* |
255 | /* |
257 | * The speed of selection scrolling is proportional to the distance |
256 | * The speed of selection scrolling is proportional to the distance |
258 | * the mouse pointer is out of the text window. This is the max |
257 | * the mouse pointer is out of the text window. This is the max |
259 | * number of lines to scroll at a time. |
258 | * number of lines to scroll at a time. |