xrefresh(1X)xrefresh(1X)NAME
xrefresh - refresh all or part of an X screen
SYNOPSIS
xrefresh [-option...]
OPTIONS
Use a white background. The screen just appears to flash quickly, and then repaint. Use a black background (in effect, turning off all of
the electron guns to the tube). This can be somewhat disorienting as everything goes black for a moment. Use a solid background of the
specified color. Try green. Use the root window background. This is the default. All of the windows simply repaint. Specifies the por-
tion of the screen to be repainted; see X(1X). This argument allows you to specify the server and screen to refresh; see X(1X).
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.
X DEFAULTS
The xrefresh program uses the routine XGetDefault(3X11) to read defaults, so its resource names are all capitalized. Determines what sort
of window background to use. Determines the area to refresh. Not very useful.
ENVIRONMENT
To get default host and display number.
BUGS
It should have just one default type for the background.
SEE ALSO X(1X)AUTHORS
Jim Gettys, Digital Equipment Corp., MIT Project Athena
xrefresh(1X)
Check Out this Related Man Page
XREFRESH(1) General Commands Manual XREFRESH(1)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 -white Use a white background. The screen just appears to flash quickly, and then repaint.
-black Use a black background (in effect, turning off all of the electron guns to the tube). This can be somewhat disorienting as
everything goes black for a moment.
-solid color
Use a solid background of the specified color. Try green.
-root Use the root window background.
-none This is the default. All of the windows simply repaint.
-geometry WxH+X+Y
Specifies the portion of the screen to be repainted; see X(7).
-display display
This argument allows you to specify the server and screen to refresh; see X(7).
X DEFAULTS
The xrefresh program uses the routine XGetDefault(3) to read defaults, so its resource names are all capitalized.
Black, White, Solid, None, Root
Determines what sort of window background to use.
Geometry
Determines the area to refresh. Not very useful.
ENVIRONMENT
DISPLAY - To get default host and display number.
SEE ALSO X(7)BUGS
It should have just one default type for the background.
AUTHORS
Jim Gettys, Digital Equipment Corp., MIT Project Athena
X Version 11 xrefresh 1.0.4 XREFRESH(1)
consider the given prg.
main() {
.....
function1(); /* to write into a file or log */
printf(" ");
.....
}
when the control reaches function1(), it should get executed in the
background.At the same time main's printf(" ") statement should also get executed.i.e... (5 Replies)
Hi,
in my program i need to run an external program in background.I am aware that there are at least 2 alternatives for this:
1)fork+exec
2)system("program &");
I have read several posts about this,and they all tend to suggest to use fork+exec (and that's what i am doing now).
I have some... (2 Replies)
Greetings,
This is another question about changing colors in a PuTTy window/screen.
I'm on a WindowsXP machine. My Putty window has a black background and any directories listed are in a deep blue. These are very hard to read. I'd like to change the colors of directories whenever they get... (1 Reply)
hello all,
In my script i have written some messages which should come in screen while some background process is going on..
Like for example:
if i want to add 2 numbers a and b ...when the addition is going on in the background i should get "ADDING TWO NUMBERS>>PLEASE WAIT " message on... (3 Replies)
I am studying part-time degree course ( Information system ), I just ask to do the following question , but it is not easy for me as I do not have IT background , does someone can help for it.
"Consider the following web application for a property agent : The server download to the client... (1 Reply)
I need to run an interactive program in the background so I can grep it for specific data to use for some logic in a script.
There is no quiet or background mode on the program so I plan to redirect a document with commands in it and then to grep the output.
This is almost working, except... (1 Reply)
Hey guys.....
Im new user for linux fedora 20.... i really need help ....... i have no idea why suddently when i turn on my laptop fedora turn to be black screen and ask me loging in , when i loging then nothing happen , it stay at the same screen... then i try to go to "with linux secure...,"... (12 Replies)
hello all,
please can you help me crack this....
i have an hp-ux server which when after booting it does not completely boot to graphical. it stops aa black screen with only an hour glass showing.
at this stage only the mouse responds but the keyboard does not respond.
any idea to find... (5 Replies)
Hi all,
Is there a way, on the command line, to show a black screen WITHOUT turning off the monitor? Also, is there a way to make the computer show the last screen before the black screen as soon as the user interacts with it?
I know that there are various ways to turn off the computer, or... (8 Replies)
Hi.
I'm wondering if it is possible to execute system(), if a certain string of text appears on the screen or not?
I want to be able to run system("rz -Z") based on if "B00000000000000" appears on the screen.
rz is a program to recieve files via Zmodem protocol. Is this possible? In C, of... (3 Replies)