Bug 77831 - colors not handled right in screen because of missing file
colors not handled right in screen because of missing file
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-14 02:19 EST by Nathan G. Grennan
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-02 22:37:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Nathan G. Grennan 2002-11-14 02:19:17 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20021017

Description of problem:
/etc/profile.d/colorls.sh checks $TERM and looks for /etc/DIR_COLOR.$TERM  This
makes colors work right in terminal programs that have their $TERM set to xterm.
I today switched to a setup where my terminals are automatically run with screen
on top of zsh so that I can use "ctrl-a d" to push something into the background
and not have to worry about it going away if X crashes. This is especially nice
with downloads/uploads. So my $TERM is constantly set to screen instead of
xterm. This results in sub-optimal ls colors. As a workaround I have used cd
/etc ; ln -s DIR_COLORS.xterm DIR_COLORS.screen

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


How reproducible:
Always

Steps to Reproduce:
1. screen
2. ls

	

Actual Results:  Colors work, but aren't correctly set, so things like archive
files aren't red.

Expected Results:  Proper colors for all file types.

Additional info:
Comment 1 Tim Waugh 2002-11-14 04:17:24 EST
Perhaps a better solution is to add a line to /etc/DIR_COLORS, rather than make
a new file.

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