DIR_COLORS ve renkli 'ls'

AKIRMAK HASAN BASRI (e73884@ceng.metu.edu.tr)
Tue, 29 Aug 1995 00:31:39 +0400 (GMT+3:00)


Selamlar,
Konsoldan renkli 'ls' ciktisi almak hos bir sey de telnet yaptiginiz
bir makinadan boyle ciktilar almak ekrani gocertebiliyor.

Bildigim kadariyla bunu onlemenin yolu asagidaki (/etc/DIR_COLORS) dosyasini
yeniden konfigure etmek:

# Configuration file for the color ls utility
# This file goes in the /etc directory, and must be world readable.
# You can copy this file to .dir_colors in your $HOME directory to override
# the system defaults.

# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
# off.
COLOR tty
^^^^^^^^^
Bu degeri "none" veya yaptigimda dir,ls gibi komutlar
"segmentation fault" hatasi veriyor (hic output yok).

# Below, there should be one TERM entry for each termtype that is colorizable
TERM console
TERM xterm
TERM vt100
^^^^^^^^^^
Buradaki degerleri (ornegin) vt100'u iptal ettigimde de
ayni hata veriliyor.
Sonucta su anda her bir yerden renkli cikti aliniyor. Ve cok
cirkin olabiliyor bu.

Acaba sadece terminal turu konsol olan login'lerden renkli 'ls' ciktisi
alabilmek icin ne yapmam gerekiyor?
Yardimci olursaniz sevinirim.
Iyi calismalar.

Hasan Basri AKIRMAK
----------------------------------
MIDDLE EAST TECHNICAL UNIVERSITY
Computer Engineering Student

E-mail: akirmak@ceng.metu.edu.tr
-----------------------------------
-----------------------------------