Bug 188034

Summary: xterm color works when it shouldn't
Product: [Fedora] Fedora Reporter: David A. De Graaf <dad>
Component: xtermAssignee: Jason Vas Dias <jvdias>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: dickey
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: 2006-04-13 16:35:30 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David A. De Graaf 2006-04-05 10:36:18 EDT
Description of problem:
xterm man page says    *customization: -color   is needed, but it isn't.

Version-Release number of selected component (if applicable):
xterm-211-1.FC5


How reproducible:
Always.


Steps to Reproduce:
1. Put  *customization: -color   into ~/.Xdefaults; start X;  start 
  xterm -bg red4   and observe a red background.

2. Remove   customization: -color   from ~/.Xdefaults; start X;  start
  xterm -bg red4   and observe a red background.

3.
  
Actual results:
  Color happens with or without the line.


Expected results:
The man page says the line is needed to get color.

Additional info:
The man page says this:
 /usr/lib/X11/app-defaults/XTerm-color
            the  xterm  color application resources.  If your display supports
            color, use this
                      *customization: -color
            in your .Xdefaults file to automatically turn on  color  in  xterm
            and similar applications.

Is this correct?  The program doesn't seem to know it.

BTW, color didn't work at all in xterm-209-4.i386.rpm, but it does work again
with the update - xterm-211-1.FC5.  Thanks for fixing it.  I found this man page
  anomaly while searching for a solution.
Comment 1 Thomas E. Dickey 2006-04-05 12:27:26 EDT
The manpage is wrong - the default (compiled-in) resource settings have
enabled color since 1999.
Comment 2 Jason Vas Dias 2006-04-13 16:35:30 EDT
Comment #1 is correct - xterm color mode operation is enabled by default.
The man-page merely states (correctly) that you can make xterm use different
color defaults by using the '*customization:-color' Xresource to select the
XTerm.color app-defaults file, instead of the XTerm app-default file - and
you can. Closing as 'NOTABUG'.