… | |
… | |
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-12" "7.0" "RXVT-UNICODE" |
132 | .TH rxvt 3 "2006-01-13" "7.0" "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 |
… | |
… | |
268 | .Vb 1 |
268 | .Vb 1 |
269 | \& URxvt.selection-autotransform.0: s/^(S+):(d+):?$/\e\ex1b:e \e\eQ$1\e\eE\e\ex0d:$2\e\ex0d/ |
269 | \& URxvt.selection-autotransform.0: s/^(S+):(d+):?$/\e\ex1b:e \e\eQ$1\e\eE\e\ex0d:$2\e\ex0d/ |
270 | .Ve |
270 | .Ve |
271 | .Sp |
271 | .Sp |
272 | Of course, this can be modified to suit your needs and your editor :) |
272 | Of course, this can be modified to suit your needs and your editor :) |
|
|
273 | .Sp |
|
|
274 | To expand the example above to typical perl error messages (\*(L"\s-1XXX\s0 at |
|
|
275 | \&\s-1FILENAME\s0 line \s-1YYY\s0.\*(R"), you need a slightly more elaborate solution: |
|
|
276 | .Sp |
|
|
277 | .Vb 2 |
|
|
278 | \& URxvt.selection.pattern-0: ( at .*? line \e\ed+\e\e.) |
|
|
279 | \& URxvt.selection-autotransform.0: s/^ at (.*?) line (\e\ed+)\e\e.$/\ex1b:e \e\eQ$1\eE\e\ex0d:$2\e\ex0d/ |
|
|
280 | .Ve |
|
|
281 | .Sp |
|
|
282 | The first line tells the selection code to treat the unchanging part of |
|
|
283 | every error message as a selection pattern, and the second line transforms |
|
|
284 | the message into vi commands to load the file. |
273 | .IP "mark-urls" 4 |
285 | .IP "mark-urls" 4 |
274 | .IX Item "mark-urls" |
286 | .IX Item "mark-urls" |
275 | Uses per-line display filtering (\f(CW\*(C`on_line_update\*(C'\fR) to underline urls and |
287 | Uses per-line display filtering (\f(CW\*(C`on_line_update\*(C'\fR) to underline urls and |
276 | make them clickable. When middle\-clicked, the program specified in the |
288 | make them clickable. When middle\-clicked, the program specified in the |
277 | resource \f(CW\*(C`urlLauncher\*(C'\fR (default \f(CW\*(C`x\-www\-browser\*(C'\fR) will be started with |
289 | resource \f(CW\*(C`urlLauncher\*(C'\fR (default \f(CW\*(C`x\-www\-browser\*(C'\fR) will be started with |