[Toybox] Editors and such.
David Seikel
onefang at gmail.com
Sat Jun 30 23:13:43 PDT 2012
On Sat, 30 Jun 2012 20:02:55 -0500 Rob Landley <rob at landley.net> wrote:
> On 06/30/2012 07:01 PM, David Seikel wrote:
>
> > Oh yeah, my infrastructure is aiming
> > at sed to. All fairly similar at the basic level anyway.
>
> What does interactive line editing have to do with sed, a line-by-line
> regex stream processor I previously wrote the busybox implementation
> of?
>
> Just wondering.
I'm writing generic text editing functions. They don't care if it's a
full screen editor, line editor, or stream editor driving them, they do
text editing. Ed, ex, vi, and sed all have "select lines with a regex,
do some editing function on them". Lots of other things they have in
common to. Including the ability to run "scripts" of their own
commands over text.
I read through the relevant standards and compiled lists of what they
do that is common, and what they do that is not so common. Did the
same with the documentation for joe, microemacs, nano, and midnight
commanders editor. Also included more, less, and readline.
Not gonna be all things for all people, but there's enough common stuff
for generalization to work out for us.
The toybox sed (as of 0.3.0) is a stub with "hello world" in it. None
of the others have been written yet. I think my stuff could be useful
to them all, and toysh as well (readline type stuff).
--
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/20120701/7ee44168/attachment-0002.sig>
More information about the Toybox
mailing list