This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: setting default xterm colors
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 27 Apr 2005 11:26:06 +0200 (MEST)
- Subject: Re: setting default xterm colors
- References: <426F39B3.6030807@hq.astra.ph>
- Reply-to: cygwin-xfree at cygwin dot com
On Wed, 27 Apr 2005, Carlo Florendo wrote:
> Hello,
>
> Does anyone know a way to set xterm colors without using the -bg and -fg
> options all the time? I know one way to do it would be to alias xterm
> in bash_profile such that the command always includes the bg and fg
> options every time it is invoked. Aliasing works for me but this is not
> what I want.
man xterm lists a huge number of commandline options and their respective
resources.
-bg => background
-fg => foreground
These resources can either be set in /usr/lib/X11/app-defaults/XTerm*
but these changes will get lost with the next xterm update or in ~/.Xdefaults
You may also create a global file /usr/X11R6/lib/X11/xinit/.Xresources and import
tzhe settings with
xrdb -merge /usr/X11R6/lib/X11/xinit/.Xresources
If you're using startx to start the xserver, it will automaticly read the settings
from these files (in this order)
/usr/X11R6/lib/X11/xinit/.Xresources
$HOME/.Xdefaults
The syntax of these files is the same as in /usr/lib/X11/app-defaults/XTerm*
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723