Thread: can't get colors to work in terminal
hello,
used work colors in terminal defining environment variables values equal ansi escape sequences, e.g.,
csi=$'\x1b'[
redf="$csi"31m
blackf="$csi"30m
, if wrote
echo $redf bla bla $blackf
"bla bla" show in red. reason not work in ubuntu 9.10. perhaps settings wrong. can give me advice?
regards,
bostjanv
sorry, mistake. actually, made several mistakes, main 1 of not use echo -e. distributions have echo -e default (-e not necessary).
regards,
bostjanv
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] can't get colors to work in terminal
Ubuntu
Comments
Post a Comment