aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2013-08-10Cleanup klogdFelix Janda
Remove #if and inline most functions
2013-08-09New toy: fallocateFelix Janda
2013-08-07This is the preliminary version of lspci text output support (the locationIsaac Dunham
of pci.ids is hard-coded to /usr/share/misc/pci.ids, as found on Debian/Ubuntu). +88 lines in two files, including reformatting, comments, whitespace, and build configuration as well as new code. The changes: -Add library code to look up descriptions. -Add a counter for -n (for the sake of -nn) -Add the file stream "db" to GLOBALS and open it conditionally -Add name fields to bufs -Look up text if enabled and -n is passed never or twice -Print text if lookup succeeded
2013-08-05I have implemented FDISK command.Ashwini Sharma
This supports '-l' option for listing and other options [-bCHS] for giving values like block size, Cylinders, Heads,...
2013-08-04Cleanup grep, make it pass the current test suite.Rob Landley
2013-08-04System V style init, submitted by Kyungwan Han.Rob Landley
2013-08-01Need to specify bool for CP_MV_MORE config symbol to avoid warnings.Rob Landley
2013-08-01ls --color should depend on LS in menuconfig.Rob Landley
2013-08-01Cleanup grep: help text, whitespace, add parentheses.Rob Landley
2013-08-01Found the fault. My method of -w fails sans -E, so I just disallow it.M. Farkas-Dyck
Kernel build never uses -w sans -E anyhow.
2013-07-31Move renice from pending to posix, default y, fix link to standard.Rob Landley
2013-07-31Cleanup renice and implement '|' (required option) in argument parsing.Rob Landley
2013-07-29Add renice.M. Farkas-Dyck
2013-07-27Fix lspci -eFelix Janda
2013-07-26add nlStrake
2013-07-29The attached KLOGD patch is an improved version of the one you have in hg.Ashwini Sharma
This also has a fix for boundary condition crash.
2013-07-25logger: Some cleanupFelix Janda
2013-07-27grep: s/astrcat/x&/gStrake
2003-06-08grep: add -b flagStrake
2003-06-08grep: add -w flagStrake
2013-07-26lspci: use toybuf instead of dynamic memory allocationFelix Janda
2013-07-26I've written an lspci implementation.Isaac Dunham
Currently it supports -emkn; -e is an extension ("class" is a 24-bit number, but lspci only shows 16 bits; one person on the Puppy forums mentioned that they need those last 8 bits). -n is a no-op for compatability with standard lspci.
2013-07-26This removes xz_mode.Isaac Dunham
Mostly outdated comments and unused function parameters/struct members.
2013-07-19Implement testFelix Janda
2013-07-25pgrep and pkill by Madhur Verma,Rob Landley
2013-07-25netstat by Ranjan Kumar.Rob Landley
2013-07-25syslogd by Madhur Verma.Rob Landley
2013-07-23grepStrake
2013-07-22More ifconfig cleanup: Remove if_list, unify get_device_info and ↵Rob Landley
display_ifconfig(), inline another magic constant #define that's only used once.
2013-07-19Another round of ifconfig cleanup.Rob Landley
2013-07-18Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵Rob Landley
free/reuse bug during argument parsing.
2013-07-17make xzcat use loopfiles(), thereby allowing regular usage.Isaac Dunham
2013-07-17xzcat: remove XZ_(PREALLOC|SINGLE), inline xz_dec_bcj_createIsaac Dunham
Because we only use XZ_DYNALLOC, there's a bunch of dead code. This patch removes the #ifdef's and if()s associated with support for multiple modes. single_call was only used to store the mode; it is no longer needed. A little bit of reorganization was needed to reduce the number of prototypes. Documentation associated with dead code was dropped. There are still some relics of multiple modes in the continued presence of "XZ_DYNALLOC" and xz_mode. Additionally, I inlined xz_dec_bcj_create; it was called once. This loses about 125 lines, mostly comments.
2013-07-17Add timeout, factoring out common code from sleep.Rob Landley
2013-07-15klogd, submitted by Ashwini Sharma.Rob Landley
2013-07-12add grepStrake
2013-07-11Eject cleanups.Rob Landley
2013-07-11Eject, by Kyungwan Han.Rob Landley
2013-07-10add paramtype in to the list of tagsIsaac Dunham
2013-07-06This inlines CRC64, and nothing more.Isaac Dunham
The functions involved were called only once.
2013-07-03here's a version of paste. It doesn't deal with wide characters yet andFelix Janda
likely behaves very badly when given too many files or delimiters.
2013-07-01Make ls output major, minor for block devices.0.4.5Rob Landley
2013-06-30First pass at ls --colorRob Landley
2013-06-30Condense ls help text.Rob Landley
2013-06-30Fix another segfault in ls -C when terminal size is 0x0.Rob Landley
2013-06-28modinfo: support -b basedir and -k kernel.release, fix two bugsIsaac Dunham
Add two less-frequently used flags for modinfo; -b specifies an alternate root and -k replaces the output of uname -r. Additionally, avoid a potential overflow in sprintf, and correct an inverted test.
2013-06-23Modinfo cleanups.Rob Landley
Don't use xopen() if you want to iterate through multiple files. Don't abort if unable to open the file, but return error if it can't map it. (And leak the filehandle.) All modinfo_file() actually uses is the filename, no reason to go through dirtree() for that. Nothing is actually _checking_ the return value of modinfo_file(). Avoid global data outside of toy_union. Make sure extension is at end of file (we can add support for more extensions later).
2013-06-23Patch that assumes that the presence of the string ".ko" indicatesIsaac Dunham
use of a path to a module (*.ko.xz and similar included, but not supported).
2013-06-22Implement mv as an extension of cp.Rob Landley
2013-06-18Add pivot_root.Rob Landley