电脑技术学习

在Solaris上安装带颜色分辨的 ls

dn001

  # pipes. @#all@# adds color characters to all output. @#none@# shuts colorization

  # off.

  COLOR tty

  # Extra command line options for ls go here.

  # Basically these ones are:

  # -F = show @#/@# for dirs, @#*@# for executables, etc.

  # -T 0 = don@#t trust tab spacing when formatting ls output.

  OPTIONS -F -T 0

  # Below, there should be one TERM entry for each termtype that is colorizable

  TERM Linux

  TERM console

  TERM con132x25

  TERM con132x30

  TERM con132x43

  TERM con132x60

  TERM con80x25

  TERM con80x28

  TERM con80x30

  TERM con80x43

  TERM con80x50

  TERM con80x60

  TERM cons25

  TERM xterm

  TERM rxvt

  TERM xterm-color

  TERM color-xterm

  TERM vt100

  TERM dtterm

  TERM color_xterm

  # EIGHTBIT, followed by @#1@# for on, @#0@# for off. (8-bit output)

  EIGHTBIT 1

  # Below are the color init strings for the basic file types. A color init

  # string consists of one or more of the following numeric codes:

  # Attribute codes:

  # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed

  # Text color codes:

  # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white

  # Background color codes:

  # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white

  NORMAL 00 # global default, although everything should be something.

标签: