|
Hi all,
I'm using Red Hat 8.0 on an intel pentium 4 system. I have
the
following related s/w information
XFree86
----------------------------------------------------------------------------
[EMAIL PROTECTED] root]# XFree86 -version
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) /
X Window System
(protocol Version 11, revision 0, vendor release
6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card
is
newer than the above date, look for a newer version
before
reporting problems. (See
http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686
[ELF]
Build Host: daffy.perf.redhat.com
Module Loader present
OS Kernel: Linux version 2.4.18-14
([EMAIL PROTECTED])
(gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1
Wed Sep 4 13:35:50 EDT 2002
----------------------------------------------------------------------------
uname
----------------------------------------------------------------------------
[EMAIL PROTECTED] root]# uname -a
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4
13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
----------------------------------------------------------------------------
xterm
----------------------------------------------------------------------------
[EMAIL PROTECTED] root]# xterm -version
XFree86 4.2.0(165)
----------------------------------------------------------------------------
emacs
----------------------------------------------------------------------------
[EMAIL PROTECTED] root]# emacs -version
GNU Emacs 21.2.1
Copyright (C) 2001 Free Software Foundation,
Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public
License.
For more information about these matters, see the file
named COPYING.
----------------------------------------------------------------------------
gnome
----------------------------------------------------------------------------
gnome 2.0 (thats the best i can do, no program
available
that will give me
$gnome --version
----------------------------------------------------------------------------
Now when I run the program emacs and xterm I get the
following error message
----------------------------------------------------------------------------
[EMAIL PROTECTED] root]# emacs &
[1] 1327
[EMAIL PROTECTED] root]# xterm &
[2] 1328
[1] Done emacs
[EMAIL PROTECTED] root]#
Warning: Cannot allocate colormap entry for
"Orchid"
Warning: Cannot allocate colormap entry for
"Wheat"
[2]+ Done xterm
[EMAIL PROTECTED] root]#
----------------------------------------------------------------------------
So basically, it shows that emacs starts up fine but for
xterm, there are
colormap allocation issues.
I checked the file ~/.Xresources
and it shows the same colors are being used by emacs and
xterm
----------------------------------------------------------------------------
emacs*Foreground: Wheat
emacs*pointerColor: Orchid
emacs*cursorColor: Orchid
.
xterm*background: Black
xterm*foreground: Wheat
xterm*cursorColor: Orchid
----------------------------------------------------------------------------
So my question is if emacs and xterm are using the same
colors then
why is xterm giving an error on starup ?
Also, since the colors aren't allocated xterm fg and
cursor are not visible.
Can someone please help in answering the above question ?
Would
really appreciate any input.
Thanks in advance
Yashesh.
p.s. I have attached the .Xresources and XF86Config files. |
.Xresources
Description: Binary data
XF86Config
Description: Binary data

