XTerm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. ! -----------------------------------------------------------------------------
  2. *saveLines: 1024
  3. *SimpleMenu*BackingStore: NotUseful
  4. *SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
  5. *SimpleMenu*menuLabel.vertSpace: 100
  6. *SimpleMenu*HorizontalMargins: 16
  7. *SimpleMenu*Sme.height: 16
  8. *SimpleMenu*Cursor: left_ptr
  9. *mainMenu.Label: Main Options
  10. *mainMenu*toolbar*Label: Toolbar
  11. *mainMenu*fullscreen*Label: Full Screen
  12. *mainMenu*securekbd*Label: Secure Keyboard
  13. *mainMenu*allowsends*Label: Allow SendEvents
  14. *mainMenu*redraw*Label: Redraw Window
  15. *mainMenu*logging*Label: Log to File
  16. *mainMenu*print-immediate*Label: Print-All Immediately
  17. *mainMenu*print-on-error*Label: Print-All on Error
  18. *mainMenu*print*Label: Print Window
  19. *mainMenu*print-redir*Label: Redirect to Printer
  20. *mainMenu*dump-html*Label: XHTML Screen Dump
  21. *mainMenu*dump-svg*Label: SVG Screen Dump
  22. *mainMenu*8-bit control*Label: 8-Bit Controls
  23. *mainMenu*backarrow key*Label: Backarrow Key (BS/DEL)
  24. *mainMenu*num-lock*Label: Alt/NumLock Modifiers
  25. *mainMenu*alt-esc*Label: Alt Sends Escape
  26. *mainMenu*meta-esc*Label: Meta Sends Escape
  27. *mainMenu*delete-is-del*Label: Delete is DEL
  28. *mainMenu*oldFunctionKeys*Label: Old Function-Keys
  29. *mainMenu*sunFunctionKeys*Label: Sun Function-Keys
  30. *mainMenu*sunKeyboard*Label: VT220 Keyboard
  31. *mainMenu*hpFunctionKeys*Label: HP Function-Keys
  32. *mainMenu*scoFunctionKeys*Label: SCO Function-Keys
  33. *mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys
  34. *mainMenu*suspend*Label: Send STOP Signal
  35. *mainMenu*continue*Label: Send CONT Signal
  36. *mainMenu*interrupt*Label: Send INT Signal
  37. *mainMenu*hangup*Label: Send HUP Signal
  38. *mainMenu*terminate*Label: Send TERM Signal
  39. *mainMenu*kill*Label: Send KILL Signal
  40. *mainMenu*quit*Label: Quit
  41. *vtMenu.Label: VT Options
  42. *vtMenu*scrollbar*Label: Enable Scrollbar
  43. *vtMenu*jumpscroll*Label: Enable Jump Scroll
  44. *vtMenu*reversevideo*Label: Enable Reverse Video
  45. *vtMenu*autowrap*Label: Enable Auto Wraparound
  46. *vtMenu*reversewrap*Label: Enable Reverse Wraparound
  47. *vtMenu*autolinefeed*Label: Enable Auto Linefeed
  48. *vtMenu*appcursor*Label: Enable Application Cursor Keys
  49. *vtMenu*appkeypad*Label: Enable Application Keypad
  50. *vtMenu*scrollkey*Label: Scroll to Bottom on Key Press
  51. *vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output
  52. *vtMenu*allow132*Label: Allow 80/132 Column Switching
  53. *vtMenu*keepSelection*Label: Keep Selection
  54. *vtMenu*keepClipboard*Label: Keep Clipboard
  55. *vtMenu*selectToClipboard*Label: Select to Clipboard
  56. *vtMenu*cursesemul*Label: Enable Curses Emulation
  57. *vtMenu*visualbell*Label: Enable Visual Bell
  58. *vtMenu*bellIsUrgent*Label: Enable Bell Urgency
  59. *vtMenu*poponbell*Label: Enable Pop on Bell
  60. *vtMenu*cursorblink*Label: Enable Blinking Cursor
  61. *vtMenu*titeInhibit*Label: Enable Alternate Screen Switching
  62. *vtMenu*activeicon*Label: Enable Active Icon
  63. *vtMenu*softreset*Label: Do Soft Reset
  64. *vtMenu*hardreset*Label: Do Full Reset
  65. *vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines
  66. *vtMenu*tekshow*Label: Show Tek Window
  67. *vtMenu*tekmode*Label: Switch to Tek Mode
  68. *vtMenu*vthide*Label: Hide VT Window
  69. *vtMenu*altscreen*Label: Show Alternate Screen
  70. *vtMenu*sixelScrolling*Label: Sixel Scrolling
  71. *vtMenu*privateColorRegisters*Label: Private Color Registers
  72. *fontMenu.Label: VT Fonts
  73. *fontMenu*fontdefault*Label: Default
  74. *fontMenu*font1*Label: Unreadable
  75. *VT100.font1: nil2
  76. *IconFont: nil2
  77. *fontMenu*font2*Label: Tiny
  78. *VT100.font2: 5x7
  79. *fontMenu*font3*Label: Small
  80. *VT100.font3: 6x10
  81. *fontMenu*font4*Label: Medium
  82. *VT100.font4: 7x13
  83. *fontMenu*font5*Label: Large
  84. *VT100.font5: 9x15
  85. *fontMenu*font6*Label: Huge
  86. *VT100.font6: 10x20
  87. *fontMenu*font7*Label: Enormous
  88. !*VT100.font7: 12x24
  89. *VT100.font7: -adobe-courier-medium-r-normal--24-240-75-75-m-150-iso10646-1
  90. *fontMenu*fontescape*Label: Escape Sequence
  91. *fontMenu*fontsel*Label: Selection
  92. !fontescape and fontsel overridden by application
  93. *fontMenu*allow-bold-fonts*Label: Bold Fonts
  94. *fontMenu*font-linedrawing*Label: Line-Drawing Characters
  95. *fontMenu*font-doublesize*Label: Doublesized Characters
  96. *fontMenu*font-loadable*Label: VT220 Soft Fonts
  97. *fontMenu*font-packed*Label: Packed Font
  98. *fontMenu*render-font*Label: TrueType Fonts
  99. *fontMenu*utf8-mode*Label: UTF-8 Encoding
  100. *fontMenu*utf8-fonts*Label: UTF-8 Fonts
  101. *fontMenu*utf8-title*Label: UTF-8 Titles
  102. *fontMenu*allow-color-ops*Label: Allow Color Ops
  103. *fontMenu*allow-font-ops*Label: Allow Font Ops
  104. *fontMenu*allow-mouse-ops*Label: Allow Mouse Ops
  105. *fontMenu*allow-tcap-ops*Label: Allow Termcap Ops
  106. *fontMenu*allow-title-ops*Label: Allow Title Ops
  107. *fontMenu*allow-window-ops*Label: Allow Window Ops
  108. *VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
  109. *VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
  110. *VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
  111. *VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
  112. *VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
  113. *VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
  114. ! The default fixed font and font2-font6 are commonly aliased to iso106461 (Unicode)
  115. ! with XXX glyphs, but 12x24 is usually just iso8859-1 (about 200 glyphs).
  116. ! The adobe-courier is more commonly available than the b&h font.
  117. !*VT100.utf8Fonts.font7: -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
  118. *VT100.utf8Fonts.font7: -adobe-courier-medium-r-normal--24-240-75-75-m-150-iso10646-1
  119. !*VT100.utf8Fonts.font7: -b&h-lucidatypewriter-medium-r-normal-sans-24-240-75-75-m-140-iso10646-1
  120. *tekMenu.Label: Tek Options
  121. *tekMenu*tektextlarge*Label: Large Characters
  122. *tekMenu*tektext2*Label: #2 Size Characters
  123. *tekMenu*tektext3*Label: #3 Size Characters
  124. *tekMenu*tektextsmall*Label: Small Characters
  125. *tekMenu*tekpage*Label: PAGE
  126. *tekMenu*tekreset*Label: RESET
  127. *tekMenu*tekcopy*Label: COPY
  128. *tekMenu*vtshow*Label: Show VT Window
  129. *tekMenu*vtmode*Label: Switch to VT Mode
  130. *tekMenu*tekhide*Label: Hide Tek Window
  131. *tek4014*fontLarge: 9x15
  132. *tek4014*font2: 8x13
  133. *tek4014*font3: 6x13
  134. *tek4014*fontSmall: 6x10
  135. ! Debian package customizations follow.
  136. *ptyInitialErase: true
  137. ! If xterm is built with a toolbar, the widget hierarchy looks like this,
  138. ! showing widget name / class names. The complete menu hierarchy is built
  139. ! at startup because it is needed to make the layout work for the menubar:
  140. !
  141. ! xterm/XTerm
  142. ! form/Form
  143. ! menubar/Box
  144. ! mainMenuButton/MenuButton
  145. ! mainMenu/SimpleMenu
  146. ! menuLabel/SmeBSB
  147. ! toolbar/SmeBSB
  148. ! ...
  149. ! vtMenu/SimpleMenu
  150. ! menuLabel/SmeBSB
  151. ! scrollbar/SmeBSB
  152. ! ...
  153. ! fontMenu/SimpleMenu
  154. ! menuLabel/SmeBSB
  155. ! fontdefault/SmeBSB
  156. ! ...
  157. ! tekMenu/SimpleMenu
  158. ! menuLabel/SmeBSB
  159. ! fontdefault/SmeBSB
  160. ! ...
  161. ! vt100/VT100
  162. ! tektronix/TopLevelShell
  163. ! shellext/VendorShellExt
  164. ! tek4014/Tek4014
  165. !
  166. ! If built without a toolbar, the widget hierarchy is simpler, because there
  167. ! is no form, and the popup menu widgets are created only when they are first
  168. ! used.
  169. !
  170. ! xterm/XTerm
  171. ! shellext/VendorShellExt
  172. ! mainMenu/SimpleMenu
  173. ! menuLabel/SmeBSB
  174. ! ...
  175. ! ...
  176. ! vt100/VT100
  177. ! tektronix/TopLevelShell
  178. ! shellext/VendorShellExt
  179. ! tek4014/Tek4014
  180. !
  181. ! A more complete list of the widget/class names can be obtained using editres
  182. ! to dump a file. Some widget names are not available until the corresponding
  183. ! menu has been created.
  184. ! These resources reduce space around the menubar, by eliminating padding in
  185. ! the enclosing form (Thickness) and the border of the Box which represents
  186. ! the menubar widget.
  187. *form.Thickness: 0
  188. *menubar.borderWidth: 0
  189. ! If we wanted to eliminate the border of the popup menus, we could do this
  190. ! instead, since they are children of the menubar:
  191. !*menubar*borderWidth: 0
  192. ! Eliminate the border of the buttons in the menubar, so the only line around
  193. ! the text is for the highlighted button:
  194. *MenuButton*borderWidth: 0
  195. ! Set a border for the menus to make them simpler to distinguish against the
  196. ! vt100 widget:
  197. *SimpleMenu*borderWidth: 2
  198. ! xterm can switch at runtime between bitmap (default) and TrueType fonts.
  199. ! The "faceSize" resource controls the size of the latter. However, it was
  200. ! originally given with a size that makes the two types of fonts different
  201. ! sizes. Uncomment this line to use the same size as "fixed".
  202. !*faceSize: 8
  203. ! Here is a pattern that is useful for double-clicking on a URL:
  204. !*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
  205. !
  206. ! Alternatively,
  207. !*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
  208. ! VT100s and similar terminals recognize escape sequences and control
  209. ! characters to which they reply to the host with other escape sequences,
  210. ! to provide information. The "resize" program uses this feature.
  211. !
  212. ! In addition, xterm recognizes several escape sequences which can be used to
  213. ! set fonts, window properties, return settings via escape sequences. Some
  214. ! find these useful; others are concerned with the possibility of unexpected
  215. ! inputs.
  216. !
  217. ! All of these features can be enabled or disabled via menus.
  218. !
  219. ! Depending on your environment, you may wish to disable those by default by
  220. ! uncommenting one or more of the resource settings below:
  221. !*allowFontOps: false
  222. !*allowTcapOps: false
  223. !*allowTitleOps: false
  224. !*allowWindowOps: false
  225. ! -----------------------------------------------------------------------------
  226. ! Ctrl + / Ctrl - для того, чтобы изменить размер шрифта
  227. ! Скрипт от https://askubuntu.com/questions/161652/how-to-change-the-default-font-size-of-xterm
  228. XTerm.vt100.translations: #override \n\
  229. Ctrl <Key> minus: smaller-vt-font() \n\
  230. Ctrl <Key> plus: larger-vt-font()
  231. ! Ctrl + C и Ctrl + V
  232. xterm*translations: #override \
  233. Ctrl Shift <KeyPress> C: copy-selection(CLIPBOARD) \n\
  234. Ctrl Shift <KeyPress> V: insert-selection(CLIPBOARD)
  235. ! При выделении текста мышью, он переносится в буфер обмена
  236. XTerm*selectToClipboard: true
  237. !XTerm*saveLines: 800
  238. ! Font
  239. XTerm*faceName: UbuntuMono Nerd Font
  240. XTerm*faceSize: 14
  241. !XTerm*faceName: M+ 1mn
  242. !XTerm*faceSize: 15
  243. ! Colors
  244. ! special
  245. !XTerm*.foreground: #d0d0d0
  246. !XTerm*.background: #151515
  247. !XTerm*.cursorColor: #d0d0d0
  248. XTerm*.foreground: #ebdbb2
  249. XTerm*.background: #282828
  250. XTerm*.cursorColor: #ebdbb2
  251. !palette = "#282828:#cc241d:#98971a:#d79921:#458588:#b16286:#689d6a:#a89984:#928374:#fb4934:#b8bb26:#fabd2f:#83a598:#d3869b:#8ec07c:#ebdbb2"
  252. ! black
  253. XTerm*.color0: #151515
  254. XTerm*.color8: #505050
  255. ! red
  256. !XTerm*.color1: #ac4142
  257. !XTerm*.color9: #ac4142
  258. XTerm*.color1: #CC241D
  259. XTerm*.color9: #CC241D
  260. ! green
  261. !XTerm*.color2: #90a959
  262. !XTerm*.color10: #90a959
  263. XTerm*.color2: #98971A
  264. XTerm*.color10: #98971A
  265. ! yellow
  266. !XTerm*.color3: #f4bf75
  267. !XTerm*.color11: #f4bf75
  268. XTerm*.color3: #d79921
  269. XTerm*.color11: #d79921
  270. ! blue
  271. !XTerm*.color4: #6a9fb5
  272. !XTerm*.color12: #6a9fb5
  273. XTerm*.color4: #458588
  274. XTerm*.color12: #458588
  275. ! magenta
  276. !XTerm*.color5: #aa759f
  277. !XTerm*.color13: #aa759f
  278. XTerm*.color5: #b16286
  279. XTerm*.color13: #b16286
  280. ! cyan
  281. !XTerm*.color6: #75b5aa
  282. !XTerm*.color14: #75b5aa
  283. XTerm*.color6: #689d6a
  284. XTerm*.color14: #689d6a
  285. ! white
  286. !XTerm*.color7: #d0d0d0
  287. !XTerm*.color15: #f5f5f5
  288. XTerm*.color7: #ebdbb2
  289. XTerm*.color15: #A89984