Article View: gnu.emacs.bug
Article #98515fix for aix x11 display garbage
From: Bill Wohler
Date: Thu, 04 Jul 1991 13:54
Date: Thu, 04 Jul 1991 13:54
36 lines
1794 bytes
1794 bytes
folks,
this is an easy patch to fix AIX's X11 screen display garbage, at
least in my case. read the comment below for details.
would someone care to install this fix in the distribution (or the
equivalent if i went about it the wrong way). i'm fairly confident
that this is correct because the lines are now the same distance
apart as in other aix applications. before they were visibly
scrunched together.
--bw
*** /tmp/,RCSt1FK4CSM Wed Jul 3 15:55:43 1991
--- x11term.c Wed Jul 3 15:40:30 1991
***************
*** 2051,2056 ****
--- 2051,2066 ----
XXfid = fontp->fid;
XXfonth = fontp->ascent + fontp->descent;
+ #ifdef AIX
+ /*
+ * On AIX, at least, the lines were so close that the cursor would erase 2
+ * pixels of characters on other lines, mode lines would be cropped by 2
+ * pixels by the lines below and (2 pixels high) underscores would be left
+ * where the cursor had been. Adding 2 pixels to the height, strangely
+ * enough, fixed it.
+ */
+ XXfonth += 2;
+ #endif /* AIX */
XXfontw = fontp->max_bounds.width;
XXbase = fontp->ascent;
Technical Details
Message-ID:
<9107040954.AA30708@is0001>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!sap-ag.DE!wohlerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,dc5ddea059f10002,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-07-04 06:54:15 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!sap-ag.DE!wohler From: wohler@sap-ag.DE (Bill Wohler) Newsgroups: gnu.emacs.bug Subject: fix for aix x11 display garbage Message-ID: <9107040954.AA30708@is0001> Date: 4 Jul 91 13:54:15 GMT Sender: gnulists@ai.mit.edu Reply-To: Bill Wohler <wohler@sap-ag.de> Distribution: gnu Organization: SAP AG Walldorf, Germany Lines: 36 Approved: bug-gnu-emacs@prep.ai.mit.edu