Copyright 1988, 1998 The Open Group

Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of The Open Group shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from The Open Group.

XREFRESH 1 __xorgversion__
NAME
xrefresh - refresh all or part of an X screen
SYNOPSIS
"xrefresh" [-option ...]
DESCRIPTION

Xrefresh is a simple X program that causes all or part of your screen to be repainted. This is useful when system messages have messed up your screen. Xrefresh maps a window on top of the desired area of the screen and then immediately unmaps it, causing refresh events to be sent to all applications. By default, a window with no background is used, causing all applications to repaint ``smoothly.'' However, the various options can be used to indicate that a solid background (of any color) or the root window background should be used instead.

ARGUMENTS

10 -white Use a white background. The screen just appears to flash quickly, and then repaint.

10 -black Use a black background. This can be somewhat disorienting as everything goes black for a moment.

10 -solid color Use a solid background of the specified color. Try green.

10 -root Use the root window background.

10 -none This is the default. All of the windows simply repaint.

10 -geometry WxH+X+Y Specifies the portion of the screen to be repainted; see X(__miscmansuffix__).

10 -display display This argument allows you to specify the server and screen to refresh; see X(__miscmansuffix__).

10 -version This argument prints the program version and exits.

X DEFAULTS
The xrefresh program uses the routine XGetDefault(__libmansuffix__) to read defaults, so its resource names are all capitalized.

8 Black, White, Solid, None, Root Determines what sort of window background to use.

8 Geometry Determines the area to refresh. Not very useful.

ENVIRONMENT

8 DISPLAY - To get default host and display number.

SEE ALSO
X(__miscmansuffix__)
BUGS

It should have just one default type for the background.

AUTHORS
Jim Gettys, Digital Equipment Corp., MIT Project Athena