public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Re: vibe, a line-editor with vi-compatible keystrokes
@  pj
   ` Ari Moisio
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: pj @  UTC (permalink / raw)
  To: speakup

Devon Stewart wrote:
> Does vim have a line-editor mode?

It depends what you mean; there is, like I say,
  vim -c 'set lines=2'
but it's still a curses app, so it still speaks voluminous garbage
and takes over the whole screen so you can't use a screen-reader
to see what's been happening. Might as well use vim.
I don't think vim has any non-curses modes.
These days ex is usually a symlink to vim -e which is still
a curses app; anyway, then you should be using edbrowse.

Janina Sajka wrote:
> Hmmm, but one can do this all in vim already.

Oh yes, vibe is only ever going to be a small subset of vim.
But vim speaks lots of garbage, and takes over the whole screen etc.

I'm still fixing lots of vibe bugs within one version number,
I'll become more disciplined later...
  http://www.pjb.com.au/blin/free/vibe

Peter

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: vibe, a line-editor with vi-compatible keystrokes
@  pj
  0 siblings, 0 replies; 8+ messages in thread
From: pj @  UTC (permalink / raw)
  To: speakup

Hi. elvis has a non-curses mode. On the blinux list, Tim Chase wrote:
> Upon playing with "stevie" it seems that it doesn't actually support
> "open mode",

I wrote:
http://nosuch.com/tjt/stevie says it was last updated in 1988...

> but "elvis" (another vi clone) does.
>   bash$ elvis myfile.txt
>   :open
> or you can specify that you want to use open mode at the command-line:
>   bash$ elvis -G open myfile.txt
> which you can alias with
>   alias evi='elvis -G open'
> to make it easier.

Yup, that's nice, that's a serious candidate for vi users :-)
It does chew up screen-space, so if you need to copy-and-paste
anything into your file you'd better do that at the beginning
of the editing-session, and under yasr there is no key-echo
so you'd better touch-type well, but, yeah, it looks good.

vibe is now too far advanced for me to abandon it, but
elvis -G open is my default recommendation for ageing vi-users.

On debian, the package is:  aptitude install elvis-console

( end cross-post )
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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* vibe, a line-editor with vi-compatible keystrokes
@  pj
   ` Janina Sajka
  0 siblings, 1 reply; 8+ messages in thread
From: pj @  UTC (permalink / raw)
  To: speakup

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 vibe, a line-editor with vi-compatible keystrokes pj
 ` Ari Moisio
 ` covici
 ` Janina Sajka
  -- strict thread matches above, loose matches on Subject: below --
 pj
 pj
 ` Janina Sajka
   ` Devon Stewart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).