Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing xterm colors in Leopard



Date: Thu, 8 Nov 2007 09:31:45 -0500
From: Buz Barstow <email@hidden>
To: email@hidden
Subject: Changing xterm colors in Leopard

Hi,

Does anyone know how to change the background and text colors in the
Leopard X11 xterm program? I would like to change the colors from
their default black text on white, to green text on black.

The old-fashioned UNIX way to do this was with .Xresources. In your home directory, create a .Xresources file, which gets read on starting of X11, put the customizations you want in there:


-- cut here -- #define FONT -*-lucidatypewriter-medium-*-*-*-12-*-*-*-*-*-*-*

xterm*font:             FONT
xterm*background:       black
xterm*foreground:       green
xterm*cursorColor:      green
xterm*colorMode:        true
xterm*colorRVMode:      false
xterm*colorUL:          Cyan
xterm*colorBD:          LimeGreen

-- end cut --

This worked in Tiger, it's broken in Leopard.  I've filed a (duplicate)
bug on this.  If you start a new xterm from the spawned xterm, it will
have the right settings.

You can find the colors X11 knows about from /usr/X11/share/X11/rgb.txt

The settable resources can be found in the xterm man page.

--
Michael Parson
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Changing xterm colors in Leopard (From: Buz Barstow <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.