10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
*Sorry for my other post in French*
Hi everyone!
In my work I have to find how can I auto complete this type of windows (screenshot) in Shell with defined variables.
http://opsi-fr.opensides.be/opsi-doc/stable/xhtml/fr/images/mysql-config-input-mask.png
Thank you so much for replies! :) (1 Reply)
Discussion started by: devilsnake88
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way..
How to use emacs editor? Also how to open existing emacs files with .cgi format?
I have the following link :-
http link i.e. url and path : /abc/xyz.dev/xyz/documents
What... (7 Replies)
Discussion started by: swathi123
7 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I use KSH a lot.
I wanted to know if I can auto-complete a Variable name in the environment. I know this is possible in tcsh.
I use the vi mode to edit commands on command prompt.
Any help would be much appreciated.
Thanks..!! (4 Replies)
Discussion started by: grep_me
4 Replies
4. Shell Programming and Scripting
I must write a script to change all C++ like comments:
// this is a comment
to this one
/* this is a comment */
How to do it by sed? With file:
#include <cstdio>
using namespace std; //one
// two
int main() {
printf("Example"); // three
}//four
the result should be: (2 Replies)
Discussion started by: black_hawk
2 Replies
5. UNIX for Dummies Questions & Answers
Dear friend i have intalled sun solaris in vmware (vertual machine) untill now every things are ok but i have proplem
when i tray to use tap key in terminal for auto complete the terminal window prsent to me space only i tried many also in many profile it seem the same proplem also if i print... (3 Replies)
Discussion started by: Mohammed-syria
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
7. Shell Programming and Scripting
Hello:
I am using csh, and am a complete noob when it comes to shell scripting.
I want the following:
1) Ignore case when doing auto-complete.
2) If there are multiple matches (example: I have files abc.txt abc.txt.1, abc.txt.2 and type abc<tab>), count the number of matches.
If... (1 Reply)
Discussion started by: madiyaan
1 Replies
8. UNIX for Dummies Questions & Answers
Hi !
Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ?
Thanks!
Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies
9. UNIX Desktop Questions & Answers
How can I set up the profile for a use so when entering a eg first charachter of a file and then pressing the tab OS will complete the file name.
Thanks in advance Tom (4 Replies)
Discussion started by: Tom_Zamani
4 Replies
10. UNIX for Advanced & Expert Users
How can one setup auto complete under AIX
when you type a path etc. by pressing a sequece of keys yu can complete the line.
Any sugestions !!!! (7 Replies)
Discussion started by: truma1
7 Replies
glutIgnoreKeyRepeat(3GLUT) GLUT glutIgnoreKeyRepeat(3GLUT)
NAME
glutIgnoreKeyRepeat - determines if auto repeat keystrokes are reported to the current window
SYNTAX
#include <GLUT/glut.h>
void glutIgnoreKeyRepeat(int ignore);
ARGUMENTS
ignore Non-zero indicates auto repeat keystrokes should not be reported by the keyboard and special callbacks; zero indicates that auto
repeat keystrokes will be reported.
DESCRIPTION
glutIgnoreKeyRepeat determines if auto repeat keystrokes are reported to the current window. The ignore auto repeat state of a window can
be queried with glutDeviceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT).
Ignoring auto repeated keystrokes is generally done in conjunction with using the glutKeyboardUpFunc and glutSpecialUpFunc callbacks to
repeat key releases. If you do not ignore auto repeated keystrokes, your GLUT application will experience repeated release/press call-
backs. Games using the keyboard will typically want to ignore key repeat.
GLUT IMPLEMENTATION NOTES FOR X11
X11 sends KeyPress events repeatedly when the window system's global auto repeat is enabled. glutIgnoreKeyRepeat can prevent these auto
repeated keystrokes from being reported as keyboard or special callbacks, but there is still some minimal overhead by the X server to con-
tinually stream KeyPress events to the GLUT application. The glutSetKeyRepeat routine can be used to actually disable the global sending
of auto repeated KeyPress events. Note that glutSetKeyRepeat affects the global window system auto repeat state so other applications will
not auto repeat if you disable auto repeat globally through glutSetKeyRepeat.
SEE ALSO
glutSetKeyRepeat, glutDeviceGet, glutKeyboardFunc, glutKeyboardUpFunc, glutSpecialFunc, glutSpecialUpFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutIgnoreKeyRepeat(3GLUT)