[Toybox] Editors and such.
David Seikel
onefang at gmail.com
Sat Jun 16 23:13:15 PDT 2012
On Sun, 17 Jun 2012 13:14:34 +0800 Roy Tam <roytam at gmail.com> wrote:
> On Fri, Sat Jun 16 08:47:05 PDT 2012 David Seikel <onefang at gmail.com>
> wrote:
> >On Fri, 15 Jun 2012 21:20:11 +1000 David Seikel <onefang at gmail.com>
> >wrote:
> >
> >> Then there would be a toy I'm calling toyboxes.
> >
> >Hmm, seems toybox does not like toy names that partially match the
> >names of other toys. Every time I try to use "toyboxes", it finds
> >"toybox" instead.
>
> why not use "boxes" as the name?
That's exactly what I did, and that worked fine. Still, shows there's
a problem in toybox. The name "toyboxes" failed, coz it got confused
with "toybox", the name "boxes" worked. I can't think off the top of my
head of any other cases where a command we might want to support has
it's name being a subset of the name of some other command we might
want to support, but it could happen.
> maybe we can have a simplified GNU SCREEN with it? ;-)
Does GNU own screen? Careful with such assumptions around here.
I do have a note on my design docs that it might be possible to
implement something like screen or tmux, and a warning not to turn into
curses or twin. lol
The design goal is to support things like full screen text viewers,
editors, and midnight commander. Being a generalised full screen text
UI library is out of scope. Side by side boxes, status lines, menus,
scrolling text, text editing, these things are in scope. A centred
popup widget for selecting options and entering command parameters is
borderline in scope, I'm gonna see if I can leave it out at first.
Arbitrary text "windows" that you can drag around with the mouse,
cacalib support, these things are out of scope.
Screen and tmux do happen to fall within the scope of what is supported
by the library design though. There's a nohup toy, so it might be
possible. That's about the limit of my thoughts in how to support
screen or tmux. I'm not going out of my way to support them, but it
may be possible anyway.
So far the code has ended up being a lot simpler than I expected. B-)
--
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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120617/f7b33df7/attachment-0004.pgp>
More information about the Toybox
mailing list