If bash can, why not Speakup?

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

 



Janina Sajka wrote:
> to track whether I'm in insert or command mode, i.e. it would
> sure help if Speakup could give me a differently pitched voice

I wrote:
> Presumably by writing something to somewhere in
> /sys/accessibility/speakup/ (or /proc/speakup ?)
> ... It might be possible to do it with a vim script
>   http://www.vim.org/scripts/

It should be possible; e.g. the obviousmode.vim script:
  http://vim.sourceforge.net/scripts/script.php?script_id=2212
    Clearly indicate visually whether Vim is in insert mode via
    the StatusLine highlight group.  When you go into insert mode,
    the status line color changes.

and indeed in:
  http://vimdoc.sourceforge.net/htmldoc/usr_41.html#vim-script-intro:
there are "mode" and "writefile" functions available ...

Peter Billam

http://www.pjb.com.au       pj at pjb.com.au      (03) 6278 9410
"Was der Meister nicht kann,   verm?cht es der Knabe, h?tt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux