10-16-2009
Perl - Reading keyboard keystroke
Hello All,
I wounder if any one know if perl have the ability to run script in the background which record each keyboard keystorke?
If yes , how can I implement the part which reading the keyboard keystroke?
Is there any moudle that handle it ?
Thanks a head
Alalush
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
A Solaris AXI 440 machine with Solaris 8 version.
I have PC users who use an emulation to login to the Solaris
server.
How can I change the keyboard mapping of the Sun keyboard
to fit to the PC keyboard ?
Any comment will be appreciated.
Thanks (1 Reply)
Discussion started by: simhab
1 Replies
2. Shell Programming and Scripting
How do i read from kb using shell script but i need to read it from same line.
Script :-
echo "Please Enter Your Choice "
read CHOICE
But it goes to next line i need it to read it next to Choice and not new line. (4 Replies)
Discussion started by: dinjo_jo
4 Replies
3. Shell Programming and Scripting
Hi All ,
I am writing a shell script for a 3D test case . The 3D Test case involves the user to press some keys to see the changes in the 3d test case . The user has to press p , r , a , z etc to observe the changes on screen .
Now please let me know how can i implement the keystroke p , a ,... (1 Reply)
Discussion started by: dskonnur
1 Replies
4. UNIX for Dummies Questions & Answers
i have the below script:
#!/bin/bash
echo "enter a"
read a
echo "enter b"
read b
let c=a+b
echo $c
at any point of time between entering the value for a and b,if user presses ctrl+a key combination, then it should start from the beginning(the script should be restarted).
it should... (4 Replies)
Discussion started by: pandeesh
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I ahve come across one of the trickier scenario and wanted to check anyone came across this:
i have a file called file1:
pandi.desktop% cat file1
aa
cc
ds
wwe
bb
pandi.desktop%
I want to read input from keyboard and append into the original file. besides that i want to sort the... (1 Reply)
Discussion started by: pandeesh
1 Replies
6. UNIX for Dummies Questions & Answers
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies
7. Shell Programming and Scripting
Hi all,
I have written a perl code and stored the data into Data structure using Data::Dumper module.
But not sure how to retreive the data from the Data::Dumper.
Eg.
Based on the key value( Here CRYPTO-6-IKMP_MODE_FAILURE I should be able to access the internal hash elements(keys) ... (1 Reply)
Discussion started by: scriptscript
1 Replies