If bash can, why not Speakup?
rynkruger at gmail.com
Thu Nov 18 15:50:49 EST 2010
I may be wrong, but I think that the vim editing style of bash isn't really the vim editor, but just a vim-like mode
provided by readline. For instance, pressing the colon (:) while in bash vim-style command-mode, doesn't allow you to
enter a vim command, but just beeps at you. So I think it's probably just a boolean value in the readline library itself
which indicates to the shell whether you are in insert or command mode.
* Janina Sajka <janina at rednote.net> [101118 22:31]:
> I think my main point got lost in the litany of vim complaints that have
> actually been with us for a long time. I was trying to say something new
> that no one has commented on. So, let me try to redirect, if I may ...
> William Hubbs writes:
> > On Thu, Nov 18, 2010 at 09:23:29AM +1000, pj at pjb.com.au wrote:
> > > Janina Sajka wrote:
> > > > My biggest complaint is that I need to be ultra-careful 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
> > >
> > > Good point :-) It might need some help from the vim folk...
> > Yes, something like this would take modifications to vim to make it
> > communicate to speakup some how, and I'm not sure what that would
> > involve since I haven't looked at the vim code at all.
> Actually, I don't think we need anything from vim.
> Note that you can have either vim or emacs editing of bash commands.
> Emacs is the default, but you can reset this by issuing:
> set -o vim
> By, default, this provides bash shell command editing in insert mode. As
> in vim, pressing Esc takes you into command mode where all the vim
> command mode functionality is provided.
> So, the shell knows. That's got to be a value that's written somewhere,
> and thus something Speakup could read and respond to. I don't know
> where, but am I wrong?
> > William
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> Janina Sajka, Phone: +1.443.300.2200
> sip:janina at asterisk.rednote.net
> Chair, Open Accessibility janina at a11y.org
> Linux Foundation http://a11y.org
> Chair, Protocols & Formats
> Web Accessibility Initiative http://www.w3.org/wai/pf
> World Wide Web Consortium (W3C)
> Speakup mailing list
> Speakup at braille.uwo.ca
More information about the Speakup