3
<head><title>The PAW graphical window is corrupted when overlapped with another window.
4
</title></head><body BGCOLOR="#FFFFFF">
5
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=5 WIDTH="100%">
6
<TR BGCOLOR="#0000FF"><TD><A HREF="http://cern.ch/">
7
<IMG SRC="http://cern.ch/paw/faq/pics/cernbanner.gif" BORDER=0>
10
<h1>The PAW graphical window is corrupted when overlapped with another window.
13
On (UNIX) machines using X-window, the <b>HIGZ</b> package (and <b>PAW</b>)
14
relies on the ``BackingStore''
15
facility provided by X-Window to update the content of the graphics window when it
16
has been damaged by an other window put on top of it. Very often the X11 (X-Window)
17
server start with the ``BackingStore'' activated by default. But some
18
servers don't. In that case <B>you should activate the ``BackingStore''
19
when you start your X11 server</B>.
22
The way to activate the ``BackingStore'' depends on the type of machine you are using.
24
<P><LI><B>On X11 platforms:</B><P>
26
<P><LI> <b>LINUX</b>: It depends which daemon is in charge of putting up
28
X-Windows screen, and start the X-Window session at login time.
29
It can be <TT><FONT COLOR="#993300">xdm</FONT></TT>,
30
<TT><FONT COLOR="#993300">kdm</FONT></TT> (provided with the <b>KDE</b>
32
<TT><FONT COLOR="#993300">gdm</FONT></TT>. If it is
33
<TT><FONT COLOR="#993300">xdm</FONT></TT> or
34
<TT><FONT COLOR="#993300">kdm</FONT></TT> the line starting the X server
36
<TT><FONT COLOR="#993300">/usr/lib/X11/xdm/Xservers</FONT></TT> should not
37
contain the option <TT><FONT COLOR="#993300">-bs</FONT></TT> it should look
39
<FONT COLOR="#993300"><pre>
40
:0 local /usr/X11R6/bin/X +bs </pre></font>
42
<TT><FONT COLOR="#993300">gdm</FONT></TT> the line starting the X server
44
<TT><FONT COLOR="#993300">/etc/X11/gdm/gdm.conf</FONT></TT> should
45
contain the option <TT><FONT COLOR="#993300">+bs</FONT></TT> it could be
47
<FONT COLOR="#993300"><pre>
50
With some LINUX systems (for instance <b>Suse Linux 7.2</b>)
51
the file <TT><FONT COLOR="#993300">.fvwm2rc</FONT></TT> should contains the
53
<pre><FONT COLOR="#993300">
54
Style "*" BackingStore
56
<P><LI><b>XFree86 4.0.1</b>: The <TT><FONT COLOR="#993300">Screen</FONT></TT>
57
section of the file <TT><FONT COLOR="#993300">/etc/X11/XF86Config</FONT></TT>
58
(or <TT><FONT COLOR="#993300">/etc/X11/XF86Config-4</FONT></TT>)
59
should be something like:
60
<pre><FONT COLOR="#993300">
72
<P><LI><b>SGI</b>: In the file <TT><FONT COLOR="#993300">/var/X11/xdm/Xservers</FONT></TT>
73
set the option <TT><FONT COLOR="#993300">-wm</FONT></TT>. </LI>
75
<P><LI><b>IBM RS 6000</b>: In the file
76
<TT><FONT COLOR="#993300">/usr/lpp/X11/defaults/xserverrc</FONT></TT>
77
declare: <TT><FONT COLOR="#993300">EXTENSIONS="-bs -su" </FONT></TT></LI>
79
<P><LI><b>An other way</b>:
80
Start the X server with option <TT><FONT COLOR="#993300">+bs</FONT></TT>.
81
This can be done by adding the option in the
82
<TT><FONT COLOR="#993300">.xserverrc</FONT></TT> file in user's home
84
<pre><FONT COLOR="#993300">
87
exec X +bs -bpp 32 -auth ${HOME}/.Xauthority
92
<b>Note that once the necessary modifications have been done, the X server should
93
be restart. <FONT COLOR="#FF0000">Rebooting the machine may be necessary ...</font></b>
94
<P><LI><B>On Windows 95, 98, 2000 and NT platforms: </B></LI>
96
<P>Two possibilities: </P>
99
<P><LI>You are running a native PC version of <b>PAW</b>. In that case
100
X11 is not involved. <b>HIGZ</b> provides the possibility to restore the
101
corrupted window using the "double buffering". If you use <b>PAW</b> you should
102
include in your file <FONT COLOR="#993300"><TT>pawlogon.kumac</TT> </FONT>the
103
command <TT><FONT COLOR="#993300">SET 2BUF 11</FONT> </TT></LI>.
105
<P><LI>Your are running remotely a X11 version of <b>PAW</b>. In that case you should
106
activate the 'backing store' option in your X11 emulator on PC.
107
For example with Exceed you should proceed as follow: </LI>
109
<FONT COLOR="#993300">
112
---> Exceed X-terminal
113
---> Exceed Applications
118
In this window, titled "Performance":
121
<LI>Activate the <code>"Save Unders"</code> option (this eliminates the need
122
for the client to refresh the window when the menu is rolled back up).
125
<FONT COLOR="#993300"><PRE>
126
Maximum Backing Store: Always (attempt to preserve the contents
127
of any window, whether it is mapped or not,
128
as long as it is displayed on the X server)
129
Default Backing Store: When Mapped
130
Minimum Backing Store: When Mapped
131
Tune... ---> Run All (this runs automatically some tests)
134
Press the "OK" button to validate this setting.
136
<P>Then start again your X11-session </P>
141
<p><hr><FONT SIZE=-1><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=3 WIDTH="100%" BGCOLOR="#FFFFCC"><TR ALIGN=CENTER><TD BGCOLOR="#AAAAAA"><A HREF="http://wwwinfo.cern.ch/asd/paw/"><img src="http://cern.ch/paw/faq/pics/up2.gif" border=1></a></td><TD BGCOLOR="#FFCCCC"><A HREF="http://wwwinfo.cern.ch/asd/cgi-bin/listpawnews.pl">Release Notes</A></TD><TD><A HREF="http://wwwinfo.cern.ch/asd/cgi-bin/listpawbugs.pl">Known bugs</A></TD><TD BGCOLOR="#CCFFFF"><A HREF="http://wwwinfo.cern.ch/asd/cgi-bin/listpawfaqs.pl">FAQs</A></TD><TD BGCOLOR="#FFCCCC"><A HREF="http://wwwinfo.cern.ch/asd/paw/contributions/index.html">Contributions</A></TD><TD><A HREF="http://wwwinfo.cern.ch/asd/paw/tutorial/tut_index.html">Tutorial</A></TD><TD BGCOLOR="#CCFFFF"><A HREF="http://wwwinfo.cern.ch/asd/paw/reference_manual/index.html">Reference manual</A></TD><TD BGCOLOR="#FFCCCC"><A HREF="http://wwwinfo.cern.ch/asd/paw/versions.html">Down load</A></TD><TD><A HREF="http://wwwinfo.cern.ch/asd/paw/misc.html">Miscellaneous</A></TD></TR> </TABLE> </FONT><hr> <address><a href="mailto:Paw.Support@cern.ch">Paw.Support@cern.ch</a></address>