10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am using Windows 10 and cygwin/bash.
I need to write a script in bash which simulates opening of a program and then press some keys such as F5, ENTER and ALT+F4.
I have written a VBScript which does the job
Set WshShell = WScript.CreateObject("WScript.Shell")... (9 Replies)
Discussion started by: supernono06
2. Shell Programming and Scripting
I have a bash loop that waits for a single key press, then does $something depending on what $key is pressed before refreshing the screen with updated data. The problem I have is that the script will store additional key presses and chain them together causing the screen to redraw and the script... (1 Reply)
Discussion started by: DarkPhoenix
3. Shell Programming and Scripting
I've been trying to re-think an old problem that didn't get answered. I know this is possible, but I'm having trouble getting it to run. I just want to call a function with a key-press or key combination. I looked and saw bind can be used to run functions and other scripts this way. Here's what... (2 Replies)
Discussion started by: Azrael
Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
i need to get the key pressed from the keyboard without focus on the application.
i work under CentOS 5.5 with QtC++ 4.7 and Python Script (0 Replies)
Discussion started by: HanyM.Magdy
6. UNIX for Dummies Questions & Answers
New user here, I have googled this but found nothing that helps me.
I have a file of data and want to display it to a user from within a "frame/window/screen" that allows the user to pageup/pagedown through the data.
I can do this mostly, but I cannot detect the pressing of the... (6 Replies)
Discussion started by: gcraill
As you know, in Windows Programming, in WinMain method you will give n argument which you can know if this is another instance of the application or just the fresh execution.
How this functionality can be achieved in Linux application? Most of suggestions i have seen here in threads are... (5 Replies)
Discussion started by: Sedighzadeh
8. Shell Programming and Scripting
Discussion started by: signebedi
9. Shell Programming and Scripting
How can I trap a character press in the shell script.
For eg:- I have a script runinng a infinite loops , I will need to dispay menu asking for run process of to stop process and process stauts like we do in glance
I have seen the traping the signal in glance command, (8 Replies)
Discussion started by: arvindng
How-to use keypress action signals in C?
Is there any nice select or poll functions for that? (1 Reply)
Discussion started by: Esaia