1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
<html>
<head><title>The PAW graphical window is corrupted when overlapped with another window.
</title></head><body BGCOLOR="#FFFFFF">
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=5 WIDTH="100%">
<TR BGCOLOR="#0000FF"><TD><A HREF="http://cern.ch/">
<IMG SRC="http://cern.ch/paw/faq/pics/cernbanner.gif" BORDER=0>
</A></TD></TR></TABLE>
<h1>The PAW graphical window is corrupted when overlapped with another window.
</h1><hr><p>
On (UNIX) machines using X-window, the <b>HIGZ</b> package (and <b>PAW</b>)
relies on the ``BackingStore''
facility provided by X-Window to update the content of the graphics window when it
has been damaged by an other window put on top of it. Very often the X11 (X-Window)
server start with the ``BackingStore'' activated by default. But some
servers don't. In that case <B>you should activate the ``BackingStore''
when you start your X11 server</B>.
<BR>
<BR>
The way to activate the ``BackingStore'' depends on the type of machine you are using.
<UL>
<P><LI><B>On X11 platforms:</B><P>
<UL>
<P><LI> <b>LINUX</b>: It depends which daemon is in charge of putting up
the login box on the
X-Windows screen, and start the X-Window session at login time.
It can be <TT><FONT COLOR="#993300">xdm</FONT></TT>,
<TT><FONT COLOR="#993300">kdm</FONT></TT> (provided with the <b>KDE</b>
environment) or
<TT><FONT COLOR="#993300">gdm</FONT></TT>. If it is
<TT><FONT COLOR="#993300">xdm</FONT></TT> or
<TT><FONT COLOR="#993300">kdm</FONT></TT> the line starting the X server
in the file
<TT><FONT COLOR="#993300">/usr/lib/X11/xdm/Xservers</FONT></TT> should not
contain the option <TT><FONT COLOR="#993300">-bs</FONT></TT> it should look
something like:
<FONT COLOR="#993300"><pre>
:0 local /usr/X11R6/bin/X +bs </pre></font>
If it is
<TT><FONT COLOR="#993300">gdm</FONT></TT> the line starting the X server
in the file
<TT><FONT COLOR="#993300">/etc/X11/gdm/gdm.conf</FONT></TT> should
contain the option <TT><FONT COLOR="#993300">+bs</FONT></TT> it could be
something like:
<FONT COLOR="#993300"><pre>
0=/usr/bin/X11/X +bs
</pre></font>
With some LINUX systems (for instance <b>Suse Linux 7.2</b>)
the file <TT><FONT COLOR="#993300">.fvwm2rc</FONT></TT> should contains the
line:
<pre><FONT COLOR="#993300">
Style "*" BackingStore
</font></pre><p>
<P><LI><b>XFree86 4.0.1</b>: The <TT><FONT COLOR="#993300">Screen</FONT></TT>
section of the file <TT><FONT COLOR="#993300">/etc/X11/XF86Config</FONT></TT>
(or <TT><FONT COLOR="#993300">/etc/X11/XF86Config-4</FONT></TT>)
should be something like:
<pre><FONT COLOR="#993300">
Section "Screen"
.
.
.
Option "backingstore"
.
.
.
EndSection
</font></pre>
<P><LI><b>SGI</b>: In the file <TT><FONT COLOR="#993300">/var/X11/xdm/Xservers</FONT></TT>
set the option <TT><FONT COLOR="#993300">-wm</FONT></TT>. </LI>
<P><LI><b>IBM RS 6000</b>: In the file
<TT><FONT COLOR="#993300">/usr/lpp/X11/defaults/xserverrc</FONT></TT>
declare: <TT><FONT COLOR="#993300">EXTENSIONS="-bs -su" </FONT></TT></LI>
<P><LI><b>An other way</b>:
Start the X server with option <TT><FONT COLOR="#993300">+bs</FONT></TT>.
This can be done by adding the option in the
<TT><FONT COLOR="#993300">.xserverrc</FONT></TT> file in user's home
directory:
<pre><FONT COLOR="#993300">
#!/bin/sh
HOST=`hostname`
exec X +bs -bpp 32 -auth ${HOME}/.Xauthority
</font></pre>
</UL>
<p>
<b>Note that once the necessary modifications have been done, the X server should
be restart. <FONT COLOR="#FF0000">Rebooting the machine may be necessary ...</font></b>
<P><LI><B>On Windows 95, 98, 2000 and NT platforms: </B></LI>
<P>Two possibilities: </P>
<OL>
<P><LI>You are running a native PC version of <b>PAW</b>. In that case
X11 is not involved. <b>HIGZ</b> provides the possibility to restore the
corrupted window using the "double buffering". If you use <b>PAW</b> you should
include in your file <FONT COLOR="#993300"><TT>pawlogon.kumac</TT> </FONT>the
command <TT><FONT COLOR="#993300">SET 2BUF 11</FONT> </TT></LI>.
<P><LI>Your are running remotely a X11 version of <b>PAW</b>. In that case you should
activate the 'backing store' option in your X11 emulator on PC.
For example with Exceed you should proceed as follow: </LI>
<FONT COLOR="#993300">
<PRE>Start --->
More Applications
---> Exceed X-terminal
---> Exceed Applications
---> Xconfig
---> Performance
</PRE></font>
In this window, titled "Performance":
<UL>
<LI>Activate the <code>"Save Unders"</code> option (this eliminates the need
for the client to refresh the window when the menu is rolled back up).
<LI>Then select:
<FONT COLOR="#993300"><PRE>
Maximum Backing Store: Always (attempt to preserve the contents
of any window, whether it is mapped or not,
as long as it is displayed on the X server)
Default Backing Store: When Mapped
Minimum Backing Store: When Mapped
Tune... ---> Run All (this runs automatically some tests)
</PRE></font>
</UL>
Press the "OK" button to validate this setting.
<P>Then start again your X11-session </P>
</OL>
</UL>
<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>
</body></html>
|