/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux.Soft/paw/paw_refresh.html

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
 
 
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>
 
8
</A></TD></TR></TABLE>
 
9
 
 
10
<h1>The PAW graphical window is corrupted when overlapped with another window.
 
11
</h1><hr><p>
 
12
 
 
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>.
 
20
 <BR>
 
21
 <BR>
 
22
 The way to activate the ``BackingStore'' depends on the type of machine you are using.
 
23
 <UL>
 
24
 <P><LI><B>On X11 platforms:</B><P>
 
25
 <UL>
 
26
 <P><LI> <b>LINUX</b>: It depends which daemon is in charge of putting up
 
27
 the login box on the
 
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>
 
31
 environment) or
 
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
 
35
 in the file
 
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
 
38
 something like:
 
39
 <FONT COLOR="#993300"><pre>
 
40
 :0 local /usr/X11R6/bin/X +bs </pre></font>
 
41
 If it is
 
42
 <TT><FONT COLOR="#993300">gdm</FONT></TT> the line starting the X server
 
43
 in the file
 
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
 
46
 something like:
 
47
 <FONT COLOR="#993300"><pre>
 
48
 0=/usr/bin/X11/X +bs
 
49
 </pre></font>
 
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
 
52
 line:
 
53
 <pre><FONT COLOR="#993300">
 
54
 Style  "*"  BackingStore
 
55
 </font></pre><p>
 
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">
 
61
 Section "Screen"
 
62
      .
 
63
      .
 
64
      .
 
65
    Option "backingstore"
 
66
      .
 
67
      .
 
68
      .
 
69
 EndSection
 
70
 </font></pre>
 
71
 
 
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>
 
74
 
 
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>
 
78
 
 
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
 
83
 directory:
 
84
 <pre><FONT COLOR="#993300">
 
85
 #!/bin/sh
 
86
 HOST=`hostname`
 
87
 exec X +bs -bpp 32 -auth ${HOME}/.Xauthority
 
88
 </font></pre>
 
89
 
 
90
 </UL>
 
91
 <p>
 
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>
 
95
 
 
96
 <P>Two possibilities: </P>
 
97
 
 
98
 <OL>
 
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>.
 
104
 
 
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>
 
108
 
 
109
 <FONT COLOR="#993300">
 
110
 <PRE>Start --->
 
111
    More Applications
 
112
       ---> Exceed X-terminal
 
113
              ---> Exceed Applications
 
114
                      ---> Xconfig
 
115
                            ---> Performance
 
116
 </PRE></font>
 
117
 
 
118
 In this window, titled "Performance":
 
119
 
 
120
 <UL>
 
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).
 
123
 
 
124
 <LI>Then select:
 
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)
 
132
 </PRE></font>
 
133
 </UL>
 
134
 Press the "OK" button to validate this setting.
 
135
 
 
136
 <P>Then start again your X11-session </P>
 
137
 </OL>
 
138
 </UL>
 
139
 
 
140
 
 
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> 
 
142
</body></html>