… | |
… | |
121 | <dd> |
121 | <dd> |
122 | <pre> |
122 | <pre> |
123 | URxvt.selection.pattern-0: \\|([^|]+)\\|</pre> |
123 | URxvt.selection.pattern-0: \\|([^|]+)\\|</pre> |
124 | </dd> |
124 | </dd> |
125 | <dd> |
125 | <dd> |
|
|
126 | <p>Another example: Programs I use often output ``absolute path: '' at the |
|
|
127 | beginning of a line when they process multiple files. The following |
|
|
128 | pattern matches the filename (note, there is a single space at the very |
|
|
129 | end):</p> |
|
|
130 | </dd> |
|
|
131 | <dd> |
|
|
132 | <pre> |
|
|
133 | URxvt.selection.pattern-0: ^(/[^:]+):\</pre> |
|
|
134 | </dd> |
|
|
135 | <dd> |
126 | <p>You can look at the source of the selection extension to see more |
136 | <p>You can look at the source of the selection extension to see more |
127 | interesting uses, such as parsing a line from beginning to end.</p> |
137 | interesting uses, such as parsing a line from beginning to end.</p> |
128 | </dd> |
138 | </dd> |
129 | <dd> |
139 | <dd> |
130 | <p>This extension also offers following bindable keyboard commands:</p> |
140 | <p>This extension also offers following bindable keyboard commands:</p> |
… | |
… | |
291 | <dd> |
301 | <dd> |
292 | Uses per-line display filtering (<code>on_line_update</code>) to underline urls and |
302 | Uses per-line display filtering (<code>on_line_update</code>) to underline urls and |
293 | make them clickable. When middle-clicked, the program specified in the |
303 | make them clickable. When middle-clicked, the program specified in the |
294 | resource <code>urlLauncher</code> (default <code>x-www-browser</code>) will be started with |
304 | resource <code>urlLauncher</code> (default <code>x-www-browser</code>) will be started with |
295 | the URL as first argument. |
305 | the URL as first argument. |
|
|
306 | </dd> |
|
|
307 | <p></p> |
|
|
308 | <dt><strong><a name="item_xim_2donthespot">xim-onthespot</a></strong><br /> |
|
|
309 | </dt> |
|
|
310 | <dd> |
|
|
311 | This (experimental) perl extension implements OnTheSpot editing. It does |
|
|
312 | not work perfectly, and some input methods don't seem to work well with |
|
|
313 | OnTheSpot editing in general, but it seems to work at leats for SCIM and |
|
|
314 | kinput2. |
|
|
315 | </dd> |
|
|
316 | <dd> |
|
|
317 | <p>You enable it by specifying this extension and a preedit style of |
|
|
318 | <code>OnTheSpot</code>, i.e.:</p> |
|
|
319 | </dd> |
|
|
320 | <dd> |
|
|
321 | <pre> |
|
|
322 | rxvt -pt OnTheSpot -pe xim-onthespot</pre> |
296 | </dd> |
323 | </dd> |
297 | <p></p> |
324 | <p></p> |
298 | <dt><strong><a name="item_automove_2dbackground">automove-background</a></strong><br /> |
325 | <dt><strong><a name="item_automove_2dbackground">automove-background</a></strong><br /> |
299 | </dt> |
326 | </dt> |
300 | <dd> |
327 | <dd> |
… | |
… | |
477 | </dd> |
504 | </dd> |
478 | <p></p> |
505 | <p></p> |
479 | <dt><strong><a name="item_on_destroy__24term">on_destroy $term</a></strong><br /> |
506 | <dt><strong><a name="item_on_destroy__24term">on_destroy $term</a></strong><br /> |
480 | </dt> |
507 | </dt> |
481 | <dd> |
508 | <dd> |
482 | Called whenever something tries to destroy terminal, before doing anything |
509 | Called whenever something tries to destroy terminal, when the terminal is |
483 | yet. If this hook returns true, then destruction is skipped, but this is |
510 | still fully functional (not for long, though). |
484 | rarely a good idea. |
|
|
485 | </dd> |
511 | </dd> |
486 | <p></p> |
512 | <p></p> |
487 | <dt><strong><a name="item_on_reset__24term">on_reset $term</a></strong><br /> |
513 | <dt><strong><a name="item_on_reset__24term">on_reset $term</a></strong><br /> |
488 | </dt> |
514 | </dt> |
489 | <dd> |
515 | <dd> |