From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 86A9C1EF6AF; Tue, 30 Jul 2013 20:13:57 -0400 (EDT) X-Greylist: delayed 304 seconds by postgrey-1.34 at befuddled; Tue, 30 Jul 2013 20:13:56 EDT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:6]) by befuddled.reisers.ca (Postfix) with ESMTP id 732BD1EF516 for ; Tue, 30 Jul 2013 20:13:56 -0400 (EDT) Message-Id: Received: from ppp118-208-245-195.lns20.hba2.internode.on.net (HELO localhost) ([118.208.245.195]) by ipmail06.adl6.internode.on.net with SMTP; 31 Jul 2013 09:38:39 +0930 Date: Wed, 31 Jul 2013 10:08:39 +1000 Subject: vibe, a line-editor with vi-compatible keystrokes To: speakup@linux-speakup.org From: pj@pjb.com.au X-Mailer: mail.pl Content-Type: text/plain; charset="utf-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: pj@pjb.com.au, "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: Wed, 31 Jul 2013 00:13:57 -0000 Greetings. Being an ageing vi-user, and since vi doesn't handle screen-readers well, I've been writing a line-editor in Perl with vi-like keystrokes. I think highly of edbrowse, but I do miss my h j k l, and being able to move the cursor within the line with b and w and Left and Right. It's called vibe (the VI-like Blind Editor) although I wonder if that's too ungoogleable and so perhaps vivi (Visually Impaired VI) might be better? The aim is to work like vim -c 'set lines=2' except to not use curses, so as to be in more control of which characters would be output to the screen and in what order, and to use this control to achieve a comfortable speaking interface under both speakup and yasr. Anyway, it's approaching releaseability and you can try it out with cd /usr/local/bin wget http://www.pjb.com.au/blin/free/vibe chmod 755 vibe perldoc vibe # read what manual there is :-) It currently handles h j k l 5j ArrowKeys PageUp/Down { } 0 $ w b e :123 :1 Home :$ End /somestring /perlregexp[a-m]?\d+.txt$ J i I x p P dd d} c C D !!fmt !}fmt dw d5w u Ctrl-R ZZ w n q wq and many combinations of the above. It is in its very early versions; there will be bugs, and some important functions are still not implemented, such as r, R and :r filename. Currently, the "u" undo-command only stores one level of history. Helpful suggestions from fellow-vi-users gratefully received... Regards, Peter Billam http://www.pjb.com.au pj@pjb.com.au (03) 6278 9410 "Follow the charge, not the particle." -- Richard Feynman from The Theory of Positrons, Physical Review, 1949