[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Probelm with key press intercepting

From: Daniel Weaver
Subject: Re: Fwd: Probelm with key press intercepting
Date: Mon, 22 Oct 2001 10:16:19 -0700

At 09:15 AM 10/22/01 -0700, Zeyd Ben-Halim wrote:
>From: Salvatore Del Popolo <address@hidden>
>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?

This is not an easy task.  The place that makes the most sense in UNIX
is to make it a line discipline.  That would give you the ability to
catch everything.  Another possibility is to use pty's and make the
whole thing a filter.

Here is an alternative approach that might be easier to implement.
Start with a terminal emulator running on the PC.  Modify the code
to catch keystrokes.  The Alt keys are now accessible.  Have those
keystrokes initiate your screen reader.

Unless you have one specific application that already uses ncurses
this problem is beyond the scope of this mailing list.

I wish you the best of luck.

Dan Weaver

Dan Weaver, ZNYX Networks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]