For some reason I cannot access any other color than blue. I would also like to apologise for posting a Linux question in the Unix forum. :/
However, my code has advanced and I would like to share the program I wanted to write.
This program is a simple animatiion that compiles without error with gcc. I am really proud of my work, I just wish I had access to more than one color. For some reason, I can only use blue.
EDIT: After reading yet another Xlib tutorial I discovered how to allocate colors. I still do not understand how to utilize these colors for above animation, but I am getting there...
I have a situation where there are two SCO R5 Open Server Unix boxes in a remote location. The two boxes are inter-related via NFS mounts. My problem occurs when one of the boxes goes down, the NFS relationship stops the remaining machine from carrying on, even though it would be able to do so if... (2 Replies)
My new Pro Keyboard works great, but the power switch on the computer won't turn the computer on! It's an older model, a Revision D iMac (333), but I know I've used the computer-mounted power switch to power the machine down before. Am I missing something? (1 Reply)
Anyone who have any ideas how-to make X faster.
I have a ATI Rage Mobility P/M AGP 2x card and I wanto get it fast, mostly for movie playback and so.
Is there OpenGL and GLX support?
regards
Esaia (1 Reply)
hi everybody
i installed FreeBSD 5.x on a box with a video card Diamond SpeedStar A90 and a Fujitsu Siemens Monitor B772-1
when i do "startx" it gives me something like this:
fatal error: no devices detected
no screen detected
i'm lost...i don't know what to... (3 Replies)
Hi all,
Just writing to know how to approach the situation. I am currently with 2+ exp in a support environment in Unix..mostly on the application side..have not done any Sysadmin work..
My interest is to move towards Unix admin or towards Storage/Networking side..But the problem is that my... (1 Reply)
So I'm pretty much a n00b when it comes to Unix but I've decided to give it a shot. I managed to install FreeBSD 6.2 on one partition of my hard drive on my laptop. During the installation I choose to install KDE, not wanting to deal with a non GUI operating system right away! However, whenever I... (1 Reply)
hi ..
I tried to create a new account with useradd leghorn (being in root)
Also I gave a password for the same using passwd leghorn.
So when I go su legorn, it doesnt prompt for the password.
Kindly drop in your valuable comments
~cheers (9 Replies)
Hello,
I was just wondering why XGetGeometry() would cause a hang in an application.
In the xlib book it says any of there "Get" functions don't necessarily return immediately.
Is there a way to make a it return immediately or other functions that will give me the same results.
I... (1 Reply)
Discussion started by: TMurray77
1 Replies
LEARN ABOUT XFREE86
xev
XEV(1) General Commands Manual XEV(1)NAME
xev - print contents of X events
SYNOPSIS
xev [-display displayname] [-geometry geom] [-bw pixels] [-bs {NotUseful,WhenMapped,Always}] [-id windowid] [-s] [-name string] [-rv]
DESCRIPTION
Xev creates a window and then asks the X server to send it events whenever anything happens to the window (such as it being moved, resized,
typed in, clicked in, etc.). You can also attach it to an existing window. It is useful for seeing what causes events to occur and to
display the information that they contain; it is essentially a debugging and development tool, and should not be needed in normal usage.
OPTIONS -display display
This option specifies the X server to contact.
-geometry geom
This option specifies the size and/or location of the window, if a window is to be created.
-bw pixels
This option specifies the border width for the window.
-bs {NotUseful,WhenMapped,Always}
This option specifies what kind of backing store to give the window. The default is NotUseful. Backing store refers to the the
pixels saved off-screen when the X server maintains the contents of a window; NotUseful means that the xev process will redraw its
contents itself, as necessary.
-id windowid
This option specifies that the window with the given id should be monitored, instead of creating a new window.
-s This option specifies that save-unders should be enabled on the window. Save unders are similar to backing store, but they refer
rather to the saving of pixels off-screen when the current window obscures other windows. Save unders are only advisory, and are
normally set for popup dialogs and other transient windows.
-name string
This option specifies the name to assign to the created window.
-rv This option specifies that the window should be in reverse video.
SEE ALSO X(7), xwininfo(1), xdpyinfo(1), Xlib Programmers Manual, X Protocol Specification
See X(7) for a full statement of rights and permissions.
AUTHOR
Jim Fulton, MIT X Consortium
XFree86 Version 4.7.0 XEV(1)