From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ew0-f42.google.com (mail-ew0-f42.google.com [209.85.215.42]) by speech.braille.uwo.ca (Postfix) with ESMTP id 92CA9C1A407 for ; Thu, 18 Nov 2010 15:51:05 -0500 (EST) Received: by ewy1 with SMTP id 1so2293451ewy.29 for ; Thu, 18 Nov 2010 12:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=+sQUC+mR2MtYZT1a83OptUdEfWjbqzzsx/Ey8qwJxiQ=; b=Mv1V9klGc3eVvZc3Ju/BTZOu+UfFrcZk+XQnSVYWKg/dMfuVUTPUP4lOH8Il1mqMa6 OoOn6EvEltshL5zmOp15YA5KeWle6QVRlYlMQZjpDoeoNLU6cpXo15CljZQffB5fvYx1 wRkxqSY4pyOxXhWOoetgXuaHTr6aJ0BNggwwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=IQp3qrI5H/YKA44XP8n2mzaWSonCOs1vo/n8jqZObaXP50C3+DYbVbf1OHoU5Z9ejm /pdmfL0g0z4SlO0vknhAfaD5qLy9L1nZABnLw75h6JPd1mlVXrhIFzPn4fe8KyUyt3XJ 4HB0sS9ubFA0A/aWzPcSMdyAbCqsRla1qpZ4Y= Received: by 10.213.31.67 with SMTP id x3mr936852ebc.19.1290113464381; Thu, 18 Nov 2010 12:51:04 -0800 (PST) Received: from localhost (196-210-156-22.dynamic.isadsl.co.za [196.210.156.22]) by mx.google.com with ESMTPS id q58sm750985eeh.15.2010.11.18.12.51.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Nov 2010 12:51:03 -0800 (PST) Date: Thu, 18 Nov 2010 22:50:49 +0200 From: Rynhardt Kruger To: "Speakup is a screen review system for Linux." Subject: Re: If bash can, why not Speakup? Message-ID: <20101118205049.GA9342@blind-archer> References: <98haom$7bpkcl@ipmail06.adl6.internode.on.net> <20101117233043.GA26689@linux1> <20101118202718.GD2358@sonata.rednote.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101118202718.GD2358@sonata.rednote.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.13 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2010 20:51:05 -0000 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. Take care, Rynhardt * Janina Sajka [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@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? > > Janina > > > William > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > -- > > Janina Sajka, Phone: +1.443.300.2200 > sip:janina@asterisk.rednote.net > > Chair, Open Accessibility janina@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@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup