Rob Landley
|
53b2daab94
Use flag macros and document -rn options.
|
3 years ago |
Rob Landley
|
64aa0f9c06
Minor cleanup.
|
4 years ago |
Rob Landley
|
01503a37c9
Exit code should indicate _which_ signal oneit's exiting due to.
|
5 years ago |
Rob Landley
|
6a73e13d75
Convert more option vars to the new (single letter) coding style.
|
5 years ago |
Rob Landley
|
8e221d54c8
Oneit shouldn't reboot the system if it's not pid 1.
|
5 years ago |
Elliott Hughes
|
eb7e847adc
Be more consistent about periods in help text.
|
7 years ago |
Rob Landley
|
938901d7e2
Switch oneit to use xopen_stdio() for -c (oops) and switch XVFORK() to use
|
7 years ago |
Rob Landley
|
027a73a903
Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,
|
8 years ago |
Rob Landley
|
729401d267
Explain signals in oneit help text.
|
8 years ago |
Rob Landley
|
60d1aea2df
Two large thinkos in oneit: -3 was always enabled and signal numbers were
|
8 years ago |
Rob Landley
|
e6abb61e05
Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and signal handling.
|
9 years ago |
Rob Landley
|
b843203842
Disable xopen's default O_CLOEXEC for oneit.
|
10 years ago |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 years ago |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 years ago |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 years ago |
Rob Landley
|
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
|
12 years ago |