Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get color windows in MacX

1 view
Skip to first unread message

Jakob Nielsen

unread,
Oct 17, 1991, 1:59:10 PM10/17/91
to
I would like to thank Spencer W. Thomas and David C. Doherty for providing the
following answer:

To get the color window in MacX activated, set the DISPLAY variable on the host
system to xx.xx.xx.xx:0.2 (where xx.xx.xx.xx is your IP address). The important
addition of ".2" to the display address specifies that the Unix machine is to
connect to MacX's rootless color windows.

Jakob Nielsen

unread,
Oct 17, 1991, 11:28:22 AM10/17/91
to
When I use MacX to connect to a host running an X program, I always get windows
with monochrome contents. I would like to get windows with color contents, and
MacX seems to support color. I just cannot figure out how to switch the color
on. Admittedly, I am not much of a Unix person (which is why I use MacX for a
few non-Mac applications I need to use), but there must be some way the X
server (MacX) tells the X client (the program running on the mainframe) that it
has a color screen and can accept color windows. Please help.

Jakob Nielsen, Bellcore, nie...@bellcore.com

Kevin J. Hegg

unread,
Oct 17, 1991, 12:11:24 PM10/17/91
to

You typically specify the command line option -fg and -bg for foreground color
and background color respectively. In this example,

/usr/bin/X11/xclock -bg red -fg yellow -hd navy -display "(display"

I specify that the program xclock should run with a red background and yellow
foreground (and navy blue hands). Almost all X applications support -bg and
-fg. I hope this is what you were asking about.


Kevin J. Hegg Internet: kev...@cmi.com
Electronic Data Systems Corporation Applelink: D5990
Center for Advanced Research Phone: 313-995-0900
2001 Commonwealth Blvd., #102
Ann Arbor, Michigan 48105

James Wishart

unread,
Oct 17, 1991, 3:58:34 PM10/17/91
to
In article <1991Oct17....@walter.bellcore.com>, nie...@bellcore.com (Jakob Nielsen) writes:
>
The default display window, "nodename:0.0", is black and white.
Try setting the display to "nodename:0.2" or "nodename:0.3".
If you've already done that, I'm stumped.

Jim Wishart

0 new messages