Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change keyboard events

Status
Not open for further replies.

javabeanx

Programmer
Apr 29, 2002
10
IN
When a users application is running in the unix terminal and the user is sending some events to the appliction I would like to change certain keyevents and pass it to the application .How do i do it???
 
MikeLacey (and Justice41 I think) knows a good bit more about the $SIG{EVENT} handling mechanism than I do...

Fellas: take it away!

--jim
 
Which &quot;events&quot; do you want to change? If you want to prevent a user from exiting the script by pressing <crtl-c> then you would use sig-handlers as Jim mentioned. If that's not what you mean then you'll have to clarify.

jaa
 
When did threads get M.C.s? ______________________________________________________________________
Did you know?
The quality of our answers is directly proportional to the number of stars you vote?
 
The only reason I piped in was to offer a hint as to what I thought the solution was. Kind of get the ball rolling on it. Maybe even tip off javabeanx towards a solution.

But rather than mislead beano with poor advice, I thought I'd pass the ball to someone better suited. Kind of like a professional reference.

More after these messages.

--jim
 
-- And we're back! --

You should take a look at his posts in all fora.

He has asked a lot of questions in a lot of fora about intercepting keyboard and mouse input. Hadn't gotten a lot of answers, though. ______________________________________________________________________
Did you know?
The quality of our answers is directly proportional to the number of stars you vote?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top