🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #106

Re: what is a simple editor (was Re: decent unix editors?)

#106
From: Charles Scripter
Date: Tue, 04 Aug 1992 01:03
52 lines
2955 bytes
In article <1992Jul31.214328.18156@twisto.eng.hou.compaq.com>,
darylb@sword.eng.hou.compaq.com (Daryl Biberdorf) writes:

> In article <DAVIS.92Jul31170548@pacific.mps.ohio-state.edu>
> davis@pacific.mps.ohio-state.edu  (John E. Davis) writes:
>
> >I have seen questions such as ``Where can I find a simple editor for UNIX?''
> >time and time again on this group.  I cannot help but to wonder what it is
> >that people want.  What *is* a simple editor?  In my opinion, emacs is a
> >simple editor.  I have begun to think that when someone asks for such a thing,
> >he is using this definition:
> >       a) not vi
> 
>      "a)" should probably be "a) not modal"

Agreed, on both parts...

> >       b) editor that does not require building (eg. edit makefile, etc...)

Or be easy to build.

>         c) an editor that will terminate with an obvious command
>            sequence (say, alt-X as opposed to :wq  or  ctrl-X ctrl-C)

GnuEmacs is difficult, with the lisp language, but uGnuEmacs is easy
(certainly easy, with an example in hand).  I have exit/save bound to
<ESC>e, in addition the the default ^X^C (format paragraph = <ESC>f, etc.)

>         d) an editor that always binds page up, page down, and the
>            cursor movement functions to obvious keys on the user's
>            terminal (pgup/pgdown bind to Prev Scrn and Next Scrn and
>            up/down/left/right bind to the appropriate arrow keys on
>            a VT-220, for example).

Trickier.  With a small patch, and some system help, uGnuEmacs could probably
do that.  (I've got my local system folks installing it right now, along
with default bindings if the user doesn't supply them).  [maybe a "good"
editor should use "termcap"??]

> >Obviously, with these two restrictions, the two most common answers (vi and
> >emacs) are ruled out.  When one adds the further constraint that the editor
> >must be cheap (free) what do you have left?

Use Gnu tools...  ;-)

-------------------------------------------------------------------
Charles Scripter                   *      cescript@phy.mtu.edu
Dept of Physics                    *
Michigan Technological University  *
Houghton, MI 49931                 *
-------------------------------------------------------------------
With your one remaining eye, please do NOT look back into the laser
Technical Details
Message-ID: <1992Aug4.010300.10246@mtu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!mtu.edu!mtu.edu!cescript
References: <1992Jul30.191243.21826@ncsu.edu> <1992Jul30.224650.10106@convex.com> <DAVIS.92Jul31170548@pacific.mps.ohio-state.edu> <1992Jul31.214328.18156@twisto.eng.hou.compaq.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!mtu.edu!mtu.edu!cescript
From: cescript@mtu.edu (Charles Scripter)
Subject: Re: what is a simple editor (was Re: decent unix editors?)
Message-ID: <1992Aug4.010300.10246@mtu.edu>
Sender: news@mtu.edu
Nntp-Posting-Host: phyfac7.phy.mtu.edu
Organization: Michigan Technological University
References: <1992Jul30.191243.21826@ncsu.edu> <1992Jul30.224650.10106@convex.com> <DAVIS.92Jul31170548@pacific.mps.ohio-state.edu> <1992Jul31.214328.18156@twisto.eng.hou.compaq.com>
Date: Tue, 4 Aug 1992 01:03:00 GMT
Lines: 52