Bug 104743 - ls --color should use terminfo database
Summary: ls --color should use terminfo database
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-20 03:09 UTC by JW
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-12-10 12:16:34 UTC
Embargoed:


Attachments (Terms of Use)

Description JW 2003-09-20 03:09:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; MSIE 5.01; Windows 98;)

Description of problem:
Instead of having literal escape codes specified in
terminals-specific environment, terminfo compatible
color codes should be used instead.  Then it is a
simple matter of ensuring that the correct 'setb'
or 'setf' settings are set in the relevent terminfo
database.

After all, that is exactly what the terminfo database
is for.


Version-Release number of selected component (if applicable):
4.1.9-11

How reproducible:
Always

Steps to Reproduce:
1. Read /etc/profile.d/colorls.* and groan.
2.
3.
    

Actual Results:  Use terminfo.

Expected Results:  Use terminfo.


Additional info:

Use terminfo.

Comment 1 Tim Waugh 2003-09-29 07:18:32 UTC
I don't know much about terminfo.  Would you care to give me an example patch? 
I think it's the DIRCOLORS file you are talking about?

Comment 2 Tim Waugh 2004-12-10 12:16:34 UTC
No feedback; closing.


Note You need to log in before you can comment on or make changes to this bug.