[comp.unix.questions] Wanted - An Editor Which Handles Long Lines

anw@maths.nott.ac.uk (Dr A. N. Walker) (04/06/90)

In article <41368@fmsrl7.UUCP> hugh@slee01.srl.ford.com (Hugh Fader) writes:

>Can emacs or any other UNIX editor do horizontal scrolling?

	No-one here uses either vi or emacs, but we certainly have an
editor which does horizontal scrolling.  It's called "exed", for
"EXperimental version of ED", and is an offshoot of our local version
of the standard "ed".  I occasionally use it for editing bitmaps.
Its other main advantage over "ed" is that it handles arbitrarily large
files [until the discs are full!] -- on the PDP-11, our "ed" conks out
at about 500K bytes.  Its disadvantage is that it's been unmaintained
for several years, since the student concerned left, so has failed to
track several developments in "ed".

	The bad news is that, although you might have to search with a
microscope, I can't guarantee it to be Bell-free, so anyone wanting it
[on an "as is" basis, tho' it works on all the machines I've ever had
access to] or "ed" [ditto] would need to flash a V6 or later source
licence at me;  also media &/or transport costs.

-- 
Andy Walker, Maths Dept., Nott'm Univ., UK.
anw@maths.nott.ac.uk

fkk@stasys.sta.sub.org (Frank Kaefer) (04/09/90)

kim@spock (Kim Letkeman) writes:

> JOVE does a nice job of scrolling each line as you edit it. It moves
> perhaps 20 or 30 characters at a time.
> GnuEmacs is less smooth in this area. You either accept wrapped lines
> (which I personally dislike) or you accept chopped lines.
> (some deletions made)

Well, what about MicroEmacs ? Version 3.10 has a very nice way to
handle long lines: it scrolls vertically, and you can set the
amount of characters to scroll (variable $hjump). MicroEmacs
can even handle very long lines. I once had a text with no CRs
(CR marks the end of a line in OS-9), only LF, so uEmacs
read the whole 200 kB in one line (!).

Cheers,
Frank

[P.S.: I think MicroEmacs is one of the best editors in our galaxy]
---
+--------------------------------+ Darkness all around us
| Frank Kaefer | fkk@stasys.UUCP | We don't close our eyes
|   (Compuserve: 72427,2101)     | No one's gonna ground us
|          (BIX: fkaefer)        | We were born to fly
|     Starnberg, West Germany    | Comin' at us no stopping
+--------------------------------+ Born to amplify    [Carry On - Manowar]

datri@convex.com (Anthony A. Datri) (04/09/90)

>Can emacs or any other UNIX editor do horizontal scrolling?
     ^^^^^

"emacs" isn't a UNIX editor -- it's one of a variety of editors running on
a variety of machines and OS's.  MicroEmacs 3.10 certainly does horizontal
scrolling, current-line-only or all-lines-at-once as you wish.  A quick
perusal of Gnumacs (18.55) doesn't find the feature under any obvious names.

art@felix.UUCP (Art Dederick) (04/09/90)

Look at GNU's readline library.  It can be configured for vertical or
horizontal scrolling.  GNU EMACS most likely has this built in.
I use the readline library for making secure user interfaces and have
found it's other features nice (history, name completion etc.).