On Mon, May 03, 2004 at 08:06:00AM -0400, [EMAIL PROTECTED] wrote:
> 
> Because of visual problems, I need all xterms 
> on my system to always be colorless, i.e. -cm.
> Right now I am doing it in a piecmeal fashion,
> i.e., once in fvwmrc, once in xinitrc etc.
> Is there something logically equivalent to
> an xtermrc which would allow me to do
> it once and for all  ?

Xterm's configuration is through X resources. 

The defaults are set in /usr/X11R6/lib/X11/app-defaults/XTerm
(actually: in a unicode environment you better use 'uxterm', which has
the config file UXTerm) . 

If you want per-use settings, you should either copy that XTerm file to
your home directory, or use the general-purpose X resources file
(normally ~/.Xresources, but sometimes it is ~/.Xdefaults) . There you
should prefi them 'xterm'

In this specific case I figure you need to either:

in /usr/X11R6/lib/X11/app-detfaults/XTerm replace 
*VT100*colorMode: on
*VT100*boldColors: on
*VT100*dynamicColors: on

with:
*VT100*colorMode: off
*VT100*boldColors: off
*VT100*dynamicColors: off

Or put the following in your ~/.xresources :
XTerm*VT100*colorMode: off
XTerm*VT100*boldColors: off
XTerm*VT100*dynamicColors: off

And probably:
UXTerm*VT100*colorMode: off
UXTerm*VT100*boldColors: off
UXTerm*VT100*dynamicColors: off

And then run 'xrdb -merge ~/.Xresources' or restart the X session.

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to