aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2014-04-16This version of fold fixes major bugs (infinite loop, overflow) and adds an ↵0.4.8Samuel Holland
option for un/refolding text.
2014-04-16Revert lots of half-finished local debris I didn't mean to check in with ↵Rob Landley
Isaac's roadmap update. Mercurial's "import" command is still broken, committing local tree changes to files that weren't even touched by the patch because the hg developers inisist, when I point out how stupid it is, that they meant to do that. (hg record can do hunks, but import can't even track _files_.)
2014-04-16Probe for the existence of FIFREEZE and make fsfreeze depend on it.Rob Landley
2014-04-13A tool to reset the terminal.Ashwini Sharma
This implementation depends on the _stty_ 'sane' settings.
2014-04-13An issue in ifconfig while verifying the HW Address, which is assumed to be ↵Ashwini sharma
of the format __C2:79:38:95:CD:AB__ but can be of form __C2:79:38:95:D:A__. In this case the HW address is reported as bad.
2014-04-13An implementation of __printf__ is attached.Ashwini Sharma
2014-04-13iconv cleanup.Rob Landley
2014-04-13iconv is actually something I'm missing on my current musl based system.Felix Janda
Attached is a simple version using the libc's iconv.
2014-04-12getty: build fix, clean up messages, simplify codeIsaac Dunham
build fix: xmsprintf has been renamed shorten and lowercase the error messages use xexec() instead of execlp(); perror_exit(); remove redundant variable setting
2014-04-12roadmap: describe glibc commands.Isaac Dunham
Some glibc commands are irrelevant because they're for functionality that is excluded from musl (mtrace, rpc*, localedef, iconvconfig, nscd). getconf and catchsegv look like candidates for the development toolchain; locale and iconv were already triaged. getent is pretty lame, but it and the timezone stuff (tzselect zic zdump) are the only new possibly interesting commands.
2014-04-10Fix date setting, and fluff out help text a bit.Rob Landley
2014-04-09modprobe: cleanup, incorporate Ashwini's fix for alias loadingIsaac Dunham
Move <fnmatch.h> to toys.h, since it's POSIX. Avoid duplicating code in an if/else block. Terser error messages, spelling. Don't always print the state.
2014-04-09Bugfix: if $TERM and friends aren't set, putenv() got passed a NULL.Rob Landley
2014-04-09Modprobe from Madhur Verma and Kyungwan Han.Rob Landley
2014-04-09A getty implementation from Sandeep Sharma and Kyungwan Han.Rob Landley
2014-04-03openvt tries opening several devices to get an fd that points to the current ↵Isaac Dunham
console, without a need for read or write permissions. O_RDWR implies that both O_RDONLY and O_WRONLY would work, so skip it. Reindent.
2014-04-03Here is a basic implementation of fold[0]. It does not support multibyte ↵Samuel Holland
characters, though that would probably just require more switch cases.
2014-04-02Decided not to go with the sflate implementation of deflate/inflate. The ↵Rob Landley
decompression side's already reimplemented in compress, and I'm working on compression side.
2014-04-02In ifconfig.c, there is a glitch in function get_addrinfo() when computing ↵Ashwini Sharma
the prefix length.
2014-04-01New toy fsfreeze, from Isaac Dunham, plus minor cleanups.Rob Landley
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, ↵Rob Landley
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix.
2014-03-29find: clarify and expand the help for find -typeIsaac Dunham
2014-03-28Add help -a (to show all commands) and -h (to produce HTML output).Rob Landley
2014-03-27Fix cpio -it: don't close(fd) unless we opened it.Isaac Dunham
2014-03-26More cpio bugfixes from Isaac Dunham.Rob Landley
Fix FLAG_o to actually be 1 like the comment says, don't try to strlen(name) before reading it, pad TRAILER!!! entry correctly.
2014-03-25Promote cpio out of pending.Rob Landley
After some waffling I put it in "posix", even though it was last specified in susv2 (where it was the obsolete 6 byte header entries predating susv4). LSB specifies it, including the 8 byte header fields, but for the actual command it just references SUSv2. (LSB isn't so much a standard as Red Hat's "notes to self".)
2014-03-25Several cpio bugfixes spotted by Isaac Dunham.Rob Landley
2014-03-24Most of the remaining cpio cleanup.Rob Landley
2014-03-16Clarify an unclear comment pointed out by Steve Long.Rob Landley
2014-03-15Next round of cpio cleanup.Rob Landley
2014-03-13Cleanup cpio: use getline() instead of fgets(), have getline() allocate its ↵Rob Landley
own memory (instead of using toybuf), use perror_msg() instead of lower level verror_msg() (which is really an internal function needed to implement perror_msg()), don't set execute bits on created archive.
2014-03-13Cleanup cpio: fiddle with help text, make option parsing require/exclude ↵Rob Landley
-iot combinations, move loopfiles_stdin() down after write_cpio_member() so we can hardwire it instead of using a function pointer that only ever has one value.
2014-03-11Patch from Isaac Dunham to add cpio -d, with a few tweaks by me.Rob Landley
2014-03-11Move mkpathat to lib, remove redundant function used by patch.Rob Landley
2014-03-11Factor out mkpathat.Rob Landley
2014-03-09Promote freeramdisk from pending to other, default y.Rob Landley
2014-03-09Cleanup freeramdisk: tabs to 2 spaces, square brackets for option name, do ↵Rob Landley
optional cleanup under if (CFG_TOYBOX_FREE) guard.
2014-03-09Please find the patches attached herewith for adding 3 new commands -Vivek Bhagat
1. freeramdisk - If we unmount or detach the RAM disk based file system the Linux Kernel will not free the allocated memory associated with the RAM device. This can be useful if one wants to mount this device again: All data will be preserved. If we need to free the memory back to the Kernel, one can use the command: "toybox freeramdisk <RAM device>". 2. openvt - Successfully opens a new virtual terminal as mentioned with -c option otherwise search and open next available VT. with -s option it switches to new VT with -s -w option, it switch back successfully to originating VT. 3. deallocvt - Deallocate specified virtual teminal. if no virtual terminal is specified, it deallocates all unused VT.
2014-02-28Fix two bugs reported by Ashwini Sharma.Rob Landley
2014-02-22Add -H option to cksum (hex output), fix to use FLAG macros.Rob Landley
2014-02-22Add crc code: zcat now works.Rob Landley
2014-02-21Update inflate code: fixed tables, bugfixes, zcat alias.Rob Landley
2014-02-16Various cleanups found by Tom Sparrow's static analysis.Rob Landley
2014-02-13Ok, _maybe_ I'm rewriting deflate from scratch rather than cleaning up the ↵Rob Landley
existing one, but you can't prove it. I plead the fifth, third, twelvefth, twentieth, twenty-first, twenth-fith, and twenty-seventh.
2014-02-10Not buying it, eh?Rob Landley
2014-02-08Nothing to see here, move along.Rob Landley
2014-02-07Move bunzip2 logic from lib into bzcat.Rob Landley
2014-02-04Tweak help text.Rob Landley
2014-02-04Add /prefix netmask support to ifconfig, ala "ifconfig eth0 192.168.1.42/28"Rob Landley
2014-02-02gzip: alphebetize help entries and remove trailing literal \n, check for ↵Rob Landley
command line option groups, move len/dist tables to GLOBALS and calculate instead of including literal tables, collate enum and typedef, convert main to toybox option parsing.