From: Tzafrir Cohen (tzafrir_at_nonexisting.hamakor.org.il)
Date: Mon 03 May 2004 - 04:26:48 IDT
On Mon, May 03, 2004 at 08:06:00AM -0400, doritb_at_netvision.net.il 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:tzafrir_at_technion.ac.il +---------------------------+ ================================================================= To unsubscribe, send mail to linux-il-request_at_linux.org.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Mon 03 May 2004 - 04:38:15 IDT