10 More Discussions You Might Find Interesting
1. 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
2. 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
3. UNIX for Dummies Questions & Answers
Hello,
I am having some trouble using screen sharing with my Mac. There is a Mac Pro in the lab at my school, and I need to access it via screen sharing from my Macbook Pro from home. Each has Lion. The screen sharing works when I am in the lab and the Mac Pro is on the WiFi network, it also works... (1 Reply)
Discussion started by: Tyler_92
1 Replies
4. 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
5. Ubuntu
Hi,
Anyone can help me on how to return back to normal size not the full size of my virtual box screen display and also display the menu bar from the top.
Thanks in Advance. (4 Replies)
Discussion started by: dba_macau
4 Replies
6. UNIX for Dummies Questions & Answers
Hello everyone!
I'm trying to figure out how to send commands from one screen to another.
For example i wish to send a simple "ls -all" from screen #1 to screen #2,
can it be done, and how? :confused:
Thank you! (12 Replies)
Discussion started by: Gurth
12 Replies
7. IP Networking
I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers.
Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies
8. 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
9. Programming
what is the syntax for clearing the screen in c ?
when i tried "Clrscr()" the CC complier does not reconise it.
please do tell me more about this.
thanking you
imma (6 Replies)
Discussion started by: immanuelgangte
6 Replies
10. Programming
I am pondering the next question:
Can I safely sare objects that have virtual functions (i.e. have
virtual function table pointers) between two processes ?
Where will the pointers point to in each process ?
What I am afraid of is that in the creating process the pointer
will indeed point to... (2 Replies)
Discussion started by: Seeker
2 Replies
BlackPixelOfScreen(3) XLIB FUNCTIONS BlackPixelOfScreen(3)
NAME
BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf-
Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max-
CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and
macros
SYNTAX
unsigned long BlackPixelOfScreen(Screen *screen);
unsigned long WhitePixelOfScreen(Screen *screen);
int CellsOfScreen(Screen *screen);
Colormap DefaultColormapOfScreen(Screen *screen);
int DefaultDepthOfScreen(Screen *screen);
GC DefaultGCOfScreen(Screen *screen);
Visual *DefaultVisualOfScreen(Screen *screen);
int DoesBackingStore(Screen *screen);
Bool DoesSaveUnders(Screen *screen);
Display *DisplayOfScreen(Screen *screen);
int XScreenNumberOfScreen(Screen *screen);
long EventMaskOfScreen(Screen *screen);
int HeightOfScreen(Screen *screen);
int HeightMMOfScreen(Screen *screen);
int MaxCmapsOfScreen(Screen *screen);
int MinCmapsOfScreen(Screen *screen);
int PlanesOfScreen(Screen *screen);
Window RootWindowOfScreen(Screen *screen);
int WidthOfScreen(Screen *screen);
int WidthMMOfScreen(Screen *screen);
ARGUMENTS
screen Specifies the appropriate Screen structure.
DESCRIPTION
The BlackPixelOfScreen macro returns the black pixel value of the specified screen.
The WhitePixelOfScreen macro returns the white pixel value of the specified screen.
The CellsOfScreen macro returns the number of colormap cells in the default colormap of the specified screen.
The DefaultColormapOfScreen macro returns the default colormap of the specified screen.
The DefaultDepthOfScreen macro returns the default depth of the root window of the specified screen.
The DefaultGCOfScreen macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.
The DefaultVisualOfScreen macro returns the default visual of the specified screen.
The DoesBackingStore macro returns WhenMapped, NotUseful, or Always, which indicate whether the screen supports backing stores.
The DoesSaveUnders macro returns a Boolean value indicating whether the screen supports save unders.
The DisplayOfScreen macro returns the display of the specified screen.
The XScreenNumberOfScreen function returns the screen index number of the specified screen.
The EventMaskOfScreen macro returns the root event mask of the root window for the specified screen at connection setup.
The HeightOfScreen macro returns the height of the specified screen.
The HeightMMOfScreen macro returns the height of the specified screen in millimeters.
The MaxCmapsOfScreen macro returns the maximum number of installed colormaps supported by the specified screen.
The MinCmapsOfScreen macro returns the minimum number of installed colormaps supported by the specified screen.
The PlanesOfScreen macro returns the number of planes in the root window of the specified screen.
The RootWindowOfScreen macro returns the root window of the specified screen.
The WidthOfScreen macro returns the width of the specified screen.
The WidthMMOfScreen macro returns the width of the specified screen in millimeters.
SEE ALSO
AllPlanes(3), ImageByteOrder(3), IsCursorKey(3)
Xlib - C Language X Interface
X Version 11 libX11 1.5.0 BlackPixelOfScreen(3)