9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Chris Brannon <cmbrannon@cox.net>
To: 9fans@9fans.net
Subject: Re: [9fans] How to go about doing screen reading
Date: Tue, 21 Oct 2008 15:52:28 +0000	[thread overview]
Message-ID: <87ljwim0c2.fsf@cox.net> (raw)
In-Reply-To: <4056FAF3-2786-4C5A-950C-C27DC1B464D7@mac.com>

pietro10@mac.com (Pietro Gagliardi) writes:

> In pseudocode:
>
> 	when mouse has not been moved for at least 1 second
> 		find cursor position
> 		if cursor has moved
*SNIP*
> Any technical problems with this approach?

I think there is an easier way to do screen reading within Acme.  Here's
a quote from the Acme paper:

<quote>
The last file, event, is the most unusual. A program reading a
window's eventfile is notified of all changes to the text of the
window, and is asked to interpret all middle- and right-button
actions. The data passed to the program is fixed-format and reports
the source of the action (keyboard, mouse, external program, etc.),
its location (what was pointed at or modified), and its nature
(change, search, execution, etc.). This message, for example,

MI15 19 0 4 time

reports that actions of the mouse (M) inserted in the body (capital
I) the 4 characters of timeat character positions 15 through 19;
the zero is a flag word. Programs may apply their own
interpretations of searching and execution, or may simply reflect
the events back to Acme, by writing them back to the eventfile, to
have the default interpretation applied. Some examples of these
ideas in action are presented below.
</quote>

A screenreader can obtain information about changes to the state of the
system by reading the event file.  Do other parts of the window system
provide this sort of interface?

-- Chris



  reply	other threads:[~2008-10-21 15:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20  9:27 [9fans] Are there any blind users of Plan 9? Chris Brannon
2008-10-20  9:55 ` Rudolf Sykora
2008-10-20  9:56 ` Gorka Guardiola
2008-10-20 10:15   ` Jeff R. Allen
2008-10-20 10:29     ` Rudolf Sykora
2008-10-20 10:34     ` Pietro Gagliardi
2008-10-20 14:12       ` john
2008-10-20 21:00       ` Federico G. Benavento
2008-10-20 21:15         ` Pietro Gagliardi
2008-10-21  5:00           ` Lyndon Nerenberg
2008-10-21  5:20             ` Uriel
2008-10-21 10:37               ` [9fans] How to go about doing screen reading Pietro Gagliardi
2008-10-21 15:52                 ` Chris Brannon [this message]
2008-10-21 17:21                   ` [9fans] bitsy anyone? Benjamin Huntsman
2008-10-21 17:29                     ` Francisco J Ballesteros
2008-10-21 18:17                     ` David du Colombier
2008-10-21 21:09                       ` Eoghan Sherry
2008-10-21 21:10                         ` Benjamin Huntsman
2008-10-21 21:49                           ` Eoghan Sherry
2008-10-23  9:29         ` [9fans] Are there any blind users of Plan 9? matt
2008-10-20 15:10 ` Dave Eckhardt
2008-10-20 16:06   ` Chris Brannon
2008-10-20 19:15     ` Noah Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ljwim0c2.fsf@cox.net \
    --to=cmbrannon@cox.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).