| 1 |
.\" Copyright 1988, 1998 The Open Group |
| 2 |
.\" |
| 3 |
.\" Permission to use, copy, modify, distribute, and sell this software and its |
| 4 |
.\" documentation for any purpose is hereby granted without fee, provided that |
| 5 |
.\" the above copyright notice appear in all copies and that both that |
| 6 |
.\" copyright notice and this permission notice appear in supporting |
| 7 |
.\" documentation. |
| 8 |
.\" |
| 9 |
.\" The above copyright notice and this permission notice shall be included |
| 10 |
.\" in all copies or substantial portions of the Software. |
| 11 |
.\" |
| 12 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 13 |
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 14 |
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 15 |
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 16 |
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 17 |
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 18 |
.\" OTHER DEALINGS IN THE SOFTWARE. |
| 19 |
.\" |
| 20 |
.\" Except as contained in this notice, the name of The Open Group shall |
| 21 |
.\" not be used in advertising or otherwise to promote the sale, use or |
| 22 |
.\" other dealings in this Software without prior written authorization |
| 23 |
.\" from The Open Group. |
| 24 |
.\" |
| 25 |
.TH XREFRESH 1 "xrefresh 1.1.0" "X Version 11" |
| 26 |
.SH NAME |
| 27 |
xrefresh - refresh all or part of an X screen |
| 28 |
.SH SYNOPSIS |
| 29 |
.B "xrefresh" |
| 30 |
[-option ...] |
| 31 |
.SH DESCRIPTION |
| 32 |
.PP |
| 33 |
.I Xrefresh |
| 34 |
is a simple X program that causes all or part of your screen to be repainted. |
| 35 |
This is useful when system messages have messed up your screen. |
| 36 |
.I Xrefresh |
| 37 |
maps a window on top of the desired area of the screen and then immediately |
| 38 |
unmaps it, |
| 39 |
causing refresh events to be sent to all applications. By default, |
| 40 |
a window with no background is used, causing all applications to repaint |
| 41 |
``smoothly.'' |
| 42 |
However, the various options can be used to indicate that a solid background |
| 43 |
(of any color) or the root window background should be used instead. |
| 44 |
.SH ARGUMENTS |
| 45 |
.PP |
| 46 |
.TP 10 |
| 47 |
.B \-white |
| 48 |
Use a white background. The screen just appears to flash quickly, and then |
| 49 |
repaint. |
| 50 |
.PP |
| 51 |
.TP 10 |
| 52 |
.B \-black |
| 53 |
Use a black background. This can be somewhat disorienting as everything goes |
| 54 |
black for a moment. |
| 55 |
.PP |
| 56 |
.TP 10 |
| 57 |
.B \-solid \fIcolor\fP |
| 58 |
Use a solid background of the specified color. Try green. |
| 59 |
.PP |
| 60 |
.TP 10 |
| 61 |
.B \-root |
| 62 |
Use the root window background. |
| 63 |
.PP |
| 64 |
.TP 10 |
| 65 |
.B \-none |
| 66 |
This is the default. All of the windows simply repaint. |
| 67 |
.PP |
| 68 |
.TP 10 |
| 69 |
.B \-geometry \fIWxH+X+Y\fP |
| 70 |
Specifies the portion of the screen to be repainted; see \fIX(7)\fP. |
| 71 |
.PP |
| 72 |
.TP 10 |
| 73 |
.B \-display \fIdisplay\fP |
| 74 |
This argument allows you to specify the server and screen to |
| 75 |
refresh; see \fIX(7)\fP. |
| 76 |
.PP |
| 77 |
.TP 10 |
| 78 |
.B \-version |
| 79 |
This argument prints the program version and exits. |
| 80 |
.SH X DEFAULTS |
| 81 |
The |
| 82 |
.I xrefresh |
| 83 |
program uses the routine |
| 84 |
.I XGetDefault(3) |
| 85 |
to read defaults, so its resource names are all capitalized. |
| 86 |
.PP |
| 87 |
.TP 8 |
| 88 |
.B Black\fP, \fBWhite\fP, \fBSolid\fP, \fBNone\fP, \fBRoot\fP |
| 89 |
Determines what sort of window background to use. |
| 90 |
.PP |
| 91 |
.TP 8 |
| 92 |
.B Geometry |
| 93 |
Determines the area to refresh. Not very useful. |
| 94 |
.SH ENVIRONMENT |
| 95 |
.PP |
| 96 |
.TP 8 |
| 97 |
DISPLAY - To get default host and display number. |
| 98 |
.SH SEE ALSO |
| 99 |
X(7) |
| 100 |
.SH BUGS |
| 101 |
.PP |
| 102 |
It should have just one default type for the background. |
| 103 |
.SH AUTHORS |
| 104 |
Jim Gettys, Digital Equipment Corp., MIT Project Athena |