[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xterm color

> >You must set the color resource
> OK ... tried all that ... didn't help ... other ideas?

  First, make sure it has any colors... it has ansi escape sequences, if it
is an 'xterm'... so, make sure the termcap or terminfo description for
xterm is set for color... try

  echo "\033[31m One color.\033[32m Second color."

  And see what happens, the ESC [30m ... ESC [38m should set the foreground
color, and ESC [40m .. ESC [48m should set the background color.  If it
doesn't give color... your xterm uses the termcap database, is it installed?
is the definition for xterm, set to the definition for xterm-color? Read the
/etc/termcap (termcap compatibility package).  Try setting your TERMINFO
variable with the proper information for color xterm (if it isn't set).

  If it does display colors, then your 'ls' command is an old one, and has
no color support. 
Ørn Einar Hansen                         oe.hansen@halmstad.mail.telia.com
                                    fax; +46 035 217194

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: