A console screen reader for macOS and Linux
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Working version Nov 18, 2016
COPYING.txt Add license May 2, 2017
mac Add license May 2, 2017
readme.md Add license May 2, 2017
requirements.txt Upgrade pyte to 0.7.0 Mar 11, 2018
speechdispatcher Add license May 2, 2017
tdsr Add cursor tracking toggle Jul 11, 2018
tdsr.cfg.dist Add default config Nov 19, 2016

readme.md

TDSR

This is a console-based screen reader. It has been tested under macOS and Linux. It might also run on FreeBSD and other *nix systems, but this hasn't been tested.

What works

  • Reading output
  • Reading by line, word and character
  • cursor keys (waits some amount of time and speaks)

Note

Compatibility is not guaranteed between versions.

Requirements

  • Python 3
  • pyte
  • speech server

Installation on macOS

  1. Install Python 3. If using Homebrew, brew install python3.
  2. Clone this repository. git clone https://github.com/tspivey/tdsr.git
  3. cd tdsr
  4. pip3 install -Ur requirements.txt
  5. Assuming the repository is in ~/tdsr, run: ~/tdsr/tdsr and it should start speaking.

Installation on Linux

  1. Install Python 3 and Speech Dispatcher. They should be available from your package manager. You may also need to install Speech Dispatcher's Python bindings, if they were packaged separately by your distro.
  2. Follow the rest of the instructions for Mac OS X, starting with "Clone this repository".

Terminal setup

Open Terminal preferences, under Profiles check Use Option as Meta key.

Keys

(alt refers to the meta key.)

  • alt u, i, o - read previous, current, next line
  • alt j, k, l - read previous, current, next word
  • alt m, comma, dot - read previous, current, next character
  • alt k twice - spell current word
  • alt comma twice - say current character phonetically
  • alt c - config.
  • alt q - quiet mode on/off. When on, text is not automatically read.
  • alt r - start/end selection.
  • alt v - copy mode. Press l to copy the line the review cursor is on, or s to copy the screen.

Configuration

Once in the config menu, you can use:

  • r - set rate.
  • v - set volume (value between 0 and 100).
  • p - toggle symbol processing.
  • d - set cursor delay (in MS). The default is 20.
  • Enter - exit, saving the configuration.

Symbols

Symbols can be added in the configuration file (~/.tdsr.cfg), under the symbols section.

The format is:

character code = name

Because of how the config system works, it's best to do this with one TDSR open, then exit and re-launch to see the changes.

License

Copyright (C) 2016, 2017 Tyler Spivey

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.