01-24-2012
In what way did it "not work"? Did it do anything?
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I'm hoping to get a little insight from some of the wily veterans amongst you.
I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies
2. UNIX for Dummies Questions & Answers
Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies
3. UNIX Desktop Questions & Answers
I'v got some question about x managers. I'm using FreeBSD7 + Gnome + fluxbox. when i'm trying to apply some themes, it doesn't look like it should be. All my buttons and menus are look like win95). Whaat kind of lib i should install... what should i do? Here is two printscreens.
For ex.
My... (1 Reply)
Discussion started by: Levenson
1 Replies
4. Shell Programming and Scripting
OK, so simple question here:
Is there anyway to REMAP, while extracting with tar, specific uid's and gid's on extracted files ?
Background: The usual transfer between two servers with same literals username's names, but with different gid and uid. I would like, for example, files owned by... (6 Replies)
Discussion started by: fidodido
6 Replies
5. Solaris
Hi everyone,
I have a Sun T5120 with Sol10-1/13 installed with JDS. XDMCP is enabled. I connect to this machine with a laptop (Debian 8 and Xephyr). I can log in remotely with XDMCP and JDS works fine, except for xmodmap.
This is what my .xmodmaprc file looks like:
$ cat .xmodmaprc... (0 Replies)
Discussion started by: toguro123
0 Replies
LEARN ABOUT CENTOS
glutmousefunc
UNTITLED
LOCAL UNTITLED
NAME
glutMouseFunc -- Sets the mouse-button callback for the current window.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h>
void
glutMouseFunc(void( *callback )( int button, int state, int x, int y ));
PARAMETERS
callback Client hook for mouse-buttons.
DESCRIPTION
Whenever a mouse button is pressed or released in an OpenGLUT window, OpenGLUT checks if that window has a mouse-button (Mouse) callback reg-
istered. If so, OpenGLUT gives the event to the handler. button is the button number, starting from 0. state is GLUT_UP or
GLUT_DOWN to indicate the button's new state. The other parameters are the mouse coordinates.
Mouse wheel motion can be reported as buttons. If you do not request otherwise, a wheel spun forward will act like a button clicking down,
immediately followed by clicking up. Spinning the same wheel backward will act like a different button clicking. Mouse wheel pseudo-buttons
are added after all real buttons.
While the button is held and the mouse is dragged, you receive mouse-motion events (glutMotionFunc()), even if the mouse is dragged out of
the window.
This callback is bound to the current window .
CAVEATS
Reporting the wheel as buttons is actually inherited from X. freeglut added code to support this on WIN32. OpenGLUT inherited that support
from freeglut.
Old GLUT defines the symbols GLUT_LEFT_BUTTON, GLUT_RIGHT_BUTTON, and GLUT_MIDDLE_BUTTON. However, mice can have more than 3 buttons,
so these symbols are deprecated.
Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.
SEE ALSO
glutMotionFunc(3) glutPassiveMotionFunc(3) glutMouseWheelFunc(3)
Epoch