XTerm和粗体文字


0

这是我的Xterm配置:

XTerm*saveLines: 512
XTerm*reverseVideo: false
XTerm*reverseWrap: true
XTerm*fullCursor: true
XTerm*scrollTtyOutput: on
XTerm*scrollKey: on
XTerm*eightBitInput: false
XTerm*pointerColor: white
XTerm*pointerShape: left_ptr
XTerm*charClass: 37:48,45-47:48,58:48,64:48,126:48
XTerm*cursorColor: rgb:aa/aa/aa 
XTerm*cursorColor2: black

XTerm*color0:  rgb:71/71/71 
XTerm*color1:  rgb:cd/00/00
XTerm*color2:  rgb:b4/cd/00
XTerm*color3:  rgb:cd/cd/00
XTerm*color4:  rgb:71/71/71
XTerm*color5:  rgb:cd/00/cd
XTerm*color6:  rgb:00/cd/cd
XTerm*color7:  rgb:e5/e5/e5
XTerm*color8:  rgb:4c/4c/4c
XTerm*color9:  rgb:ff/00/00
XTerm*color10:  rgb:55/ac/55
XTerm*color11:  rgb:ff/ff/00
XTerm*color12:  rgb:46/82/b4
XTerm*color13:  rgb:ff/00/ff
XTerm*color14:  rgb:00/ff/ff
XTerm*color15:  rgb:ff/ff/ff


XTerm*colorBD: white
XTerm*colorUL: SkyBlue
XTerm*colorBDMode: on
XTerm*colorULMode: on
XTerm*underLine: on
XTerm*background: rgb:30/0a/24
XTerm*foreground: white 
XTerm*font: -*-monospace-medium-r-normal-9-140-*-*-m-*-* 
XTerm*font1: 5x7
XTerm*font2: 6x10
XTerm*font3: fixed
XTerm*font4: 9x15

XTerm*ScrollBar.Background: gray
XTerm*ScrollBar.thickness: 0
XTerm*ScrollBar.foreground: gray
XTerm*ScrollBar: false
XTerm*ScrollBar.DrawBorder: false
XTerm*loginShell: true



XTerm*faceName: Mono
XTerm*faceSize: 9

任何人都可以说是否有可能使大胆的文本,我的配置中的颜色是例如color1?我试过了XTerm*color1: rgb:cd/00/00 bold,但这不起作用。

Answers:


2

我不确定这是否能回答你的问题,但是当我用Google搜索并找到你的问题时,它就回答了我的问题。

除了粗体,下划线,反转或闪烁之外,您还可以制作粗体,带下划线,反转视频和闪烁文本,着色。例如,你已经拥有

XTerm*colorBD: white
XTerm*colorUL: SkyBlue
XTerm*colorBDMode: on
XTerm*colorULMode: on

取代了大胆的颜色强调。为了得到大胆和下划线和颜色的同时,加

XTerm*veryBoldColors: 6

veryBoldColors资源的文档man xterm

veryBoldColors (class VeryBoldColors)
  Specifies  whether  to  combine  video  attributes with colors
  specified by  colorBD,  colorBL,  colorRV  and  colorUL.   The
  resource value is the sum of values for each attribute:
    1 for reverse,
    2 for underline,
    4 for bold and
    8 for blink.

  The default is “0”.
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.