… | |
… | |
123 | =over 4 |
123 | =over 4 |
124 | |
124 | |
125 | =item $text |
125 | =item $text |
126 | |
126 | |
127 | Rxvt-unicodes special way of encoding text, where one "unicode" character |
127 | Rxvt-unicodes special way of encoding text, where one "unicode" character |
128 | always represents one screen cell. See L<row_t> for a discussion of this format. |
128 | always represents one screen cell. See L<ROW_t> for a discussion of this format. |
129 | |
129 | |
130 | =item $string |
130 | =item $string |
131 | |
131 | |
132 | A perl text string, with an emphasis on I<text>. It can store all unicode |
132 | A perl text string, with an emphasis on I<text>. It can store all unicode |
133 | characters and is to be distinguished with text encoded in a specific |
133 | characters and is to be distinguished with text encoded in a specific |
… | |
… | |
385 | |
385 | |
386 | =item $urxvt::TERM |
386 | =item $urxvt::TERM |
387 | |
387 | |
388 | The current terminal. This variable stores the current C<urxvt::term> |
388 | The current terminal. This variable stores the current C<urxvt::term> |
389 | object, whenever a callback/hook is executing. |
389 | object, whenever a callback/hook is executing. |
390 | |
|
|
391 | =item |
|
|
392 | |
390 | |
393 | =back |
391 | =back |
394 | |
392 | |
395 | =head2 Functions in the C<urxvt> Package |
393 | =head2 Functions in the C<urxvt> Package |
396 | |
394 | |
… | |
… | |
782 | } |
780 | } |
783 | |
781 | |
784 | =item $term = new urxvt::term $envhashref, $rxvtname, [arg...] |
782 | =item $term = new urxvt::term $envhashref, $rxvtname, [arg...] |
785 | |
783 | |
786 | Creates a new terminal, very similar as if you had started it with system |
784 | Creates a new terminal, very similar as if you had started it with system |
787 | C<$rxvtname, arg...>. C<$envhashref> must be a reference to a %ENV>-like |
785 | C<$rxvtname, arg...>. C<$envhashref> must be a reference to a C<%ENV>-like |
788 | C<hash which defines the environment of the new terminal. |
786 | hash which defines the environment of the new terminal. |
789 | |
787 | |
790 | Croaks (and probably outputs an error message) if the new instance |
788 | Croaks (and probably outputs an error message) if the new instance |
791 | couldn't be created. Returns C<undef> if the new instance didn't |
789 | couldn't be created. Returns C<undef> if the new instance didn't |
792 | initialise perl, and the terminal object otherwise. The C<init> and |
790 | initialise perl, and the terminal object otherwise. The C<init> and |
793 | C<start> hooks will be called during this call. |
791 | C<start> hooks will be called during this call. |
… | |
… | |
1442 | |
1440 | |
1443 | delete $self->{term}{_destroy}{$self}; |
1441 | delete $self->{term}{_destroy}{$self}; |
1444 | $self->{term}->ungrab; |
1442 | $self->{term}->ungrab; |
1445 | } |
1443 | } |
1446 | |
1444 | |
|
|
1445 | =back |
|
|
1446 | |
1447 | =head2 The C<urxvt::timer> Class |
1447 | =head2 The C<urxvt::timer> Class |
1448 | |
1448 | |
1449 | This class implements timer watchers/events. Time is represented as a |
1449 | This class implements timer watchers/events. Time is represented as a |
1450 | fractional number of seconds since the epoch. Example: |
1450 | fractional number of seconds since the epoch. Example: |
1451 | |
1451 | |