9 More Discussions You Might Find Interesting
After I do CTRL-" to show all of my screen sessions, I typically use the up and down arrows to navigate up and down.
Suddenly this has changed, and instead only "j" and "k" seem to work for up and down.
This has changed in the middle of my screen session. First one changed, and then the... (1 Reply)
Discussion started by: akbar
I have no idea what happened, but my middle mouse button stopped working since yesterday. I checked the settings for the mouse, everything seems fine. Reconnected mouse , restarted PC, nothing works.
What kind of issue this could be, anyone experienced something like this before?
If you have... (4 Replies)
Discussion started by: zdorian
3. UNIX for Dummies Questions & Answers
Hi all ,
I would like to have a new binding so that if im having the cursur on a word, one shortcut click (say f3) whould find the next occurrence of the word in the text and so one.
what is the right bind for it ?
I tried but its wrong.
Zvika (1 Reply)
Discussion started by: zismad
i am facing a problem that (i think) many people had before.
under linux i use vim and therefor i am used to be able to use the cursor, delete and backspace keys in edit mode.
that's not the case in the classic vi, e.g. under solaris. when hitting these keys, uninteded char sequences are... (1 Reply)
Discussion started by: alex.blackbit
5. 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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
I'm using AIX 5.2 with ksh, I think it's ksh88 by default, and not ksh93.
I would like to enable my arrow keys to ressamble bash behaviour.
I don't know to what sequence of characters they're bound now. They do something but it's rather useless behaviour, meaning, unexpected and not very... (1 Reply)
Discussion started by: rein
8. UNIX for Dummies Questions & Answers
Here's a question I have for anyone that might be able to help me:
I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
9. UNIX for Dummies Questions & Answers
under HP-UX 10.20, I used to have a little thing where if I right clicked on the desktop I would get a menu listing programs that could run, for example netscape and stuff. however after a reboot, I have lost this function. Is there a configuration file anywhere that you can add the paths of... (2 Replies)
Discussion started by: maddave
glutMouseFunc(3GLUT) GLUT glutMouseFunc(3GLUT)
glutMouseFunc - sets the mouse callback for the current window.
void glutMouseFunc(void (*func)(int button, int state,
int x, int y));
func The new mouse callback function.
glutMouseFunc sets the mouse callback for the current window. When a user presses and releases mouse buttons in the window, each press and
each release generates a mouse callback. The button parameter is one of GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, or GLUT_RIGHT_BUTTON. For
systems with only two mouse buttons, it may not be possible to generate GLUT_MIDDLE_BUTTON callback. For systems with a single mouse but-
ton, it may be possible to generate only a GLUT_LEFT_BUTTON callback. The state parameter is either GLUT_UP or GLUT_DOWN indicating whether
the callback was due to a release or press respectively. The x and y callback parameters indicate the window relative coordinates when the
mouse button state changed. If a GLUT_DOWN callback for a specific button is triggered, the program can assume a GLUT_UP callback for the
same button will be generated (assuming the window still has a mouse callback registered) when the mouse button is released even if the
mouse has moved outside the window.
If a menu is attached to a button for a window, mouse callbacks will not be generated for that button.
During a mouse callback, glutGetModifiers may be called to determine the state of modifier keys when the mouse event generating the call-
Passing NULL to glutMouseFunc disables the generation of mouse callbacks.
glutKeyboardFunc, glutMotionFunc, glutSpaceballButtonFunc, glutButtonBoxFunc, glutTabletButtonFunc, glutGetModifiers
Mark J. Kilgard (email@example.com)