--- Begin Message ---
Subject: |
Probelm with key press intercepting |
Date: |
Mon, 22 Oct 2001 14:52:45 +0200 (CEST) |
Good mornin Dear Mr. Ben-Halim,
I.m sorry to disturb you, but I think you are among the few people who
can help me.
I.m an italian, blind student and, for my graduate examination I desire to
write a screen reader for visually impaired people.
In order to activate the screen reader.s routines, I nedd to associate
some specific key press sequences to some specific software routines.
To achieve this aim, I thought to use the ncurses libraries and,
specifically, I applied the keypad() function to enable the recognition of
the f1...f8, shift-f1...shift-f8 key press sequances and the getch()
function to intercept the key press sequences.
The problem is:
the screen reader has to work as a daemon and, I succeed in intercepting
the above specified key sequences, but, at the same time, on the screen
appear strange characters and I hear some beeps while pressing the key
sequences; probably, the bash shell I use, intercepts the key sequences.
How could I do to intercept the key sequences, avoiding that the shell
intercepts them, as well?
Perhaps, interact with irq lines could be the most valid and the most
flexible solution, but I have no ideas hwo to do that.
I thank you very much and I.m sure that your ideas and suggestions will be
extremely important to chieve my aim.
Good morning Mr. Ben-Halim
Salvatore Del Popolo
--- End Message ---