On Mon, Dec 29, 2014 at 7:18 PM, David Seikel <[email protected]> wrote:
> On Mon, 29 Dec 2014 16:10:07 -0500 dmccunney
> <[email protected]> wrote:
>
>> On Mon, Dec 29, 2014 at 1:00 PM, Rich Felker <[email protected]> wrote:
>> > On Mon, Dec 22, 2014 at 10:21:26PM -0600, Rob Landley wrote:
>> >> I plan to implement vi over the next year, but it's one of the four
>> >> realy big commands required by posix (sed, awk, sh, vi) and I've
>> >> been debugging sed against real-world data for _weeks_ now. (It's
>> >> easy to knock out a simple 90% implementation. It's really hard to
>> >> make something do everything right in all the cases people are
>> >> going to throw at it.)
>> >
>> > It would be awesome to have mg too or a similar mg-like emacs clone
>> > but with working unicode support.
>
> Mg is one I haven't heard of.  Got a URL?

Mg was originally MicroGnuEmacs, a tiny emacs implementation based on
Dave Conroy's microemacs, intended to preserve the Gnu Emacs key
assignments.  It was written by Mike Meyer, and appears in Craig
Finseth's list of Emacs implementations:
http://www.finseth.com/emacs.html#66 The name ran into some objection
from the FSF folks, and got changed to mg.

There is no current URL, and hasn't been for ages, but it's findable
in various repositories.  Source for an OpenBSD versions is here:
http://homepage.boetes.org/software/mg/

Julie Melbin's NotGNU editor seems to be an mg derivative:
http://www.notgnu.org/

>> You might look at Albrecht Kliene's e3.  e3 is that Linux rarity -
>> code written mostly in Assembler.  (There is also a C version for
>> other systems.)

<...>

> E3 was my inspiration for boxes.  Though I do have a soft spot for
> assembler, I'd prefer using C for this sort of thing.  Or perhaps C +
> Lua, but Rob decided a while ago to not use Lua.

Albrecht apparently wanted to write the smallest most efficient code
possible, and assembler was the way to get it.  He does also provide C
source for those wishing to build on other OSes.  The Win9X binary
from the C code is all of 20KB here.  (He also provides batch files
for the other emulations, but since NTFS5 supports actual links, I use
a binary and symlinks as under Linux on Win7.)

I have a soft spot for Lua, but I can understand Rob not wanting to go
that route in Toybox.  If you want to go the Lua route, you may like
TextAdept, an editor based on the Scintilla edit control with Lua for
scripting and dynamic lexing: http://foicica.com/textadept/
______
Dennis
https://plus.google.com/u/0/105128793974319004519
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to