[Toybox] Editors and such.

David Seikel onefang at gmail.com
Wed Sep 5 03:49:37 PDT 2012


On Sun, 01 Jul 2012 22:20:24 -0500 Rob Landley <rob at landley.net> wrote:

> On 07/01/2012 12:14 PM, David Seikel wrote:
> > On Sun, 01 Jul 2012 11:58:05 -0500 Rob Landley <rob at landley.net>
> > wrote:
> > 
> >> I'm adding a chunk at a time and checking it in. I have somewhat
> >> elaborate plans, but they change as I go along.
> >>
> >> Your design of course takes into account none of _my_ elaborate
> >> plans, but since I haven't checked them in yet they're fair game.
> >>
> >> But I'm a bit nervous about impedence matching a giant code drop.
> > 
> > My design is changing as I go along as well.  I'm trying to shake
> > out a proper design for all of this with some real world sanity
> > checking.
> 
> Aren't we all. :)
> 
> > The first code drop will just be a single toy, which is just a
> > prototype.  A work in progress for commenting on.  Later it should
> > probably be split up into a few library bits that can be left out of
> > the build if not needed.
> 
> Yay trail of breadcrumbs. I look forward to it.

Here's a code drop, warts and all.  I should have done this a month ago,
which is the last time I looked at it.  Though the stuff I did a month
ago was mostly adding lots more comments.  Keep in mind what I said
above, this is a work in progress, proof of concept, playground,
packaged up as one big toy, to be self contained until the mess is
cleaned up.  This "boxes" toy itself will go away, to be replaced by
individual editor / pager toys and library bits.  Nothing is set in
stone, lots of mess inside, there's bugs, but at least it shows the
general direction my mind is wandering in.  As a bonus, it actually
works, you can edit stuff.

Please don't actually include this in toybox.  Just look at it and
sneer / giggle, depending on your nature.  Drop it into the toys
directory to try it out, it's just one big toy.

If you want to see how it can be used to build specific editors, start
at the end and work backwards.  Reading the lengthy comments at the
beginning would also be useful.

I've not even looked at it in the last month, just thought it was past
time to show the code.  I'll get back to working on it when I can.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boxes.c
Type: text/x-csrc
Size: 79244 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120905/68b0643a/attachment-0006.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120905/68b0643a/attachment-0001.sig>


More information about the Toybox mailing list