12-20-2006
what is meant by sending commands from one screen to another?
10 More Discussions You Might Find Interesting
1. Programming
I searched the post and someone said to clear the screen in C, use
printf("\033[2J"); ??
However, this doesn't work...typo or no.
What is an equivalent command to 'CLS' in DOS/'clear' in UNIX to clear the screen and go to top of screen??
Thank you. (2 Replies)
Discussion started by: giannicello
2 Replies
2. UNIX for Advanced & Expert Users
HPUX 11.0.X / Korn Shell
Hope this makes sense.
I have a little function to place things on the screen using the column and row parameters. Question is, how can I be sure of where the current cursor postion is so that if I print something to the upper right hand corner of the screen, I can... (2 Replies)
Discussion started by: google
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
There is a program running which displays output on the screen
I have to grep a particular string from that screen how do i do this
My problem is i'm running this program from a script which executes after every fifteen mins but sometimes it's happen that there is an error in the program... (4 Replies)
Discussion started by: satyanarayang
4 Replies
4. Linux
I'm using Fedora3 and Screen
when i do that, Scree dont load my Bash profile
so my MC, centericq and swedish keyboard is mesed up..
how can i use screen and my bash_profile?
or is there another way to fix it? (0 Replies)
Discussion started by: snort
0 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
I'm using a double screen machine with linux Red Hat. The problem is that I see the same image in both screens...
Can anybody tell me how to solve this problem?
Thanks a lot,
Pablo. (0 Replies)
Discussion started by: cordobapablo
0 Replies
6. OS X (Apple)
Hi,
I'm trying to create a virtual screen, (maybe xvfb? or any other virtual screen buffer) and be able to use Screen Sharing to connect to it.
The setup is that I have a Mac Mini connected to the TV. But when my girlfriend is using Front Row, I can't use Screen Sharing at the same time from... (0 Replies)
Discussion started by: linge
0 Replies
7. Red Hat
Hi,
I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies
8. Red Hat
I am using Intel HD 400 Graphics on a laptop.
When I logout, I get a black screen with no cursor or anything. I have to hard reboot the system to get into linux again.
Working on RHEL 6 (gnome) (1 Reply)
Discussion started by: sunveer
1 Replies
9. UNIX for Dummies Questions & Answers
I made a screen within a screen.
Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
Discussion started by: phpchick
2 Replies
10. Shell Programming and Scripting
#Random Scripts 4
#Desc:
clear
echo "1. To see all processes currently running on the system"
echo "2. To kill any given process"
echo "Choose between the two"
read x
case $x in
"1")print `ps aux`;;
"2") echo "Choose a process to be killed"
read y
check=`ps ax | grep... (1 Reply)
Discussion started by: targetshell
1 Replies
LEARN ABOUT HPUX
xsetscreensaver
XSetScreenSaver() XSetScreenSaver()
Name
XSetScreenSaver - set the parameters of the screen saver.
Synopsis
XSetScreenSaver(display, timeout, interval, prefer_blanking,
allow_exposures)
Display *display;
int timeout, interval;
int prefer_blanking;
int allow_exposures;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
timeout Specifies the time of inactivity, in seconds, before the screen saver turns on.
interval Specifies the interval, in seconds, between screen saver invocations. This is for intermittent changes to the display, not
blanking.
prefer_blanking
Specifies whether to enable screen blanking. Possible values are DontPreferBlanking, PreferBlanking, or DefaultBlanking.
allow_exposures
Specifies the current screen saver control values. Possible values are DontAllowExposures, AllowExposures, or DefaultExposures.
Description
XSetScreenSaver() sets the parameters that control the screen saver. timeout and interval are specified in seconds. A positive timeout
enables the screen saver. A timeout of zero (0) disables the screen saver, while a timeout of -1 restores the default. An interval of
zero (0) disables the random pattern motion. If no input from devices (keyboard, mouse, etc.) is generated for the specified number of
timeout seconds, the screen saver is activated.
For each screen, if blanking is preferred and the hardware supports video blanking, the screen will simply go blank. Otherwise, if either
exposures are allowed or the screen can be regenerated without sending exposure events to clients, the screen is tiled with the root window
background tile, with a random origin, each interval seconds. Otherwise, the state of the screen does not change. All screen states are
restored at the next input from a device.
If the server-dependent screen saver method supports periodic change, interval serves as a hint about how long the change period should be,
and a value of zero (0) hints that no periodic change should be made. Examples of ways to change the screen include scrambling the color
map periodically, moving an icon image about the screen periodically, or tiling the screen with the root window background tile, randomly
reoriginated periodically.
For more information on the screen saver, see Volume One, Chapter 15, Other Programming Techniques.
Errors
BadValue timeout < -1.
See Also
XActivateScreenSaver(), XForceScreenSaver(), XGetScreenSaver(), XResetScreenSaver().
Xlib - Screen Saver XSetScreenSaver()