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???
Which "events" 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.
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.
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.