… | |
… | |
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-16" "7.0" "RXVT-UNICODE" |
132 | .TH rxvt 3 "2006-01-17" "7.1" "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 |
… | |
… | |
203 | .Ve |
203 | .Ve |
204 | .Sp |
204 | .Sp |
205 | You can look at the source of the selection extension to see more |
205 | You can look at the source of the selection extension to see more |
206 | interesting uses, such as parsing a line from beginning to end. |
206 | interesting uses, such as parsing a line from beginning to end. |
207 | .Sp |
207 | .Sp |
208 | This extension also offers the following bindable keyboard command: |
208 | This extension also offers following bindable keyboard commands: |
209 | .RS 4 |
209 | .RS 4 |
210 | .IP "rot13" 4 |
210 | .IP "rot13" 4 |
211 | .IX Item "rot13" |
211 | .IX Item "rot13" |
212 | Rot\-13 the selection when activated. Used via keyboard trigger: |
212 | Rot\-13 the selection when activated. Used via keyboard trigger: |
213 | .Sp |
213 | .Sp |
214 | .Vb 1 |
214 | .Vb 1 |
215 | \& URxvt.keysym.C-M-r: perl:selection:rot13 |
215 | \& URxvt.keysym.C-M-r: perl:selection:rot13 |
|
|
216 | .Ve |
|
|
217 | .IP "remote-pastebin" 4 |
|
|
218 | .IX Item "remote-pastebin" |
|
|
219 | Upload the selection as textfile to a remote site. |
|
|
220 | .Sp |
|
|
221 | .Vb 1 |
|
|
222 | \& URxvt.keysym.C-M-e: perl:selection:remote-pastebin |
|
|
223 | .Ve |
|
|
224 | .Sp |
|
|
225 | To set the command to upload the file set this resource: |
|
|
226 | .Sp |
|
|
227 | .Vb 1 |
|
|
228 | \& URxvt.selection-pastebin-cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/. |
|
|
229 | .Ve |
|
|
230 | .Sp |
|
|
231 | The % is the placeholder for the textfile. The name of the textfile is the hex encoded |
|
|
232 | md5 sum of the selection. |
|
|
233 | After an successful upload the selection will be replaced by the following url |
|
|
234 | (the % is the placeholder for the filename): |
|
|
235 | .Sp |
|
|
236 | .Vb 1 |
|
|
237 | \& URxvt.selection-pastebin-url: http://www.ta-sa.org/files/txt/% |
216 | .Ve |
238 | .Ve |
217 | .RE |
239 | .RE |
218 | .RS 4 |
240 | .RS 4 |
219 | .RE |
241 | .RE |
220 | .IP "option-popup (enabled by default)" 4 |
242 | .IP "option-popup (enabled by default)" 4 |
… | |
… | |
578 | .Sp |
600 | .Sp |
579 | Using this function has the advantage that its output ends up in the |
601 | Using this function has the advantage that its output ends up in the |
580 | correct place, e.g. on stderr of the connecting urxvtc client. |
602 | correct place, e.g. on stderr of the connecting urxvtc client. |
581 | .Sp |
603 | .Sp |
582 | Messages have a size limit of 1023 bytes currently. |
604 | Messages have a size limit of 1023 bytes currently. |
583 | .IP "$is_safe = urxvt::safe" 4 |
|
|
584 | .IX Item "$is_safe = urxvt::safe" |
|
|
585 | Returns true when it is safe to do potentially unsafe things, such as |
|
|
586 | evaluating perl code specified by the user. This is true when urxvt was |
|
|
587 | started setuid or setgid. |
|
|
588 | .IP "$time = urxvt::NOW" 4 |
605 | .IP "$time = urxvt::NOW" 4 |
589 | .IX Item "$time = urxvt::NOW" |
606 | .IX Item "$time = urxvt::NOW" |
590 | Returns the \*(L"current time\*(R" (as per the event loop). |
607 | Returns the \*(L"current time\*(R" (as per the event loop). |
591 | .IP "urxvt::CurrentTime" 4 |
608 | .IP "urxvt::CurrentTime" 4 |
592 | .IX Item "urxvt::CurrentTime" |
609 | .IX Item "urxvt::CurrentTime" |