Bug 75646

Summary: No colored ls or ll/l. aliases when TERM is ansi
Product: [Retired] Red Hat Linux Reporter: David Morse <david_j_morse>
Component: fileutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: low    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-22 14:00:35 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 David Morse 2002-10-10 16:45:51 UTC
Description of Problem: No colored ls, no l. or ll aliases when TERM type is 
set to ansi (which is the default when telnetting in from a Windows box).  This 
is because ansi isn't listed /etc/DIR_COLORS.


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


How Reproducible: Every time.


Steps to Reproduce:
1. Telnet to a RH 8.0 box from Windows.
2. ls

Actual Results:  No color when doing ls (also, ll and l. are not set as aliases)


Expected Results:  Color upon ls, ll and l. aliases set


Additional Information:  Quick fix:

--- /etc/DIR_COLORS.orig	2002-10-10 11:30:32.000000000 -0500
+++ /etc/DIR_COLORS	2002-10-10 11:30:43.000000000 -0500
@@ -35,6 +35,7 @@
 TERM vt100
 TERM dtterm
 TERM color_xterm
+TERM ansi
 
 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
 EIGHTBIT 1

Comment 1 Tim Waugh 2002-10-11 15:41:53 UTC
Thanks.

Comment 2 Tim Waugh 2002-10-22 14:00:24 UTC
Fixed package is 4.1.9-12.