rxvt-resources.yo 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. COMMENT(-- $Id: rxvt-resources.yo,v 1.30 2003/02/28 00:58:46 gcw Exp $ --)
  2. COMMENT(----------------------------------------------------------------------)
  3. manpagesection(RESOURCES (available also as long-options))
  4. Note: `rxvt --help' gives a list of all resources (long options) compiled
  5. into your version.
  6. If compiled with internal Xresources support (i.e. bf(rxvt -h) lists
  7. bf(.Xdefaults)) then bf(rxvt) accepts application defaults set in
  8. XAPPLOADDIR/Rxvt (compile-time defined: usually
  9. bf(/usr/lib/X11/app-defaults/Rxvt)) and resources set in bf(~/.Xdefaults),
  10. or bf(~/.Xresources) if bf(~/.Xdefaults) does not exist. Note that when
  11. reading X resources, bf(rxvt) recognizes two class names: bf(XTerm) and
  12. bf(Rxvt). The class name bf(XTerm) allows resources common to both
  13. bf(rxvt) and em(xterm) to be easily configured, while the class name
  14. bf(Rxvt) allows resources unique to bf(rxvt), notably colours and
  15. key-handling, to be shared between different bf(rxvt) configurations.
  16. If no resources are specified, suitable defaults will be used.
  17. Command-line arguments can be used to override resource settings. The
  18. following resources are allowed:
  19. startdit()
  20. dit(bf(geometry:) em(geom))
  21. Create the window with the specified X window geometry [default
  22. 80x24];
  23. option bf(-geometry).
  24. dit(bf(background:) em(colour))
  25. Use the specified colour as the window's background colour [default
  26. White];
  27. option bf(-bg).
  28. dit(bf(foreground:) em(colour))
  29. Use the specified colour as the window's foreground colour [default
  30. Black];
  31. option bf(-fg).
  32. dit(bf(color)em(n)bf(:) em(colour))
  33. Use the specified colour for the colour value em(n), where 0-7
  34. corresponds to low-intensity (normal) colours and 8-15 corresponds to
  35. high-intensity (bold = bright foreground, blink = bright
  36. background) colours. The canonical names are as follows:
  37. 0=black, 1=red, 2=green, 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white,
  38. but the actual colour names used are listed in the
  39. bf(COLORS AND GRAPHICS) section.
  40. dit(bf(colorBD:) em(colour))
  41. Use the specified colour to display bold characters when the
  42. foreground colour is the default.
  43. dit(bf(colorUL:) em(colour))
  44. Use the specified colour to display underlined characters when the
  45. foreground colour is the default.
  46. dit(bf(colorRV:) em(colour))
  47. Use the specified colour as the background for reverse video
  48. characters.
  49. dit(bf(cursorColor:) em(colour))
  50. Use the specified colour for the cursor. The default is to use the
  51. foreground colour;
  52. option bf(-cr).
  53. dit(bf(cursorColor2:) em(colour))
  54. Use the specified colour for the colour of the cursor text. For this
  55. to take effect, bf(cursorColor) must also be specified. The default
  56. is to use the background colour.
  57. dit(bf(reverseVideo:) em(boolean))
  58. bf(True): simulate reverse video by foreground and background colours;
  59. option bf(-rv).
  60. bf(False): regular screen colours [default];
  61. option bf(+rv).
  62. See note in bf(COLORS AND GRAPHICS) section.
  63. dit(bf(jumpScroll:) em(boolean))
  64. bf(True): specify that jump scrolling should be used. When scrolling
  65. quickly, fewer screen updates are performed [default];
  66. option bf(-j).
  67. bf(False): specify that smooth scrolling should be used;
  68. option bf(+j).
  69. dit(bf(inheritPixmap:) em(boolean))
  70. bf(True): make the background inherit the parent windows' pixmap,
  71. giving artificial transparency.
  72. bf(False): do not inherit the parent windows' pixmap.
  73. dit(bf(scrollColor:) em(colour))
  74. Use the specified colour for the scrollbar [default #B2B2B2].
  75. dit(bf(troughColor:) em(colour))
  76. Use the specified colour for the scrollbar's trough area [default
  77. #969696]. Only relevant for normal (non XTerm/NeXT) scrollbar.
  78. dit(bf(backgroundPixmap:) em(file[;geom]))
  79. Use the specified XPM file (note the `.xpm' extension is optional)
  80. for the background and also optionally specify its scaling with a
  81. geometry string bf(WxH+X+Y), in which bf("W" / "H") specify the
  82. horizontal/vertical scale (percent) and bf("X" / "Y") locate the
  83. image centre (percent). A scale of 0 displays the image with tiling.
  84. A scale of 1 displays the image without any scaling. A scale of 2 to
  85. 9 specifies an integer number of images in that direction. No image
  86. will be magnified beyond 10 times its original size. The maximum
  87. permitted scale is 1000. [default 0x0+50+50]
  88. dit(bf(menu:) em(file[;tag]))
  89. Read in the specified menu file (note the `.menu' extension is
  90. optional) and also optionally specify a starting tag to find. See
  91. the reference documentation for details on the syntax for the menuBar.
  92. dit(bf(path:) em(path))
  93. Specify the colon-delimited search path for finding files (XPM and
  94. menus), in addition to the paths specified by the bf(RXVTPATH) and
  95. bf(PATH) environment variables.
  96. dit(bf(font:) em(fontname))
  97. Select the main text font used [default 7x14];
  98. option bf(-fn).
  99. dit(bf(font)em(n)bf(:) em(fontname))
  100. Specify the alternative font em(n). The default font values: nl()\
  101. indent(\
  102. starttable(2)(l l)(0)\
  103. row(cell(bf(font):)cell(7x14))\
  104. row(cell(bf(font1):)cell(6x10))\
  105. row(cell(bf(font2):)cell(6x13))\
  106. row(cell(bf(font3):)cell(8x13))\
  107. row(cell(bf(font4):)cell(9x15))\
  108. endtable())
  109. dit(bf(boldFont:) em(fontname))
  110. Specify the name of the bold font to use if bf(colorBD) has not been
  111. specified and it is not possible to map the default foreground colour
  112. to colour 8-15 [default NONE]. This font must be the same height and
  113. width as the normal font;
  114. option bf(-fb).
  115. dit(bf(mfont:) em(fontname))
  116. Select the main multiple-character text font used [default k14];
  117. option bf(-fk).
  118. dit(bf(mfont)em(n)bf(:) em(fontname))
  119. Specify the alternative multiple-character font em(n). If compiled
  120. for multiple-character fonts, the Roman and multiple-character font
  121. sizes should match.
  122. dit(bf(multichar_encoding:) em(mode))
  123. Set the encoding mode to be used when multicharacter encoding is
  124. received;
  125. bf(eucj): EUC Japanese encoding [default for Kanji].
  126. bf(sjis): Shift JIS encoding.
  127. bf(big5): BIG5 encoding.
  128. bf(gb): GB encoding.
  129. bf(kr): EUC Korean encoding.
  130. bf(noenc): no encoding;
  131. option bf(-km).
  132. dit(bf(greek_keyboard:) em(mode))
  133. Set the Greek keyboard translation mode to be used;
  134. bf(iso): ISO-8859 mapping (elot-928) [default].
  135. bf(ibm): IBM-437 mapping (DOS codepage 737);
  136. option bf(-grk).
  137. dit(bf(greektoggle_key:) em(keysym))
  138. Set the key to toggle keyboard input between no translation and
  139. Greek translation [default bf(Mode_switch)].
  140. For more details, see the distributed file bf(README.greek).
  141. dit(bf(selectstyle:) em(mode))
  142. Set mouse selection style to bf(old) which is 2.20, bf(oldword) which
  143. is xterm style with 2.20 old word selection, or anything else which
  144. gives xterm style selection.
  145. dit(bf(scrollstyle:) em(mode))
  146. Set scrollbar style to bf(rxvt), bf(next) or bf(xterm)
  147. dit(bf(title:) em(string))
  148. Set window title string, the default title is the command-line
  149. specified after the bf(-e) option, if any, otherwise the application
  150. name;
  151. option bf(-title).
  152. dit(bf(iconName:) em(string))
  153. Set the name used to label the window's icon or displayed in an icon
  154. manager window, it also sets the window's title unless it is
  155. explicitly set;
  156. option bf(-n).
  157. dit(bf(mapAlert:) em(boolean))
  158. bf(True): de-iconify (map) on receipt of a bell character.
  159. bf(False): no de-iconify (map) on receipt of a bell character
  160. [default].
  161. dit(bf(visualBell:) em(boolean))
  162. bf(True): use visual bell on receipt of a bell character;
  163. option bf(-vb).
  164. bf(False): no visual bell [default];
  165. option bf(+vb).
  166. dit(bf(loginShell:) em(boolean))
  167. bf(True): start as a login shell by prepending a `-' to bf(argv[0])
  168. of the shell;
  169. option bf(-ls).
  170. bf(False): start as a normal sub-shell [default];
  171. option bf(+ls).
  172. dit(bf(utmpInhibit:) em(boolean))
  173. bf(True): inhibit writing record into the system log file bf(utmp);
  174. option bf(-ut).
  175. bf(False): write record into the system log file bf(utmp) [default];
  176. option bf(+ut).
  177. dit(bf(print-pipe:) em(string))
  178. Specify a command pipe for vt100 printer [default em(lpr(1))]. Use
  179. bf(Print) to initiate a screen dump to the printer and bf(Ctrl-Print)
  180. or bf(Shift-Print) to include the scrollback as well.
  181. dit(bf(scrollBar:) em(boolean))
  182. bf(True): enable the scrollbar [default];
  183. option bf(-sb).
  184. bf(False): disable the scrollbar;
  185. option bf(+sb).
  186. dit(bf(scrollBar_right:) em(boolean))
  187. bf(True): place the scrollbar on the right of the window;
  188. option bf(-sr).
  189. bf(False): place the scrollbar on the left of the window;
  190. option bf(+sr).
  191. dit(bf(scrollBar_floating:) em(boolean))
  192. bf(True): display an rxvt scrollbar without a trough;
  193. option bf(-st).
  194. bf(False): display an rxvt scrollbar with a trough;
  195. option bf(+st).
  196. dit(bf(scrollBar_align:) em(mode))
  197. Align the bf(top), bf(bottom) or bf(centre) [default] of
  198. the scrollbar thumb with the pointer on middle button
  199. press/drag.
  200. dit(bf(scrollTtyOutput:) em(boolean))
  201. bf(True): scroll to bottom when tty receives output;
  202. option(+si).
  203. bf(False): do not scroll to bottom when tty receives output;
  204. option(-si).
  205. dit(bf(scrollWithBuffer:) em(boolean))
  206. bf(True): scroll with scrollback buffer when tty recieves
  207. new lines (and bf(scrollTtyOutput) is False);
  208. option(+sw).
  209. bf(False): do not scroll with scrollback buffer when tty
  210. recieves new lines;
  211. option(-sw).
  212. dit(bf(scrollTtyKeypress:) em(boolean))
  213. bf(True): scroll to bottom when a non-special key is pressed.
  214. Special keys are those which are intercepted by rxvt for special
  215. handling and are not passed onto the shell;
  216. option(-sk).
  217. bf(False): do not scroll to bottom when a non-special key is pressed;
  218. option(+sk).
  219. dit(bf(smallfont_key:) em(keysym))
  220. If enabled, use bf(HOTKEY()-)em(keysym) to toggle to a smaller font
  221. [default bf(HOTKEY()-SMALLFONT())]
  222. dit(bf(bigfont_key:) em(keysym))
  223. If enabled, use bf(HOTKEY()-)em(keysym) to toggle to a bigger font
  224. [default bf(HOTKEY()-BIGFONT())]
  225. dit(bf(saveLines:) em(number))
  226. Save em(number) lines in the scrollback buffer [default 64]. This
  227. resource is limited on most machines to 65535;
  228. option bf(-sl).
  229. dit(bf(internalBorder:) em(number))
  230. Internal border of em(number) pixels. This resource is limited to 100;
  231. option bf(-b).
  232. dit(bf(externalBorder:) em(number))
  233. External border of em(number) pixels. This resource is limited to 100;
  234. option bf(-w), bf(-bw), bf(-borderwidth).
  235. dit(bf(termName:) em(termname))
  236. Specifies the terminal type name to be set in the bf(TERM)
  237. environment variable;
  238. option bf(-tn).
  239. dit(bf(linespace:) em(number))
  240. Specifies number of lines (pixel height) to insert between each row
  241. of the display [default 0];
  242. option bf(-lsp).
  243. dit(bf(meta8:) em(boolean))
  244. bf(True): handle Meta (Alt) + keypress to set the 8th bit.
  245. bf(False): handle Meta (Alt) + keypress as an escape prefix [default].
  246. dit(bf(mouseWheelScrollPage:) em(boolean))
  247. bf(True): the mouse wheel scrolls a page full.
  248. bf(False): the mouse wheel scrolls five lines [default].
  249. dit(bf(multibyte_cursor:) em(boolean))
  250. bf(True): consider multibyte glyphs as single character for backspace,
  251. delete and cursor movement keys;
  252. option bf(-mcc).
  253. bf(False): move through all components of all glyphs;
  254. option bf(+mcc).
  255. dit(bf(backspacekey:) em(string))
  256. The string to send when the backspace key is pressed. If set to
  257. bf(DEC) or unset it will send bf(Delete) (code 127) or, if shifted,
  258. bf(Backspace) (code 8) - which can be reversed with the appropriate
  259. DEC private mode escape sequence.
  260. dit(bf(deletekey:) em(string))
  261. The string to send when the delete key (not the keypad delete key) is
  262. pressed. If unset it will send the sequence traditionally associated
  263. with the bf(Execute) key.
  264. dit(bf(cutchars:) em(string))
  265. The characters used as delimiters for double-click word selection.
  266. The built-in default: nl()\
  267. bf(BACKSLASH `"'&()*,;<=>?@[]{|})
  268. dit(bf(preeditType:) em(style))
  269. bf(OverTheSpot), bf(OffTheSpot), bf(Root);
  270. option bf(-pt).
  271. dit(bf(inputMethod:) em(name))
  272. em(name) of inputMethod to use;
  273. option bf(-im).
  274. dit(bf(modifier:) em(modifier))
  275. Set the key to be interpreted as the Meta key to:
  276. bf(alt), bf(meta), bf(hyper), bf(super), bf(mod1), bf(mod2), bf(mod3),
  277. bf(mod4), bf(mod5);
  278. option bf(-mod).
  279. dit(bf(answerbackString:) em(string))
  280. Specify the reply rxvt sends to the shell when an ENQ (control-E)
  281. character is passed through. It may contain escape values as
  282. described in the entry on bf(keysym) following.
  283. dit(bf(keysym.)em(sym): em(string))
  284. Associate em(string) with keysym em(sym) (bf(0xFF00 - 0xFFFF)). It
  285. may contain escape values (\a: bell, \b: backspace, \e, \E: escape,
  286. \n: newline, \r: return, \t: tab, \000: octal number) or control
  287. characters (^?: delete, ^@: null, ^A ...) and may enclosed with
  288. double quotes so that it can start or end with whitespace. The
  289. intervening resource name bf(keysym.) cannot be omitted. This
  290. resource is only available when compiled with KEYSYM_RESOURCE.
  291. enddit()