Hello,

With OpenBSD 4.4, I got the color in console with the ls command and the
package gnuls.

Here is my profile:

SHELL=/bin/ksh

PS1="\w \\$ "

 PKG_PATH=ftp://ftp.crans.org/pub/OpenBSD/4.5/packages/`machine -a`/

 DIR="di=01;34:"
 CON="*conf=01;33:"
 EXE="*sh=01;32:"
 ARC="*tar=01;31:*gz=01;31:*tar.gz=01;31:*tgz=01;31:*bz2=01;31:*zip=01;31:"
 MUS="*ogg=40;35:*mp3=40;35:*avi=40;35:*mpg=40;35:*mpeg=40;35:"
 IMG="*png=01;35:*gif=01;35:*jpg=01;35:*jpeg=01;35:"
 LS_COLORS="${DIR}${CON}${EXE}${ARC}${MUL}${IMG}"

 export SHELL PS1 PKG_PATH LS_COLORS

 alias ls="ls" \
       ll="ls -l" la="ls -a" lla="ls -la" ld="ll | grep '^d'" \
       md="/bin/mkdir" rd="/bin/rmdir" \
       rm="/bin/rm -i" cp="/bin/cp -i" mv="/bin/mv -i" \
       df="/bin/df -h" du="/usr/bin/du -h" \
       h="history" j="jobs" p="/usr/bin/lpr" \
       c="/usr/bin/clear" bye="exit" off="/sbin/halt -p"

But with OpenBSD 4.5, it does not work.

Thank you in advance for your answers.

-Olivier

_________________________________________________________________
Dicouvrez toutes les possibilitis de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx

Reply via email to