aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-31Add Szabolcs Nagy's deflate/inflate code from git://git.suckless.org/flateRob Landley
Confirmed with him on IRC it's ok to use under toybox license, glued the files together and hammered square peg into round hole, no other changes yet.
2014-01-29More elaborate help text collating logic.Rob Landley
2014-01-28init: don't use VT_OPENQRY.Isaac Dunham
The original codepath checks if there is a VT available, and if there isn't sets TERM to vt102 (unless TERM is set to something other than "linux"). Otherwise, TERM is set to "linux" if it is not already set. However, we can rely on getty/... to set TERM if "linux" is not suitable. This has the benefit of dropping a slightly messy section.
2014-01-28Two changes to shut up GCC:Isaac Dunham
* __GLIBC__ was checked unconditionally; this made for a very messy build on musl. * int fd in chvt is always initialized; GCC 3.4 does not recognize this.
2014-01-22-Eradicate (char*) casts for strings.Isaac Dunham
-Don't panic on failure to write messages. -Don't panic on failure to fork; sleep an extra second instead. -s/defualt/default/g -Inline a couple functions called once. (Don't inline inittab_parsing because it is too large).
2014-01-20Collate usage: lines in help text.Rob Landley
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in.
2014-01-15Help text, collate usage blocks (badly).Rob Landley
2014-01-05Whitespace changes, and collate a couple declarations/first assignment.Rob Landley
2014-01-04Change header and pages so each page has its own title.Rob Landley
2014-01-03Replace python help converter with C implementation.Rob Landley
2014-01-01More work on the cleanup page, partway through describing ifconfig.Rob Landley
2014-01-01Add new paragraphs on trading off different _kinds_ of simplicity (easy for ↵Rob Landley
machine to run vs easy for humans to follow), and why comments aren't a substitute for good code.
2014-01-01The README trailed off into unfinished confusion at the end, fix up the ↵Rob Landley
obvious parts.
2013-12-31A few more commands in request section of roadmap.Rob Landley
2013-12-31Link to a couple more things from nav bar.Rob Landley
2013-12-29Add -zZ support to grep (NUL delimited input/output).Rob Landley
2013-12-28Cosmetic tweak.Rob Landley
2013-12-27Cleanup vmstat. Procs, memory, and cpu are reading right, the others not so ↵Rob Landley
much.
2013-12-27Pass through all the readfile() arguments from xreadfile().Rob Landley
2013-12-27Noticed a few differences from standard help messages, plus a smallIsaac Dunham
problem with the port number handling: when no port was specified, it failed. The solution ended up dropping a couple lines.
2013-12-27Attached is an implementation for ftpget/put commands.Ashwini Sharma
2013-12-27New section on #including header files.Rob Landley
2013-12-26An implementation for brctl (ethernet bridge control).Ashwini Sharma
2013-12-26arping command is implemented.Ashwini Sharma
2013-12-23The recent switch from get_int_value to to atolx_range left routeIsaac Dunham
broken. So here's a patch to switch it to atolx_range as well.
2013-12-23Two more commands (last and more) submitted by Ashwini Sharma.Rob Landley
2013-12-23telnet and telnetd from Ashwini Sharma's guys.Rob Landley
2013-12-23Clean up half-finished blkid.test.Rob Landley
2013-12-23Updating the email id in Copyright.Ashwini Sharma
2013-12-23Attached is an implementation for groupdel.Ashwini Sharma
This is aliased to delgroup, for a requirement at my end. Also lib/password.c is modified to along with.
2013-12-23Pending commands default n.Rob Landley
2013-12-23IPv6 support is added into traceroute command.Ashwini Sharma
traceroute6 is made as an old toy of traceroute.
2013-12-23Fix some issues raised (albeit indirectly) by Isaac Dunham.Rob Landley
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there.
2013-12-22Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 ↵Rob Landley
netmask" would segfault. Replace it with an error_exit(), see list for aesthetic issue this raises re: help text.
2013-12-22Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.)Rob Landley
2013-12-22Promote su from pending to lsb.Rob Landley
2013-12-22Cleanup su.Rob Landley
2013-12-19killall: fix return code, improve error reporting, avoid buffer overflow.Rob Landley
2013-12-19Don't permute toys.optargs, cleanup code (xexec()) can free it.Rob Landley
2013-12-19Older python spit --version to stdout, 2.7 does it to stderr. Of course.Rob Landley
2013-12-19Only define MNT_DETACH for old glibc, portability.h included _before_ ↵Rob Landley
sys/mount.h...
2013-12-19toynet.h went away, missed a file...Rob Landley
2013-12-19Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot.Rob Landley
2013-12-19Move names_to_pid from pending to lib.Rob Landley
2013-12-18ln -v support from Ashwini Sharma (comment tweak from me)Rob Landley
2013-12-18Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite ↵Rob Landley
entries.
2013-12-16Fix pidof -o bug aborting output, reported by Ashwini Sharma.Rob Landley
2013-12-08Doing math on void pointers isn't portable, reported by Nathan McSween.Rob Landley
2013-12-08Forgot to set new pending entry to default n.Rob Landley