Article View: gnu.emacs.bug
Article #99762misfeature in 18.55 x11term.c
From: "Anthony A. Datri"
Date: Tue, 12 Jun 1990 20:37
Date: Tue, 12 Jun 1990 20:37
23 lines
1347 bytes
1347 bytes
In x11term.c, line 1541 reads:
XXisColor = DisplayCells (XXdisplay, XXscreen) > 2;
The various color-setting functions seem to be no-ops if this variable
isn't true, which is a misfeature. Against a 1-bit server, there is no
reason why you should not be able to use
-fg white -bg black
for example, against a 1-bit server.
The most expedient way for me to fix this was to change 2 into 0:
XXisColor = DisplayCells (XXdisplay, XXscreen) > 0;
The real thing to do is to just remove all these checks of XXisColor.
If the user wants to give a 1-bit server -fg thistle -bg redviolet, he
should be able to, and the server and X libraries do whatever they can
to come close.
--
vi belongs in errno.h: editor too big
Technical Details
Message-ID:
<EaRJ_F62e4Nh82cfsR@concave>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!UXC.CSO.UIUC.EDU!convex!datriShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,8d01775df3a21bc6,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-06-13 05:41:24 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!UXC.CSO.UIUC.EDU!convex!datri
From: convex!datri@UXC.CSO.UIUC.EDU ("Anthony A. Datri")
Newsgroups: gnu.emacs.bug
Subject: misfeature in 18.55 x11term.c
Message-ID: <EaRJ_F62e4Nh82cfsR@concave>
Date: 12 Jun 90 20:37:37 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23
Posted: Tue Jun 12 21:37:37 1990