… | |
… | |
526 | you have run "configure" with the C<--disable-resources> option you can |
526 | you have run "configure" with the C<--disable-resources> option you can |
527 | use the `keysym' resource to alter the keystrings associated with keysyms. |
527 | use the `keysym' resource to alter the keystrings associated with keysyms. |
528 | |
528 | |
529 | Here's an example for a URxvt session started using `@@RXVT_NAME@@ -name URxvt' |
529 | Here's an example for a URxvt session started using `@@RXVT_NAME@@ -name URxvt' |
530 | |
530 | |
531 | URxvt*keysym.Home: \e[1~ |
531 | URxvt.keysym.Home: \033[1~ |
532 | URxvt*keysym.End: \e[4~ |
532 | URxvt.keysym.End: \033[4~ |
533 | URxvt*keysym.C-apostrophe: \e<C-'> |
533 | URxvt.keysym.C-apostrophe: \033<C-'> |
534 | URxvt*keysym.C-slash: \e<C-/> |
534 | URxvt.keysym.C-slash: \033<C-/> |
535 | URxvt*keysym.C-semicolon: \e<C-;> |
535 | URxvt.keysym.C-semicolon: \033<C-;> |
536 | URxvt*keysym.C-grave: \e<C-`> |
536 | URxvt.keysym.C-grave: \033<C-`> |
537 | URxvt*keysym.C-comma: \e<C-,> |
537 | URxvt.keysym.C-comma: \033<C-,> |
538 | URxvt*keysym.C-period: \e<C-.> |
538 | URxvt.keysym.C-period: \033<C-.> |
539 | URxvt*keysym.C-0x60: \e<C-`> |
539 | URxvt.keysym.C-0x60: \033<C-`> |
540 | URxvt*keysym.C-Tab: \e<C-Tab> |
540 | URxvt.keysym.C-Tab: \033<C-Tab> |
541 | URxvt*keysym.C-Return: \e<C-Return> |
541 | URxvt.keysym.C-Return: \033<C-Return> |
542 | URxvt*keysym.S-Return: \e<S-Return> |
542 | URxvt.keysym.S-Return: \033<S-Return> |
543 | URxvt*keysym.S-space: \e<S-Space> |
543 | URxvt.keysym.S-space: \033<S-Space> |
544 | URxvt*keysym.M-Up: \e<M-Up> |
544 | URxvt.keysym.M-Up: \033<M-Up> |
545 | URxvt*keysym.M-Down: \e<M-Down> |
545 | URxvt.keysym.M-Down: \033<M-Down> |
546 | URxvt*keysym.M-Left: \e<M-Left> |
546 | URxvt.keysym.M-Left: \033<M-Left> |
547 | URxvt*keysym.M-Right: \e<M-Right> |
547 | URxvt.keysym.M-Right: \033<M-Right> |
548 | URxvt*keysym.M-C-0: list.0123456789.\e<M-C-.> |
548 | URxvt.keysym.M-C-0: list \033<M-C- 0123456789 > |
549 | URxvt*keysym.M-C-a: list.abcdefghijklmnopqrstuvwxyz.\033<M-C-.> |
549 | URxvt.keysym.M-C-a: list \033<M-C- abcdefghijklmnopqrstuvwxyz > |
550 | URxvt*keysym.F12: proto:\033]701;zh_CN.GBK\007 |
550 | URxvt.keysym.F12: command:\033]701;zh_CN.GBK\007 |
|
|
551 | |
|
|
552 | See some more examples in the documentation for the B<keysym> resource. |
551 | |
553 | |
552 | =item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
554 | =item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
553 | How do I make use of them? For example, the Sun Keyboard type 4 |
555 | How do I make use of them? For example, the Sun Keyboard type 4 |
554 | has the following mappings that rxvt-unicode doesn't recognize. |
556 | has the following mappings that rxvt-unicode doesn't recognize. |
555 | |
557 | |
… | |
… | |
558 | F27 == Home |
560 | F27 == Home |
559 | F29 == Prior |
561 | F29 == Prior |
560 | F33 == End |
562 | F33 == End |
561 | F35 == Next |
563 | F35 == Next |
562 | |
564 | |
563 | Rather than have rxvt-unicode try to accommodate all the various possible keyboard |
565 | Rather than have rxvt-unicode try to accommodate all the various possible |
564 | mappings, it is better to use `xmodmap' to remap the keys as required for |
566 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
565 | your particular machine. |
567 | required for your particular machine. |
566 | |
568 | |
567 | =item How do I distinguish if I'm running rxvt-unicode or a regular xterm? |
569 | =item How do I distinguish if I'm running rxvt-unicode or a regular xterm? |
568 | I need this to decide about setting colors etc. |
570 | I need this to decide about setting colors etc. |
569 | |
571 | |
570 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
572 | rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
… | |
… | |
1061 | |
1063 | |
1062 | =item B<< C<ESC [ s> >> |
1064 | =item B<< C<ESC [ s> >> |
1063 | |
1065 | |
1064 | Save Cursor (SC) |
1066 | Save Cursor (SC) |
1065 | |
1067 | |
|
|
1068 | =item B<< C<ESC [ Ps;Pt t> >> |
|
|
1069 | |
|
|
1070 | Window Operations |
|
|
1071 | |
|
|
1072 | =begin table |
|
|
1073 | |
|
|
1074 | B<< C<Ps = 1> >> Deiconify (map) window |
|
|
1075 | B<< C<Ps = 2> >> Iconify window |
|
|
1076 | B<< C<Ps = 3> >> B<< C<ESC [ 3 ; X ; Y t> >> Move window to (X|Y) |
|
|
1077 | B<< C<Ps = 4> >> B<< C<ESC [ 4 ; H ; W t> >> Resize to WxH pixels |
|
|
1078 | B<< C<Ps = 5> >> Raise window |
|
|
1079 | B<< C<Ps = 6> >> Lower window |
|
|
1080 | B<< C<Ps = 7> >> Refresh screen once |
|
|
1081 | B<< C<Ps = 8> >> B<< C<ESC [ 8 ; R ; C t> >> Resize to R rows and C columns |
|
|
1082 | B<< C<Ps = 11> >> Report window state (responds with C<Ps = 1> or C<Ps = 2> |
|
|
1083 | B<< C<Ps = 13> >> Report window position (responds with C<Ps = 3>) |
|
|
1084 | B<< C<Ps = 14> >> Report window pixel size (responds with C<Ps = 4>) |
|
|
1085 | B<< C<Ps = 18> >> Report window text size (responds with C<Ps = 7>) |
|
|
1086 | B<< C<Ps = 19> >> Currently the same as C<Ps = 18>, but responds with C<Ps = 9> |
|
|
1087 | B<< C<Ps = 20> >> Reports icon label (B<< C<ESC ] L NAME \234> >>) |
|
|
1088 | B<< C<Ps = 21> >> Reports window title (B<< C<ESC ] l NAME \234> >>) |
|
|
1089 | B<< C<Ps = 24..> >> Set window height to C<Ps> rows |
|
|
1090 | |
|
|
1091 | =end table |
|
|
1092 | |
|
|
1093 | =item B<< C<ESC [ u> >> |
|
|
1094 | |
|
|
1095 | Restore Cursor |
|
|
1096 | |
1066 | =item B<< C<ESC [ Ps x> >> |
1097 | =item B<< C<ESC [ Ps x> >> |
1067 | |
1098 | |
1068 | Request Terminal Parameters (DECREQTPARM) |
1099 | Request Terminal Parameters (DECREQTPARM) |
1069 | |
|
|
1070 | =item B<< C<ESC [ u> >> |
|
|
1071 | |
|
|
1072 | Restore Cursor |
|
|
1073 | |
1100 | |
1074 | =back |
1101 | =back |
1075 | |
1102 | |
1076 | X<PrivateModes> |
1103 | X<PrivateModes> |
1077 | |
1104 | |