diff options
-rwxr-xr-x | scripts/mkstatus.py | 12 | ||||
-rwxr-xr-x | www/about.html | 10 | ||||
-rwxr-xr-x[-rw-r--r--] | www/code.html | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | www/design.html | 0 | ||||
-rwxr-xr-x | www/news.html | 41 | ||||
-rwxr-xr-x | www/roadmap.html | 356 | ||||
-rwxr-xr-x | www/status.html | 11 |
7 files changed, 403 insertions, 27 deletions
diff --git a/scripts/mkstatus.py b/scripts/mkstatus.py index 51adc2cd..ec225ed4 100755 --- a/scripts/mkstatus.py +++ b/scripts/mkstatus.py @@ -1,5 +1,7 @@ #!/usr/bin/python +# Create status.html + import subprocess,sys def readit(args): @@ -32,6 +34,8 @@ for i in toystuff: pending=[] done=[] +print "all commands=%s" % len(reverse) + outfile=open("www/status.gen", "w") outfile.write("<a name=all><h2><a href=#all>All commands</a></h2><blockquote><p>\n") @@ -42,11 +46,14 @@ for i in blah: if "posix" in reverse[i]: out='[<a href="http://pubs.opengroup.org/onlinepubs/9699919799/utilities/%s.html">%s</a>]' % (i,out) elif "lsb" in reverse[i]: out='<<a href="http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/%s.html">%s</a>>' % (i,out) elif "development" in reverse[i]: out='(<a href="http://linux.die.net/man/1/%s">%s</a>)' % (i,out) - elif "request" in reverse[i]: out='<a href="http://linux.die.net/man/1/%s">%s</a>' % (i,out) elif "toolbox" in reverse[i]: out='{%s}' % out + elif "klibc_cmd" in reverse[i]: out='=%s=' % out + elif "sash_cmd" in reverse[i]: out='#%s#' % out + elif "sbase_cmd" in reverse[i]: out='@%s@' % out + elif "beastiebox_cmd" in reverse[i]: out='*%s*' % out + elif "request" in reverse[i]: out='+<a href="http://linux.die.net/man/1/%s">%s</a>+' % (i,out) elif "ready" in reverse[i]: pass else: sys.stderr.write("unknown %s %s\n" % (i, reverse[i])) - if "ready" in reverse[i] or "pending" in reverse[i]: done.append(out) out='<strike>%s</strike>' % out @@ -54,6 +61,7 @@ for i in blah: outfile.write(out+"\n") +print "done=%s" % len(done) outfile.write("</p></blockquote>\n") outfile.write("<a name=todo><h2><a href=#todo>TODO</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(pending)) diff --git a/www/about.html b/www/about.html index 74eca0f2..7d98de4b 100755 --- a/www/about.html +++ b/www/about.html @@ -65,19 +65,19 @@ tinycc) can rebuild itself from source code.</p> <p>Most commands are implemented according to <a href=http://opengroup.org/onlinepubs/9699919799/idx/utilities.html>The -Single Unix Specification version 4</a> where applicable. This does not mean -that Toybox is implementing every SUSv3 utility: some such as SCCS and ed are +Single Unix Specification version 4</a> where applicable. This does not mean +that Toybox is implementing every SUSv4 utility: some such as SCCS and ed are obsolete, while others such as c99 are outside the scope of the project. Toybox also isn't implementing full internationalization support: it should be 8-bit clean and handle UTF-8, but otherwise we leave this to X11 and higher -layers. And some things (like $CDPATH support in "cd") await a good -explanation of why to bother with them. (The standard provides an important +layers. And some things (like $CDPATH support in "cd") await a good +explanation of why to bother with them. (The standard provides an important frame of reference, but is not infallable set of commandments to be blindly obeyed.)</p> <p>The other major sources of commands are the Linux man pages, and testing the behavior of existing commands (although not generally looking at their -source code), including the commands in Android's toolbox. SUSv4 does not +source code), including the commands in Android's toolbox. SUSv4 does not include many basic commands such as "mount", "init", and "mke2fs", which are kind of nice to have.</p> diff --git a/www/code.html b/www/code.html index 75483564..75483564 100644..100755 --- a/www/code.html +++ b/www/code.html diff --git a/www/design.html b/www/design.html index ce5fc55b..ce5fc55b 100644..100755 --- a/www/design.html +++ b/www/design.html diff --git a/www/news.html b/www/news.html index 1ed7ae9b..4f413217 100755 --- a/www/news.html +++ b/www/news.html @@ -1,6 +1,47 @@ <!--#include file="header.html" --> <h2>News</h2> +<hr><b>January 18, 2013</b> +<blockquote><p>This must be Thursday. I never could get the hang of Thursdays. - The Hitchhiker's Guide to the Galaxy.</p></blockquote> + +<p><a href=downloads/toybox-0.4.3.tar.bz2>Toybox 0.4.3</a> is based on +<a href=http://landley.net/hg/toybox/shortlog/793>commit 793</a>. There +are now exactly 100 commands in defconfig (of a little over 220 on the +<a href=roadmap.html>todo list</a>).</p> + +<p>Elie De Brauwer added the rev command, cleaned up tac, implemented the -s +and -f flags for seq, added -v and -i to killall (and fixed killall not to +kill itself before finishing its pid list), and added to the test suite. +Felix Janda added -m to mkdir, pwd -L and -P, and more test suite entries.</p> + +<p>Rob Landley added the losetup command, and fixed the existing ls, cp, and +readlink commands. The segfault in ls +happened when it couldn't determine the screen size (last release changed the +default to -C and a screen size of 0 made column view unhappy), and cp got an +extensive rewrite bringing it up to date with the dirtree changes and fixing +a number of things it never did right in the first place. The xabspath() +code in the library now handles a symlink after ".." properly (and the test +suite checks for it).</p> + +<p>Infrastructure-wise the code is better about automatically setting the +error return code properly. Now error_msg() sets the exit code to 1 if it's +still defaulting to 0, and the global exit path does a fflush(NULL) with error +bit check rather than trying to be quite so granular about flushing. (That +means if we use printf() instead of xprintf() it still exits with the right +error code, it just doesn't end the program early on an output error.) +Minor bugfix so TOYBOX_DEBUG +doesn't always warn about the lack of suid bit when toybox is built with +at least one STAYROOT command. Bugfix for the option [grouping] logic +(and then further fixes to the error reporting pointed out by Ashwini Sharma). +dirtree_handle_callback() now has a prefix like the rest of the dirtree +functions. A lot of stuff doing manual path handling was switched to using +libc basename() (including, embarassingly, the basename command), which means +it now correctly detects "/trailing/slash/" which the previous code didn't.</p> + +<p>Also, last release included some accidentally checked in debug code that +disabled compiler optimization, so the binary size bloated a bit. It's back +to -Os by default now.</p> + <hr><b>December 15, 2012</b> <blockquote><p>"The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly diff --git a/www/roadmap.html b/www/roadmap.html index 30d4dd4f..549c9486 100755 --- a/www/roadmap.html +++ b/www/roadmap.html @@ -7,15 +7,36 @@ utilities, and are using those to determine which commands to implement for Toybox's 1.0 release.</p> -<p>Our current candidate list combines the commands toybox already implements, -the development environment command list, the toolbox standard commands, -various vendor configurations of busybox, a selected subset of the POSIX/SUSv4 -standard, a couple of the less-insane bits of LSB, a few outright requests, -plus additional to-be-determined shell functionality.</p> +<p>The most interesting standards are POSIX-2008 (also known as the Single +Unix Specification version 4) and the Linux Standard Base (version 4.1). +The main test harness including toybox in Aboriginal Linux and if that can +build itself using the result to build Linux From Scratch (version 6.8). +We also aim to replace Android's Toolbox.</p> + +<p>At a secondary level we'd like to meet other use cases. We've analyzed +the commands provided by similar projects (klibc, sash, sbase, s6, embutils, +nash, and beastiebox), along with various vendor configurations of busybox, +and some end user requests.</p> + +<p>Finally, we'd like to provide a good replacement for the Bash shell, +which was the first program Linux ever ran and remains the standard shell +of Linux no matter what Ubuntu says. This doesn't mean including the full +set of Bash 4.x functionality, but does involve {various,features} beyond +posix.</p> <p>See the <a href=status.html>status page</a> for the combined list and progress towards implementing it.</p> +<ul> +<li><a href=#susv4>POSIX-2008/SUSv4</a></li> +<li><a href=#sigh>Linux "Standard" Base</a></li> +<li><a href=#dev_env>Development Environment</a></li> +<li><a href=#android>Android Toolbox</a></li> +<li>Miscelaneous: <a href=#klibc>klibc</a>, <a href=#sash>sash</a>, +<a href=#sbase>sbase</a>, <a href=#s6>s6</a>, <a href=#nash>nash</a>, +<a href=#beastiebox>beastiebox</a></li> +</ul> + <hr /> <a name="standards"> <h2>Use case: standards compliance.</h2> @@ -203,6 +224,7 @@ rm mkdir rmdir reboot getevent sendevent date wipe sync umount start stop notify cmp dmesg route hd dd df getprop setprop watchprops log sleep renice printenv smd chmod chown newfs_msdos netstat ioctl mv schedtop top iftop id uptime vmstat nandread ionice touch lsof md5 r +cp du grep watchdogd </b></blockquote> <p>If selinux is enabled, you also get:</p> @@ -259,13 +281,15 @@ bespoke code to install itself.</p> <p>For reference, combining everything listed above, we get:</p> <blockquote><b> -alarm ash cat chcon chmod chown cmp date dd df dmesg exists fs_mgr getenforce -getevent getprop getsebool gpttool hd id ifconfig iftop init insmod ioctl +alarm ash cat chcon chmod chown cmp cp date dd df dmesg du exists fs_mgr +getenforce +getevent getprop getsebool gpttool grep hd id ifconfig iftop init insmod ioctl ionice kill ln load_policy log logcat logwrapper ls lsmod lsof lsusb md5 mkbootimg mkdir mount mv nandread netcfg netstat newfs_msdos notify printenv ps r readtty reboot renice restorecon rm rmdir rmmod rotatefb route run-as runcon schedtop sdcard sendevent setconsole setenforce setkey setprop setsebool -sleep smd start stop sync syren top touch umount uptime vmstat watchprops wipe +sleep smd start stop sync syren top touch umount uptime vmstat watchdogd +watchprops wipe </b></blockquote> <p>We may eventually implement all of that, but for toybox 1.0 we need to @@ -277,12 +301,12 @@ functionality, which we can implement a shim interface for later).</p> <p>This means toybox should implement:</p> <blockquote><b> <span id=toolbox> -cat chmod chown cmp date dd df dmesg getevent getprop hd id ifconfig iftop -insmod ioctl ionice kill ln log logcat logwrapper ls lsmod lsof lsusb md5 mkdir -mount mv nandread +cat chmod chown cmp cp date dd df dmesg du getevent getprop grep hd id ifconfig +iftop insmod ioctl ionice kill ln log logcat logwrapper ls lsmod lsof lsusb md5 +mkdir mount mv nandread netstat newfs_msdos notify printenv ps r reboot renice rm rmdir rmmod route schedtop sendevent setconsole setprop sleep smd start stop sync top touch -umount uptime vmstat watchprops wipe +umount uptime vmstat watchprops watchdogd wipe </span> </b></blockquote> @@ -290,8 +314,8 @@ umount uptime vmstat watchprops wipe sections of this analysis:</p> <blockquote><b> -cat chmod chown cmp date dd df dmesg id ifconfig insmod kill ln ls lsmod -mkdir mount mv ps renice rm rmdir rmmod route sleep sync top touch umount +cat chmod chown cmp cp date dd df dmesg du grep id ifconfig insmod kill ln ls +lsmod mkdir mount mv ps renice rm rmdir rmmod route sleep sync top touch umount </b></blockquote> <p>Which leaves the following commands as new from Toolbox:</p> @@ -299,10 +323,312 @@ mkdir mount mv ps renice rm rmdir rmmod route sleep sync top touch umount <blockquote><b> getevent getprop hd iftop ioctl ionice log lsof nandread netstat newfs_msdos notify printenv r reboot schedtop sendevent setconsole -setprop smd start stop top uptime vmstat watchprops wipe +setprop smd start stop top uptime vmstat watchprops watchdogd wipe +</b></blockquote> + +<hr /><a name=klibc /> +<h2>kblic:</h2> + +<p>Long ago some kernel developers came up with a project called +<a href=http://en.wikipedia.org/wiki/Klibc>klibc</a>. +After a decade of development it still has no web page or HOWTO, +and nobody's quite sure if the license is BSD or GPL. It inexplicably +<a href=http://www.infoworld.com/d/data-center/perl-isnt-going-anywhere-better-or-worse-211580>requires perl to build</a>, and seems like an ideal candidate for +replacement.</p> + +<p>In addition to a C library even less capable than bionic (obsoleted by +musl), klibc builds a random assortment of executables to run init scripts +with. There's no multiplexer command, these are individual executables:</p> + +<blockquote><p> +cat chroot cpio dd dmesg false fixdep fstype gunzip gzip halt ipconfig kill +kinit ln losetup ls minips mkdir mkfifo mknodes +mksyntax mount mv nfsmount nuke pivot_root poweroff readlink reboot resume +run-init sh sha1hash sleep sync true umount uname zcat +</p></blockquote> + +<p>To get that list, build klibc according to the instructions (I +<a href=http://landley.net/notes-2013.html#23-01-2013>looked at</a> version +2.0.2 and did cd klibc-*; ln -s /output/of/kernel/make/headers_install +linux; make) then <b>echo $(for i in $(find . -type f); do file $i | grep -q +executable && basename $i; done | grep -v '[.]g$' | sort -u)</b> to find +executables, then eliminated the *.so files and *.shared duplicates.</p> + +<p>Some of those binaries are build-time tools that don't get installed, +which removes mknodes, mksyntax, sha1hash, and fixdep from the list. +(And sha1hash is just an unpolished sha1sum anyway.)</p> + +<p>The run-init command is more commonly called switch_root, nuke is just +"rm -rf -- $@", and minips is more commonly called "ps". I'm not doing aliases +for the oddball names.</p> + +<p>Yet more stale forks of dash and gzip sucked in here (see "dubious +license terms" above), adding nothing to the other projects we've looked at. +But we still need sh, gunzip, gzip, and zcat to replace this package.</p> + +<p>By the time I did the analysis toybox already had cat, chroot, dmesg, false, +kill, ln, losetup, ls, mkdir, mkfifo, readlink, rm, switch_root, sleep, sync, +true, and uname.</p> + +<p>The low hanging fruit is cpio, dd, ps, mv, and pivot_root.</p> + +<p>The "kinit" command is another gratuitous rename, it's init running as PID 1. +The halt, poweroff, and reboot commands work with it.</p> + +<p>I've got mount and umount queued up already, fstype and nfsmount go with +those. (And probably smbmount and p9mount, but this hasn't got one. Those +are all about querying for login credentials, probably workable into the +base mount command.)</p> + +<p>The ipconfig command here has a built in dhcp client, so it's ifconfig +and dhcpcd and maybe some other stuff.</p> + +<p>The resume command is... weird. It finds a swap partition and reads data +from it into a /proc file, something the kernel is capable of doing itself. +(Even though the klibc author +<a href=http://www.zytor.com/pipermail/klibc/2006-June/001748.html>attempted +to remove</a> that capability from the kernel, current kernel/power/hibernate.c +still parses "resume=" on the command line). And yet various distros seem to +make use of klibc for this> +Given the history of swsusp/hibernate (and +<a href=http://lwn.net/Articles/333007>TuxOnIce</a> +and <a href=http://lwn.net/Articles/242107>kexec jump</a>) I've lost track +of the current state of the art here. Ah, Documentation/power/userland-swsusp.txt +has the API docs, and <a href=http://suspend.sf.net>here's a better +tool</a>...</p> + +<p>So the list of things actually in klibc are:</p> + +<blockquote><b> +<span id=klibc_cmd /> +cat chroot dmesg false kill ln losetup ls mkdir mkfifo readlink rm switch_root +sleep sync true uname + +cpio dd ps mv pivot_root +mount nfsmount fstype umount +sh gunzip gzip zcat +kinit halt poweroff reboot +ipconfig +resume +</span> </b></blockquote> <hr /> +<a name=sash /> +<h2>Stand-Alone Shell</h2> + +<p>Wikipedia has <a href=http://en.wikipedia.org/wiki/Stand-alone_shell>a good +summary of sash</a>, with links. The original Stand-Alone Shell project reached +a stopping point, and then <a href=http://www.baiti.net/sash>"sash plus +patches"</a> extended it a bit further. The result is a megabyte executable +that provides 40 commands.</p> + +<p>Sash is a shell with built-in commands. It doesn't have a multiplexer +command, meaning "sash ls -l" doesn't work (you have to go "sash -c 'ls -l'"). +</p> + +<p>The list of commands can be obtained via building it and doing +"echo help | ./sash | awk '{print $1}' | sed 's/^-//' | xargs echo", which +gives us:</p> + +<blockquote><b> +alias aliasall ar cd chattr chgrp chmod chown cmp cp chroot dd echo ed exec +exit file find grep gunzip gzip help kill losetup losetup ln ls lsattr mkdir +mknod more mount mv pivot_root printenv prompt pwd quit rm rmdir setenv source +sum sync tar touch umask umount unalias where +</b></blockquote> + +<p>Plus sh because it's a shell. A dozen or so commands can only sanely be +implemented as shell builtins (alias aliasall cd exec exit prompt quit setenv +source umask unalias), where is an alias for which, and at triage time toybox +already has chgrp, chmod, chown, cmp, cp, chroot, echo, help, kill, losetup, +ln, ls, mkdir, mknod, printenv, pwd, rm, rmdir, sync, and touch.</p> + +<p>This leaves:</p> + +<blockquote><b> +<span id=sash_cmd> +ar chattr dd ed file find grep gunzip gzip lsattr more mount mv pivot_root +sh sum tar umount +</span> +</b></blockquote> + +<p>(For once, this project doesn't include a fork of gzip, instead +it sucks in -lz from the host.)</p> + +<hr /> +<a name=sbase /> +<h2>sbase:</h2> + +<p>It's <a href=http://git.suckless.org/sbase>on suckless</a>. So far it's +implemented:</p> + +<blockquote><p> +<span id=sbase_cmd /> +basename cat chmod chown cksum cmp cp date dirname echo false fold grep head +kill ln ls mc mkdir mkfifo mv nl nohup pwd rm seq sleep sort tail tee test +touch true tty uname uniq wc yes +</span> +</p></blockquote> + +<p>And has a TODO list:</p> + +<blockquote><p> +<span id=sbase_cmd /> +cal chgrp chvt comm cut df diff du env expand expr id md5sum nice paste +printenv printf readlink rmdir seq sha1sum split sync test tr unexpand unlink +who +</span> +</p></blockquote> + +<p>At triage time, of the first list I still need to do: fold grep mc mv nl. Of +the second list: diff expr paste printf split test tr unexpand who.</p> + +<hr /> +<a name=s6 /> +<h2>s6</h2> + +<p>The website <a href=http://skarnet.org/software/>skarnet</a> has a bunch +of small utilities as part of something called "s6". This includes the +<a href=http://skarnet.org/software/s6-portable-utils>s6-portabile-utils</a> +and the <a href=http://skarnet.org/software/s6-linux-utils>s6-linux-utils</a>. +</p> + +<p>Both packages rely on multiple bespoke external libraries without which +they can't compile. The source is completely uncommented and doesn't wrap at +80 characters. Doing a find for *.c files brings up the following commands:</p> + +<blockquote><b> +<span id=s6> +basename cat chmod chown chroot clock cut devd dirname echo env expr false +format-filter freeramdisk grep halt head hiercopy hostname linkname ln +logwatch ls maximumtime memoryhog mkdir mkfifo mount nice nuke pause +pivotchroot poweroff printenv quote quote-filter reboot rename rmrf sleep +sort swapoff swapon sync tail test touch true umount uniquename unquote +unquote-filter update-symlinks +</span> +</b></blockquote> + +<p>Triage: memoryhog isn't even listed on the website nor does it have +a documentation file, clock seems like a subset +of date, devd is some sort of netlink wrapper that spawns its command line +every time it gets a message (maybe this is meant to implement part of +udev/mdev?), format-filter is sort of awk's '{print $2}' function split out +into its own command, hiercopy a subset of "cp -r", maximumtime is something +I implemented as a shell script (more/timeout.sh in Aboriginal Linux), +nuke isn't the same as klibc (this one's "kill SIG -1" only with hardwared +SIG options), pause is a program that literally waits to be killed (I +generally sleep 999999999 which is a little over 30 years), +pivotchroot is a subset of switch_root, rmrf is rm -rf...</p> + +<p>I see "nuke" resurface, and if "rmrf" wasn't also here I might think +klibc had a point.</b> + +<blockquote> +basename cat chmod chown chroot cut dirname echo env expr false +freeramdisk grep halt head hostname linkname ln +logwatch ls mkdir mkfifo mount nice +pivotchroot poweroff printenv quote quote-filter reboot rename sleep +sort swapoff swapon sync tail test touch true umount uniquename unquote +unquote-filter update-symlinks +</blockquote> + + +<hr /> +<a name=nash /> +<h2>nash:</h2> + +<p>Red Hat's nash was part of its "mkinitrd" package, replacement for a shell +and utilities on the boot floppy back in the 1990's (the same general idea +as BusyBox, developed independently). Red Hat discontinued nash development +in 2010, replacing it with dracut (which collects together existing packages, +including busybox).</p> + +<p>I couldn't figure out how to beat source code out of +<a href=http://pkgs.fedoraproject.org/git/mkinitrd>Fedora's current git</a> +repository. The last release version that used it was Fedora Core 12 +which has <a href=http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/12/Fedora/source/SRPMS/mkinitrd-6.0.93-1.fc12.src.rpm>a source rpm</a> +that can be unwound with "rpm2cpio mkinitrd.src.rpm | cpio -i -d -H newc +--no-absolute-filenames" and in there is a mkinitrd-6.0.93.tar.bz2 which +has the source.</p> + +<p>In addition to being a bit like a command shell, the nash man page lists the +following commands:</p> + +<blockquote><p> +access echo find losetup mkdevices mkdir mknod mkdmnod mkrootdev mount +pivot_root readlink raidautorun setquiet showlabels sleep switchroot umount +</p></blockquote> + +<p>Oddly, the only occurrence of the string pivot_root in the nash source code +is in the man page, the command isn't there. (It seems to have been removed +when the underscoreless switchroot went in.)</p> + +<p>A more complete list seems to be the handlers[] array in nash.c:</p> + +<blockquote><p> +access buildEnv cat cond cp daemonize dm echo exec exit find kernelopt +loadDrivers loadpolicy mkchardevs mkblktab mkblkdevs mkdir mkdmnod mknod +mkrootdev mount netname network null plymouth hotplug killplug losetup +ln ls raidautorun readlink resume resolveDevice rmparts setDeviceEnv +setquiet setuproot showelfinterp showlabels sleep stabilized status switchroot +umount waitdev +</p></blockquote> + +<p>This list is nuts: "plymouth" is an alias for "null" which is basically +"true" (which thie above list doesn't have). Things like buildEnv and +loadDrivers are bespoke Red Hat behavior that might as well be hardwired in +to nash's main() without being called.</p> + +<p>Instead of eliminating items +from the list with an explanation for each, I'm just going to cherry pick +a few: the device mapper (dm, raidautorun) is probably interesting, +hotplug (may be obsolete due to kernel changes that now load firmware +directly), and another "resume" ala klibc.</p> + +<p>But mostly: I don't care about this one. And neither does Red Hat anymore.</p> + +<hr /> +<a name=beastiebox /> +<h2>Beastiebox</h2> + +<p>Back in 2008, the BSD guys vented some busybox-envy +<a href=http://beastiebox.sourceforge.net>on sourceforge</a>. Then stopped. +Their repository is still in CVS, hasn't been touched in years, it's a giant +hairball of existing code sucked together. (The web page says the author +is aware of crunchgen, but decided to do this by hand anyway. This is not +a collection of new code, it's a katamari of existing code rolled up in a +ball.)</p> + +<p>Combining the set of commands listed on the web page with the set of +man pages in the source gives us:</P> + +<blockquote><p> +[ cat chmod cp csh date df disklabel dmesg echo ex fdisk fsck fsck_ffs getty +halt hostname ifconfig init kill less lesskey ln login ls lv mksh more mount +mount_ffs mv pfctl ping poweroff ps reboot rm route sed sh stty sysctl tar test +traceroute umount vi wiconfig +</p></blockquote> + +<p>Apparently lv is the missing link ed and vi, copyright 1982-1997 (do not +want), ex is another obsolete vi mode, lesskey is "used to +specify a set of key bindings to be used with less", and csh is a shell they +sucked in, [ is an alias for test. Several more bsd-isms that don't have Linux +equivalents (even in the ubuntu "install this package" search) are +disklabel, fsck_ffs, mount_ffs, and pfctl. And wiconfig is a wavelan interface +network card driver utility. Subtracting all that and the commands toybox +already implements at triage time, we get:</p> + +<blockquote><p> +<span id=beastiebox_cmd> +fdisk fsck getty halt ifconfig init kill less mksh more mount mv ping poweroff +ps reboot route sed sh stty sysctl tar test traceroute umount vi +</span> +</p></blockquote> + +<p>Not a hugely interesting list, but eh.</p> + +<hr /> <h2>Requests:</h2> <p>The following additional commands have been requested by various users:</p> diff --git a/www/status.html b/www/status.html index 2e9e5732..709efc0c 100755 --- a/www/status.html +++ b/www/status.html @@ -3,18 +3,19 @@ <h1>How are we doing on implementing stuff so far?</h1> -<p>Legend: {android} [posix] (development) <lsb> other <strike>implemented</strike></p> +<p>Legend: [posix] <lsb> (development) {android} =klibc= #sash# @sbase@ +*beastiebox* +request+ other <strike>implemented</strike></p> <!--#include file="status.gen" --> -<h1>The current status of toybox (as of 0.4.0 release):</h1> +<h1>The current status of toybox (as of 0.4.1 release):</h1> <h3><u>These commands are reasonably finished</u>:</h3> <blockquote><b> <span id=ready> basename cal cat catv chgrp chmod chown chvt cksum clear cmp comm count -df dirname dmesg dos2unix echo env false gethostname killall link logname ls -lsmod md5sum mkdir +df dirname dmesg dos2unix echo env false gethostname killall link logname +losetup ls lsmod md5sum mkdir mkfifo mkswap mktemp nice nohup od oneit pwd realpath rev rm seq setsid sha1sum sleep sort swapoff swapon sync tac taskset tee true truncate tty uniq unix2dos unlink usleep wc which whoami yes @@ -32,7 +33,7 @@ rmmod switch_root tail touch uname unshare uptime vconfig vmstat w who xargs <h3><u>Work on these is underway, but not usable yet:</u></h3> <blockquote><b> -bzip2 mke2fs more mount umount losetup sed tar sh grep/egrep/fgrep +bzip2 mke2fs more mount umount sed tar sh grep/egrep/fgrep </blockquote></b> <p>See <a href="todo.txt">the todo list</a> for details.</p> |