Chinaunix首页 | 论坛 | 博客
  • 博客访问: 187456
  • 博文数量: 40
  • 博客积分: 1900
  • 博客等级: 上尉
  • 技术积分: 450
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-06 21:31
文章分类
文章存档

2009年(16)

2008年(24)

我的朋友

分类: LINUX

2008-12-18 16:50:13

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) |
给主人留下些什么吧!~~