I tried 256color supported xterm and it works pretty well.
Only a little problem exists, ls color files will show as bold.
after some trace, I found such solution.
cp /etc/DIR_COLORS ~/.dir_colors
cp /etc/DIR_COLORS.256color ~/.dir_colors.256color
cp /etc/DIR_COLORS.xterm ~/.dir_colors.xterm
replace all "01" in these three files to 00.
google search for this issue with "Disable xterm bold"
first is:
the second is:
Somebody suggest to try boldFont, boldColors in .Xresources
even somebody try to --disable-bold-color support.
All answers are totally wrong. the problem(actually it is not a problem) is caused by
DIR_COLORS macros, since xterm can support and interpret it correctly.
you can find something like this in DIR_COLORS.XXX files:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
But konsole/vte based termnial did not support it, so they works as we wanted.
阅读(1098) | 评论(0) | 转发(1) |