… | |
… | |
127 | .\} |
127 | .\} |
128 | .rm #[ #] #H #V #F C |
128 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
129 | .\" ======================================================================== |
130 | .\" |
130 | .\" |
131 | .IX Title "rxvt 3" |
131 | .IX Title "rxvt 3" |
132 | .TH rxvt 3 "2006-01-22" "7.2" "RXVT-UNICODE" |
132 | .TH rxvt 3 "2006-01-25" "7.2" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | @@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter |
134 | @@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter |
135 | .SH "SYNOPSIS" |
135 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
137 | .Vb 1 |
137 | .Vb 1 |
… | |
… | |
204 | the match. For example, the followign adds a regex that matches everything |
204 | the match. For example, the followign adds a regex that matches everything |
205 | between two vertical bars: |
205 | between two vertical bars: |
206 | .Sp |
206 | .Sp |
207 | .Vb 1 |
207 | .Vb 1 |
208 | \& URxvt.selection.pattern-0: \e\e|([^|]+)\e\e| |
208 | \& URxvt.selection.pattern-0: \e\e|([^|]+)\e\e| |
|
|
209 | .Ve |
|
|
210 | .Sp |
|
|
211 | Another example: Programs I use often output \*(L"absolute path: \*(R" at the |
|
|
212 | beginning of a line when they process multiple files. The following |
|
|
213 | pattern matches the filename (note, there is a single space at the very |
|
|
214 | end): |
|
|
215 | .Sp |
|
|
216 | .Vb 1 |
|
|
217 | \& URxvt.selection.pattern-0: ^(/[^:]+):\e |
209 | .Ve |
218 | .Ve |
210 | .Sp |
219 | .Sp |
211 | You can look at the source of the selection extension to see more |
220 | You can look at the source of the selection extension to see more |
212 | interesting uses, such as parsing a line from beginning to end. |
221 | interesting uses, such as parsing a line from beginning to end. |
213 | .Sp |
222 | .Sp |
… | |
… | |
349 | .IX Item "mark-urls" |
358 | .IX Item "mark-urls" |
350 | Uses per-line display filtering (\f(CW\*(C`on_line_update\*(C'\fR) to underline urls and |
359 | Uses per-line display filtering (\f(CW\*(C`on_line_update\*(C'\fR) to underline urls and |
351 | make them clickable. When middle\-clicked, the program specified in the |
360 | make them clickable. When middle\-clicked, the program specified in the |
352 | resource \f(CW\*(C`urlLauncher\*(C'\fR (default \f(CW\*(C`x\-www\-browser\*(C'\fR) will be started with |
361 | resource \f(CW\*(C`urlLauncher\*(C'\fR (default \f(CW\*(C`x\-www\-browser\*(C'\fR) will be started with |
353 | the \s-1URL\s0 as first argument. |
362 | the \s-1URL\s0 as first argument. |
|
|
363 | .IP "xim-onthespot" 4 |
|
|
364 | .IX Item "xim-onthespot" |
|
|
365 | This (experimental) perl extension implements OnTheSpot editing. It does |
|
|
366 | not work perfectly, and some input methods don't seem to work well with |
|
|
367 | OnTheSpot editing in general, but it seems to work at leats for \s-1SCIM\s0 and |
|
|
368 | kinput2. |
|
|
369 | .Sp |
|
|
370 | You enable it by specifying this extension and a preedit style of |
|
|
371 | \&\f(CW\*(C`OnTheSpot\*(C'\fR, i.e.: |
|
|
372 | .Sp |
|
|
373 | .Vb 1 |
|
|
374 | \& @@RXVT_NAME@@ -pt OnTheSpot -pe xim-onthespot |
|
|
375 | .Ve |
354 | .IP "automove-background" 4 |
376 | .IP "automove-background" 4 |
355 | .IX Item "automove-background" |
377 | .IX Item "automove-background" |
356 | This is basically a one-line extension that dynamically changes the background pixmap offset |
378 | This is basically a one-line extension that dynamically changes the background pixmap offset |
357 | to the window position, in effect creating the same effect as pseudo transparency with |
379 | to the window position, in effect creating the same effect as pseudo transparency with |
358 | a custom pixmap. No scaling is supported in this mode. Exmaple: |
380 | a custom pixmap. No scaling is supported in this mode. Exmaple: |
… | |
… | |
493 | Called at the very end of initialisation of a new terminal, just before |
515 | Called at the very end of initialisation of a new terminal, just before |
494 | trying to map (display) the toplevel and returning to the mainloop. |
516 | trying to map (display) the toplevel and returning to the mainloop. |
495 | .ie n .IP "on_destroy $term" 4 |
517 | .ie n .IP "on_destroy $term" 4 |
496 | .el .IP "on_destroy \f(CW$term\fR" 4 |
518 | .el .IP "on_destroy \f(CW$term\fR" 4 |
497 | .IX Item "on_destroy $term" |
519 | .IX Item "on_destroy $term" |
498 | Called whenever something tries to destroy terminal, before doing anything |
520 | Called whenever something tries to destroy terminal, when the terminal is |
499 | yet. If this hook returns true, then destruction is skipped, but this is |
521 | still fully functional (not for long, though). |
500 | rarely a good idea. |
|
|
501 | .ie n .IP "on_reset $term" 4 |
522 | .ie n .IP "on_reset $term" 4 |
502 | .el .IP "on_reset \f(CW$term\fR" 4 |
523 | .el .IP "on_reset \f(CW$term\fR" 4 |
503 | .IX Item "on_reset $term" |
524 | .IX Item "on_reset $term" |
504 | Called after the screen is \*(L"reset\*(R" for any reason, such as resizing or |
525 | Called after the screen is \*(L"reset\*(R" for any reason, such as resizing or |
505 | control sequences. Here is where you can react on changes to size-related |
526 | control sequences. Here is where you can react on changes to size-related |