Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-18 Thread Dale Long
On Tue, 17 Jul 2001, David Douthitt wrote: > > I like lua and am currently learning it. It has advantages that it is a > > clean syntax, good for configuration files and configuration processing, > > it is smaller than Perl/Python, but offers more features than 'sh', it is > > very portable and ve

Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-18 Thread Dale Long
On Wed, 18 Jul 2001, David Douthitt wrote: > Brings up a question - like busybox, lua (the interpreter) is extensible > - I mean, via libraries and code and such. So now, on my system or > around here I have: > > 1. Lua > 2. Lua + POSIXLibrary (poslib) > 3. Lua + POSIX Library + Lua sockets (net

Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-18 Thread David Douthitt
Charles Steinkuehler wrote: > I still haven't looked at lua, so I don't know how it would work for > /linuxrc. I've been figuring on working to build a busybox sh based > /linuxrc, possibly statically linked against a stripped ulibc, and see how > small a "boot-strap" lrp could be made. Root.lr

Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-18 Thread Charles Steinkuehler
> All of this is part of an effort to shrink root.lrp; I've already > removed /var/spool/cron (to a new cron.lrp) and much of /sbin to > init.lrp > > What do you think of using lua for writing /linuxrc? Anyone here have > experience in lua? > > I'm about to dive in headlong :-) I still

Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-17 Thread David Douthitt
Dale Long wrote: > > On Tue, 17 Jul 2001, David Douthitt wrote: > > What do you think of using lua for writing /linuxrc? Anyone here have > > experience in lua? > > I like lua and am currently learning it. It has advantages that it is a > clean syntax, good for configuration files and configur

Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-17 Thread David Douthitt
David Douthitt wrote: > > I was pondering this, wondering if there was another language other than > /bin/ash which had more power in less space. This is what I've found: > > ash 100k > lua 79k > What do you think of using lua for writing /linuxrc? Anyone here have > experience in l

Re: [Leaf-devel] Using a new shell for linuxrc?

2001-07-17 Thread Dale Long
On Tue, 17 Jul 2001, David Douthitt wrote: > I was pondering this, wondering if there was another language other than > /bin/ash which had more power in less space. This is what I've found: > > ash 100k > rc -- requires libncurses, libreadline > esh -- requires libreadline, libtermc

[Leaf-devel] Using a new shell for linuxrc?

2001-07-17 Thread David Douthitt
I was pondering this, wondering if there was another language other than /bin/ash which had more power in less space. This is what I've found: ash 100k rc -- requires libncurses, libreadline esh -- requires libreadline, libtermcap eforth 12k (static) lua 79k es -- won't