Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-27 | Refactor terminal querying. | Rob Landley | |
2013-10-13 | watch: Add support for -e option, remove memory leak and deal with not-wide ↵ | Elie De Brauwer | |
terminals | |||
2013-10-26 | I noticed the user count was missing and added this, borrowing a bit of code ↵ | Jeroen van Rijn | |
from toys/posix/who.c. | |||
2013-10-23 | Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else ↵ | Rob Landley | |
entirely. | |||
2013-10-17 | Minor cleanup of reboot | Rob Landley | |
2013-10-01 | New toy: reboot/halt/poweroff | Elie De Brauwer | |
2013-10-16 | useradd, groupadd, and mkpasswd submitted by Ashwini Sharma. | Rob Landley | |
2013-10-16 | Minor lib/password.c cleanup, described on the list. (Inline two functions.) | Rob Landley | |
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-10-15 | Teach scripts/test.sh to call scripts/single.sh. | Rob Landley | |
2013-10-14 | I've finally gotten 'cpio' into a shape where it could be useable. | Isaac Dunham | |
This version can archive and extract directories, sockets, FIFOs, devices, symlinks, and regular files. Supported options are -iot, -H FMT (which is a dummy right now). It only writes newc, and could read newc or newcrc. This does NOT implement -d, which essentially is equivalent to mkdir -p $(dirname $FILE) for every file that needs it. Hard links are not supported, though it would be easy to add them given a hash table or something like that. I also have not implemented the "<n> blocks" output on stderr. If desired, I can add it pretty simply. There is one assumption this makes: that the mode of a file, as mode_t, is bitwise equivalent to the mode as defined for the cpio format. This is true of Linux, but is not mandated by POSIX. If it is compiled for a system where that is false, the archives will not be portable. | |||
2013-10-08 | Move blkid out of pending, default y. | Rob Landley | |
2013-10-08 | Cleanup chvt | Rob Landley | |
2013-10-08 | Cleanup blkid | Rob Landley | |
2013-10-07 | blkid cleanup: more whitespace (including fixing a strange unindented if ↵ | Rob Landley | |
block), convert strange fstype inclusion to OLDTOY(), use "<1" arg so calling with no arguments doesn't hang, convert typedef to normal struct. | |||
2013-10-07 | blkid cleanup: Convert tabs to spaces. | Rob Landley | |
2013-10-07 | Add blkid.c | Brad Conroy | |
I finally figured out the NTFS labels after reading a rant on how UTF-8 rocks and how MS switched to UTF16 or UCS1 or whatever. The reason I couldn't grep for the label (mine was "myntfs") was that it is stored as "m\0y\0n\0t\0f\0s\0\0" - found another good use for hexdump :) Notes: I only have x86 to test on, so there are a couple of places that may need bswap_{16,32} for endianness. I used a 65k buf instead of toybuf (4k) for simplicity, but tried to organize it for toybuf if wanted. I have info on more fs types, to patch with after review. blkid does output for all devices if 0 args -> read /proc/partitions? | |||
2013-10-06 | Whitespace tweaks and remove unused variable. | Rob Landley | |
2013-10-06 | top submitted by Ashwini Sharma | Rob Landley | |
2013-10-06 | It's not a problem to exactly fill up the buffer with a run if the next ↵ | Rob Landley | |
symbol is the terminating symbol. Fixes https://jira.cyanogenmod.org/browse/CYAN-1896 | |||
2013-10-04 | Typo: fdisk != fsck. | Rob Landley | |
2013-10-03 | Switch flag generation from shell to C. | Rob Landley | |
This should actually generate FLAG_longopt 0 #defines for disabled bare longopts (ala ls without --color). Put temporary executables under "generated" (including instlist for install). | |||
2013-09-22 | traceroute from Ashwini Sharma | Rob Landley | |
2013-09-22 | Fix generated/oldtoys.h to contain option strings with USE() macros in them. | Rob Landley | |
2013-09-21 | Update lib/args.c docs. | Rob Landley | |
2013-09-21 | Tweak args (yank old + that never worked, rename | to +), and add uname -o ↵ | Rob Landley | |
as a synonym for -s. | |||
2013-09-21 | Fluff out option parsing documentation, add another DEBUG test. | Rob Landley | |
2013-09-16 | Fix -t c0 and -J as reported by heehooman at gmail on the list. | Rob Landley | |
Also fix up help text, and hook up -c. | |||
2013-09-18 | Release announcement on web page. | Rob Landley | |
2013-09-11 | Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. ↵0.4.6 | Rob Landley | |
(Fix it.) | |||
2013-09-10 | First pass of cut cleanup, and make test script slightly happier with the ↵ | Rob Landley | |
concept of 80 character lines. | |||
2013-09-10 | Remove two unused functions and shrink another. | Rob Landley | |
2013-09-09 | Cleanup on acpi, switch to default y. | Rob Landley | |
2013-09-09 | I got tired of trying to guess how much terminal time I could get in on my ↵ | Isaac Dunham | |
phone, so here's a basic acpi. I could probably add -c fairly easily (print type, cur_state, and max_state) -t is more difficult, since temperatures are reported in at least 1000 * degrees F and 10 * degrees C. | |||
2013-09-09 | Minor cleanups. | Rob Landley | |
2013-09-09 | Don't write a zero past end of toybuf with large -d value. | Rob Landley | |
2013-09-09 | Minor cosmetic tweaks to expand. | Rob Landley | |
Working my way through the to-review list that predates the "pending" directory. This gets expand off my to-review list. (Proof that "need to review" doesn't mean it's in bad shape, this command was fine. Changed capitalization in the help text because I'm trying to have "user supplies this value" be all caps, switched a read() to readall() although I'm not sure modern kernels actually allow -EINTR to generate zero length reads anymore, and since most of the loopfiles() target functions are called do_commandname() changed the name to that just so it's regular. None of the changes are actually important. :) | |||
2013-09-09 | Adjust patch to use dlist_pop() | Rob Landley | |
2013-09-09 | Redo tail closer to the original design. Add more tests for large data sets. ↵ | Rob Landley | |
(Still no -f support yet.) | |||
2013-09-09 | Fix [-group] argument dropping. | Rob Landley | |
2013-09-03 | Replace ↵ | Rob Landley | |
for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers. | |||
2013-09-05 | Pending cleanup page, less than half done. Some of it should probably move ↵ | Rob Landley | |
to the code style section. | |||
2013-09-06 | Ashwini Sharma submitted route.c, adding it to pending. | Rob Landley | |
2013-09-06 | Make [-abc] exclude logic clear argument slots when disabling options. | Rob Landley | |
2013-09-06 | Fix for xpidfile spotted by Felix Janda. | Rob Landley | |
2013-09-06 | Missing typecast in recent rm fix. Oops. | Rob Landley | |
2013-09-05 | Allow shipped generated/help.h to still be used, until I rewrite the ↵ | Rob Landley | |
generator in C. | |||
2013-08-30 | make.sh: Fix probing for python2.x and be verbose in error reporting | Elie De Brauwer | |
2013-08-30 | uname: Fix help string | Elie De Brauwer | |
2013-09-05 | env - there were 2 segfaults when run on my Ubuntu 12.04 machine: | Jacek Bukarewicz | |
- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being not NULL when iterating over environment variables - switched xexec to xexec_optargs because command argument is a pointer to optarg which is freed by xexec. |