… | |
… | |
120 | <dd> |
120 | <dd> |
121 | <p>You can look at the source of the selection extension to see more |
121 | <p>You can look at the source of the selection extension to see more |
122 | interesting uses, such as parsing a line from beginning to end.</p> |
122 | interesting uses, such as parsing a line from beginning to end.</p> |
123 | </dd> |
123 | </dd> |
124 | <dd> |
124 | <dd> |
125 | <p>This extension also offers the following bindable keyboard command:</p> |
125 | <p>This extension also offers following bindable keyboard commands:</p> |
126 | </dd> |
126 | </dd> |
127 | <dl> |
127 | <dl> |
128 | <dt><strong><a name="item_rot13">rot13</a></strong><br /> |
128 | <dt><strong><a name="item_rot13">rot13</a></strong><br /> |
129 | </dt> |
129 | </dt> |
130 | <dd> |
130 | <dd> |
131 | Rot-13 the selection when activated. Used via keyboard trigger: |
131 | Rot-13 the selection when activated. Used via keyboard trigger: |
132 | </dd> |
132 | </dd> |
133 | <dd> |
133 | <dd> |
134 | <pre> |
134 | <pre> |
135 | URxvt.keysym.C-M-r: perl:selection:rot13</pre> |
135 | URxvt.keysym.C-M-r: perl:selection:rot13</pre> |
|
|
136 | </dd> |
|
|
137 | <p></p> |
|
|
138 | <dt><strong><a name="item_remote_2dpastebin">remote-pastebin</a></strong><br /> |
|
|
139 | </dt> |
|
|
140 | <dd> |
|
|
141 | Upload the selection as textfile to a remote site. |
|
|
142 | </dd> |
|
|
143 | <dd> |
|
|
144 | <pre> |
|
|
145 | URxvt.keysym.C-M-e: perl:selection:remote-pastebin</pre> |
|
|
146 | </dd> |
|
|
147 | <dd> |
|
|
148 | <p>To set the command to upload the file set this resource:</p> |
|
|
149 | </dd> |
|
|
150 | <dd> |
|
|
151 | <pre> |
|
|
152 | URxvt.selection-pastebin-cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/.</pre> |
|
|
153 | </dd> |
|
|
154 | <dd> |
|
|
155 | <p>The % is the placeholder for the textfile. The name of the textfile is the hex encoded |
|
|
156 | md5 sum of the selection. |
|
|
157 | After an successful upload the selection will be replaced by the following url |
|
|
158 | (the % is the placeholder for the filename):</p> |
|
|
159 | </dd> |
|
|
160 | <dd> |
|
|
161 | <pre> |
|
|
162 | URxvt.selection-pastebin-url: <a href="http://www.ta-sa.org/files/txt/%">http://www.ta-sa.org/files/txt/%</a></pre> |
136 | </dd> |
163 | </dd> |
137 | <p></p></dl> |
164 | <p></p></dl> |
138 | <dt><strong><a name="item_popup">option-popup (enabled by default)</a></strong><br /> |
165 | <dt><strong><a name="item_popup">option-popup (enabled by default)</a></strong><br /> |
139 | </dt> |
166 | </dt> |
140 | <dd> |
167 | <dd> |
… | |
… | |
602 | </dd> |
629 | </dd> |
603 | <dd> |
630 | <dd> |
604 | <p>Messages have a size limit of 1023 bytes currently.</p> |
631 | <p>Messages have a size limit of 1023 bytes currently.</p> |
605 | </dd> |
632 | </dd> |
606 | <p></p> |
633 | <p></p> |
607 | <dt><strong><a name="item__24is_safe__3d_urxvt_3a_3asafe">$is_safe = urxvt::safe</a></strong><br /> |
|
|
608 | </dt> |
|
|
609 | <dd> |
|
|
610 | Returns true when it is safe to do potentially unsafe things, such as |
|
|
611 | evaluating perl code specified by the user. This is true when urxvt was |
|
|
612 | started setuid or setgid. |
|
|
613 | </dd> |
|
|
614 | <p></p> |
|
|
615 | <dt><strong><a name="item__24time__3d_urxvt_3a_3anow">$time = urxvt::NOW</a></strong><br /> |
634 | <dt><strong><a name="item__24time__3d_urxvt_3a_3anow">$time = urxvt::NOW</a></strong><br /> |
616 | </dt> |
635 | </dt> |
617 | <dd> |
636 | <dd> |
618 | Returns the ``current time'' (as per the event loop). |
637 | Returns the ``current time'' (as per the event loop). |
619 | </dd> |
638 | </dd> |