Chinaunix首页 | 论坛 | 博客
  • 博客访问: 269660
  • 博文数量: 87
  • 博客积分: 200
  • 博客等级: 入伍新兵
  • 技术积分: 205
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-09 11:44
文章分类

全部博文(87)

文章存档

2020年(1)

2019年(16)

2015年(17)

2014年(13)

2013年(27)

2012年(13)

我的朋友

分类: LINUX

2019-09-28 08:03:09

原文地址:Disable xterm color bold. 作者:cjacker

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.


阅读(1148) | 评论(0) | 转发(0) |
0

上一篇:XTerm配置文件

下一篇:xterm的字体设置问题

给主人留下些什么吧!~~