[comp.editors] Sideways scroling in Elvis

peter@ficc.ferranti.com (Peter da Silva) (09/29/90)

(BTW, I'm now using Elvis as my default Amiga editor. The port is still in
progress, but it's already better than Z)

How about just sideways-scrolling the line you're on, at least until you move
to another line. That'd let you get out there with fewer redraws.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter@ferranti.com

grahj@gagme.chi.il.us (jim graham) (10/02/90)

In article <NR26R19@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes:
>How about just sideways-scrolling the line you're on, at least until you move
>to another line. That'd let you get out there with fewer redraws.

I've been reading lots of the comments about sideways scrolling on Elvis (which
I'm still looking for source for, BTW, if anyone feels like mailing it to me!).
I have a suggestion that I think might just make everyone happy --- since some
of us require sideways scrolling, and some hate it, and so on....

If the author of Elvis should decide to do Elvis w/o it, how about a #define
such as 
#define UseSideScroll
for those of us who need such features, and the lack of such a define for those
who don't want it.....

BTW, as far as scrolling one line, keep this in mind --- sometimes, you want
to look at one line with reference to the other lines around it.  For example,
I'm using a TeX (and tables.tex) to draw configurations for IDNX nodes in our
telecommunications network at work.  The lines often go out several hundred
columns long.  With vi, editing these files is impossible....unless you can
see columns (as such) straight down the page, you're pretty much lost.

Anyway, just thoughts....take it or leave it.

Jim Graham

PS:  again, if someone would kindly mail me the src....tnx.

les@chinet.chi.il.us (Leslie Mikesell) (10/04/90)

In article <784@gagme.chi.il.us> grahj@gagme.chi.il.us (jim graham) writes:
>
>If the author of Elvis should decide to do Elvis w/o it, how about a #define
>such as 
>#define UseSideScroll
>for those of us who need such features, and the lack of such a define for those
>who don't want it.....

Better yet, make it a runtime decision with the initial setting based on
the terminal speed unless explicitly set in the init file.  A "set" command
could let you change at any time.

>BTW, as far as scrolling one line, keep this in mind --- sometimes, you want
>to look at one line with reference to the other lines around it.

Exactly!  Sometimes you want it, sometimes it doesn't matter and sometimes
you don't want it.

BTW, has anyone else noticed that ":w !cmd" doesn't work in elvis although
all the other similar commands work?  Was this just an oversight or are
there really vi's around that don't have the non-subtle difference between
:w! file and :w !command?  Or maybe someone just though it was too difficult
to explain the difference in the documentation.

Les Mikesell
  les@chinet.chi.il.us

peter@ficc.ferranti.com (Peter da Silva) (10/06/90)

In article <784@gagme.chi.il.us> grahj@gagme.chi.il.us (jim graham) writes:
> BTW, as far as scrolling one line, keep this in mind --- sometimes, you want
> to look at one line with reference to the other lines around it.

That's why I said "sideways scroll as long as you're on the line". When you
move off it, the rest of the screen snaps into sync.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter@ferranti.com