Skip site navigation (1)Skip section navigation (2)
Date:      06 Jan 2002 15:42:23 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        "Joe & Fhe Barbish" <barbish@a1poweruser.com>
Cc:        "FBSD Questions" <questions@FreeBSD.ORG>
Subject:   Re: Editors in base FBSD
Message-ID:  <1j3d1j9hcw.d1j@localhost.localdomain>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOMEIDCLAA.barbish@a1poweruser.com>
References:  <LPBBIGIAAKKEOEJOLEGOMEIDCLAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Joe & Fhe Barbish" <barbish@a1poweruser.com> writes:

> I know of vi and ee = very primitive and just primitive 
> that are part of the base. Are there any others?  

Using "man -k edit" reveals "ex", "vi", "view", "sed".
There's also "ed", the command-line basis of "vi".
Sometimes these are best: cat, echo, awk, tr, head, tail, ...

> Are there any command line mouse enabled 
> cut & past editors in FBSD?

See man page for "moused" and grep for that in /etc/defaults/rc.conf file.

Of course there are many in /usr/ports/editors, though I'm not sure if
any will work without "moused" running.  "jed" is nice which works
rather like Emacs by default, but has "vi" and other emulations, IIRC.
I've found these useful too: uemacs, joe, pico, emacs, xemacs.  (All
should work within typical terminal emulators, in or out of X11.)

P.S.  I think your jargon is not quite correct.  "Command-line editors"
are ones which accept commands only a line at a time, like "ed".  (Mouse
support for those too is available with "moused" or in X11, I guess.)
"Advanced" editors were called "full-screen editors", though the term
isn't seen much lately since it's generally synonomous with "editor" now.

The more commonly useful distinction these days is between editors which
work with common character-mode consoles (console or console-mode
editors) and those that require pixel-level graphics support (GUI or
mouse-driven editors).  I'm going on dim memories in the following, but
I think the first type can be further devided between editors which will
work with terminal emulators (like the two available FreeBSD console
drivers, xterm, minicom, etc.) and real terminals, and those which use
the SVGA programming library to do character-level graphics on SVGA-like
graphics systems.  The latter might also qualify as "GUI or mouse-driven
editors", so it's hard to use the terms without confusion sometimes.  I
don't actually know of any console-mode editors that are mouse driven,
apart from cut & paste, but they are certainly possible and I suspect
that XEmacs (and maybe Emacs) has mouseable menues.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1j3d1j9hcw.d1j>