On rxvt, and only on rxvt, then when I display text using the ncurses A_BOLD
attribute then it's artificially coloured.
Edit: When colours are enabled. (Via ncurses start_color()
.)
Top is gnome-terminal, bottom is rxvt-unicode.
Does anyone know enough about the rxvt configuration to know whether I can stop this happening? It does seem to be correctly finding the bold font, so it doesn't need to emphasise the text by colour.
I do know there's a colorBD
resource which is used to specify the colour of bold text; however this only seems to apply when drawing text in the foreground colour, which this isn't (it's actually off-white). (Also, I've tried setting it and nothing happens, so that code path isn't firing.)
I don't believe there's anything in my configuration, which is pretty basic:
URxvt*scrollTtyOutput: false
URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress: true
URxvt*font: xft:Monoid Tight:pixelsize=12
URxvt*saveLines: 10000
URxvt*scrollBar_right: true
URxvt*background: #2B2B2B
URxvt*foreground: #DEDEDE
(Plus a palette setting, omitted for brevity.) I've checked with xrdb -query
and the settings are being picked up and it's not showing anything. Plus I've checked /etc/X11/app-defaults/URxvt
and everything's commented out.
So is this hard-coded behaviour?
Edit: As requested, I have remitted the palette settings here:
! black
URxvt*color0 : #2E3436
URxvt*color8 : #555753
! red
URxvt*color1 : #CC0000
URxvt*color9 : #EF2929
! green
URxvt*color2 : #4E9A06
URxvt*color10 : #8AE234
! yellow
URxvt*color3 : #C4A000
URxvt*color11 : #FCE94F
! blue
URxvt*color4 : #3465A4
URxvt*color12 : #729FCF
! magenta
URxvt*color5 : #75507B
URxvt*color13 : #AD7FA8
! cyan
URxvt*color6 : #06989A
URxvt*color14 : #34E2E2
! white
URxvt*color7 : #D3D7CF
URxvt*color15 : #EEEEEC
$ infocmp $TERM | grep bold
- if that reveals anything else thanbold=\E[1m
(assuming ANSI; set bold ON), then it could be a clue.$ tput bold ; echo TEST ; tput sgr0
prints bold text, not red and bold (rxvt here)start_color()
. Updated question.colorBD
belong in that context, e.g. as a parameter tostart_color()
?