Bug 104743

Summary: ls --color should use terminfo database
Product: [Retired] Red Hat Linux Reporter: JW <ohtmvyyn>
Component: fileutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-10 12:16:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.