aboutsummaryrefslogtreecommitdiff
path: root/toys/example
AgeCommit message (Collapse)Author
2018-04-03Finish renameing test_* to demo_* in example directories and tweak README.Rob Landley
(This way "make test_sed" isn't in the same namespace as "make test_scankey".)
2018-03-26Rename demo_human_readable.c->demo_number.c and have it do atolx() too.Rob Landley
2018-02-17Add RFC link to the examples.Rob Landley
2017-10-31Rename test_*.c to demo_*.c (because "make test_$CMD" means something already),Rob Landley
fluff out README, and add a comment to hostid explaining its deprecation.
2017-09-05Tweak utf8towc() to return -1 earlier sometimes (instead of -2), and add testRob Landley
program to compare against libc output.
2016-12-26Move hostid to toys/example and have it "default n".Rob Landley
A "globally unique 32 bit number" is a concept the Linux world has outgrown.
2016-07-30Single builds skip commands with 0 in the install location soRob Landley
"make test_scankey" didn't work.
2016-03-06Fix warning (toys.optflags is a long long now).Rob Landley
2016-01-10Make cursor left/right change sort type in iotop.Rob Landley
2016-01-07Make scan_key() specify timeout in miliseconds, split out terminal_probesize(),Rob Landley
add function key definitions and shift/ctrl/alt cursor keys.
2015-12-27Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY,Rob Landley
and add test_scankey.
2015-12-10Expand toys.optargs to 64 bits so people adding more options to ls don't run ↵Rob Landley
out. Keep the low 32 bits of FLAG_x constants as 32 bit numbers so that at least on little endian platforms it's still normal 32 bit math outside of lib/args.c.
2015-08-17Test for human_readable()Rob Landley
2014-09-26Separate more commands so single.sh can build them standalone.Rob Landley
2014-04-23Add example directory, move hello.c into it, add skeleton.c to demonstrate ↵Rob Landley
more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig.