Guest User

Untitled

a guest
Nov 21st, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. 2.6 Fri Apr 2 03:24:10 CEST 2004
  2. - minor doc corrections.
  3. - WARNING: changed menu sequence from ESC ] 10 to ESC ] 703 to
  4. avoid clashes with xterm.
  5. - changed OSC701/OSC702 sequence to return standard escaped reports.
  6. - xterm-compat: make set window colour and other requests report
  7. window colour when arg is "?".
  8.  
  9. /*
  10. * XTerm escape sequences: ESC ] Ps;Pt (ST|BEL)
  11. * 0 = change iconName/title
  12. * 1 = change iconName
  13. * 2 = change title
  14. * 4 = change color
  15. + * 10 = change fg color
  16. + * 11 = change bg color
  17. * 12 = change text color
  18. * 13 = change mouse foreground color
  19. * 17 = change highlight character colour
  20. @@ -2949,20 +3236,21 @@
  21. * 50 = change font
  22. *
  23. * rxvt extensions:
  24. - * 10 = menu (may change in future)
  25. * 20 = bg pixmap
  26. * 39 = change default fg color
  27. * 49 = change default bg color
  28. * 55 = dump scrollback buffer and all of screen
  29. * 701 = change locale
  30. * 702 = find font
  31. + * 703 = menu
  32. */
  33.  
  34. #!/bin/sh
  35. printf '33]10;red07'
  36. printf '33]11;green07'
  37.  
  38. #!/bin/sh
  39. printf '33]10;red07'
  40. printf '33]11;green07'
  41.  
  42. /* Change the default background cursor, BEL terminated */
  43. static void
  44. vte_sequence_handler_change_background_color_bel (VteTerminalPrivate *that, GValueArray *params)
  45. {
  46. vte_sequence_handler_change_special_color_internal (that, params,
  47. VTE_DEFAULT_BG, -1, 11, BEL);
  48. }
  49.  
  50. /* Change the default background cursor, ST terminated */
  51. static void
  52. vte_sequence_handler_change_background_color_st (VteTerminalPrivate *that, GValueArray *params)
  53. {
  54. vte_sequence_handler_change_special_color_internal (that, params,
  55. VTE_DEFAULT_BG, -1, 11, ST);
  56. }
  57.  
  58. commit f39e281529827f68fd0e9bba41785d66a21efc1c
  59. Author: Nalin Dahyabhai <nalin@src.gnome.org>
  60. Date: Wed Jan 22 21:35:22 2003 +0000
  61.  
  62. accept OSC{number};{string}ST as set-text-parameters, per XTerm docs (part
  63.  
  64. * src/caps.c: accept OSC{number};{string}ST as set-text-parameters, per XTerm
  65. docs (part of #104154).
  66. * src/keymap.c: revert change to prepend "1;" to keys with modifiers (#104139).
  67.  
  68. ! change to red background
  69. URxvt.keysym.C-7: command:33]11;#ff000007
  70.  
  71. ! change to light background
  72. URxvt.keysym.C-8: command:33]11;#ffffff07
  73.  
  74. ! change to dark gray background
  75. URxvt.keysym.C-9: command:33]11;#77777707
  76.  
  77. ! change to red background
  78. URxvt.keysym.C-7: command:33]11;#ff00000733]10;yellow07
  79.  
  80. echo -e '33]11;#ff00000733]10;yellow07' # changes to red background and yellow foreground
  81.  
  82. URxvt*keysym.Control-Shift-F10: command:33]11;#2c2c2c0733]10;#dcdcdc0733]12;#dcdcdc0733]4;0;#3f3f3f0733]4;1;#7050500733]4;2;#60b48a0733]4;3;#dfaf8f0733]4;4;#9ab8d70733]4;5;#dc8cc30733]4;6;#8cd0d30733]4;7;#dcdcdc0733]4;8;#7090800733]4;9;#dca3a30733]4;10;#72d5a30733]4;11;#f0dfaf0733]4;12;#94bff30733]4;13;#ec93d30733]4;14;#93e0e30733]4;15;#ffffff07
  83. URxvt*keysym.Control-Shift-F11: command:33]11;#0000000733]10;#ffffff0733]12;#ffffff0733]4;0;#0000000733]4;1;#cc00000733]4;2;#4e9a060733]4;3;#c4a0000733]4;4;#3465a40733]4;5;#75507b0733]4;6;#06989a0733]4;7;#d3d7cf0733]4;8;#5557530733]4;9;#ef29290733]4;10;#8ae2340733]4;11;#fce94f0733]4;12;#729fcf0733]4;13;#ad7fa80733]4;14;#34e2e20733]4;15;#eeeeec07
  84. URxvt*keysym.Control-Shift-F12: command:33]11;#0000000733]10;#a9a9a90733]12;#a9a9a90733]4;0;#0000000733]4;1;#cc00000733]4;2;#00cc000733]4;3;#cccc000733]4;4;#0000cc0733]4;5;#cc00cc0733]4;6;#00cccc0733]4;7;#cccccc0733]4;8;#5555550733]4;9;#ff00000733]4;10;#00ff000733]4;11;#ffff000733]4;12;#0000ff0733]4;13;#ff00ff0733]4;14;#00ffff0733]4;15;#ffffff07
Add Comment
Please, Sign In to add comment