… | |
… | |
1118 | string C<echo rm -rf /> followed by a newline: |
1118 | string C<echo rm -rf /> followed by a newline: |
1119 | |
1119 | |
1120 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
1120 | URxvt.keysym.Shift-Tab: string:echo rm -rf /\n |
1121 | |
1121 | |
1122 | This could in theory be used to completely redefine your keymap. |
1122 | This could in theory be used to completely redefine your keymap. |
|
|
1123 | |
|
|
1124 | In addition, for actions of this type, you can define a range of |
|
|
1125 | keysyms in one shot by loading the C<keysym-list> perl extension and |
|
|
1126 | providing an I<action> with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where |
|
|
1127 | the delimiter `/' should be a character not used by the strings. |
|
|
1128 | |
|
|
1129 | Its usage can be demonstrated by an example: |
|
|
1130 | |
|
|
1131 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
|
|
1132 | |
|
|
1133 | The above line is equivalent to the following three lines: |
|
|
1134 | |
|
|
1135 | URxvt.keysym.Meta-Control-0x61: string:\033<a> |
|
|
1136 | URxvt.keysym.Meta-Control-0x62: string:\033<b> |
|
|
1137 | URxvt.keysym.Meta-Control-0x63: string:\033<c> |
1123 | |
1138 | |
1124 | =item command:STRING |
1139 | =item command:STRING |
1125 | |
1140 | |
1126 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1141 | If I<action> takes the form of C<command:STRING>, the specified B<STRING> |
1127 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |
1142 | is interpreted and executed as @@RXVT_NAME@@'s control sequence (basically |