From 8b7ef31432707e80cd9f410843c6cce9eacb0a43 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Fri, 14 Oct 2011 01:49:45 +0200 Subject: [PATCH] Remove unmaintained accessibility support --- doc/grmlzshrc.t2t | 9 --------- etc/zsh/zshrc | 33 --------------------------------- 2 files changed, 42 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 09f4b7f..2bfaa71 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -505,11 +505,6 @@ Simple backup of a file or directory using cp(1). The target file name is the original name plus a time stamp attached. Symlinks and file attributes like mode, ownership and timestamps are preserved. -: **brltty()** -The brltty(1) program provides a braille display, so a blind person can access -the console screen. This wrapper function works around problems with some -environments (f. e. utf8). - : **cdiff()** Runs a recursive diff(1) over two given directories trying to find the smallest set of changes. Three lines of context will be printed and binary @@ -924,10 +919,6 @@ Shows some information about current system status. : **swiki()** Searches articles in the german Wikipedia for the term given as argument. -: **swspeak()** -Sets up software synthesizer by calling swspeak-setup(8). Kernel boot option -swspeak must be set for this to work. - : **trans()** Translates a word from german to english (-D) or vice versa (-E). diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 5225f81..b33fc97 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1496,28 +1496,6 @@ iso2utf() { fi } -# set up software synthesizer via speakup -swspeak() { - if [ -x /usr/sbin/swspeak-setup ] ; then - setopt singlelinezle - unsetopt prompt_cr - export PS1="%m%# " - /usr/sbin/swspeak-setup $@ - else # old version: - if ! [[ -r /dev/softsynth ]] ; then - flite -o play -t "Sorry, software synthesizer not available. Did you boot with swspeak bootoption?" - return 1 - else - setopt singlelinezle - unsetopt prompt_cr - export PS1="%m%# " - nice -n -20 speechd-up - sleep 2 - flite -o play -t "Finished setting up software synthesizer" - fi - fi -} - # I like clean prompt, so provide simple way to get that check_com 0 || alias 0='return 0' @@ -2278,17 +2256,6 @@ peval() { } functions peval &>/dev/null && alias calc=peval -# brltty seems to have problems with utf8 environment and/or font Uni3-Terminus16 under -# certain circumstances, so work around it, no matter which environment we have -brltty() { - if [[ -z "$DISPLAY" ]] ; then - consolechars -f /usr/share/consolefonts/default8x16.psf.gz - command brltty "$@" - else - command brltty "$@" - fi -} - # just press 'asdf' keys to toggle between dvorak and us keyboard layout aoeu() { echo -n 'Switching to us keyboard layout: ' -- 2.1.4