Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-26 | Fix syntax checking for "if true; then echo hello | fi", fix some tests, | Rob Landley | |
slightly more elaborate debug output. | |||
2020-05-26 | First pass of adding RTNetlink setroute support | Eric Molitor | |
2020-05-26 | Remove send_nlrtmsg embedding call into display_route as it is only used here | Eric Molitor | |
2020-05-26 | Use perror_exit to replace exit calls. | Eric Molitor | |
2020-05-24 | Cleanup openvt. | Rob Landley | |
2020-05-19 | Add RTA_CACHEINFO support and resolve remaining todo items in display_routes | Eric Molitor | |
2020-05-17 | Merge IPv6 support into display_routes | Eric Molitor | |
2020-05-17 | Don't ask for line continuation when ending with & | Rob Landley | |
2020-05-17 | Add support for mss, win and irtt to new netlink based display_routes | Eric Molitor | |
2020-05-17 | Refactor display_routes to use rtnetlink | Eric Molitor | |
2020-05-17 | Add xsend, xrecv and send_nlrtmsg | Eric Molitor | |
2020-05-16 | Fix address family help text | Eric Molitor | |
2020-05-11 | route should be in sbin | Eric Molitor | |
2020-05-08 | Inline do_main(), remove second argument of get_arg() that's always 0 | Rob Landley | |
(one caller fed in N_TTY which is 0). | |||
2020-05-08 | stty.c: fix interpreting output of stty -g | Ethan Sommer | |
move case checking for stty -g output as input above case checking for an int argument, so atoi doesn't cause "500:5:bf:8a3b:3"... to be considered an int argument of 500 | |||
2020-05-05 | Link to bash man page. | Rob Landley | |
2020-05-05 | Remove leftover increment and move variable clear after error report. | Rob Landley | |
2020-05-04 | Restore error message for command not found, don't let ctrl-C kill shell. | Rob Landley | |
2020-05-03 | Fix "make root && chroot root/host/fs /init" with glibc host compiler. | Rob Landley | |
2020-05-03 | Next round of shell work. | Rob Landley | |
2020-04-27 | Add gratuitous typecast to work around insane warning. | Rob Landley | |
(long is 32 bits on 32 bit systems, just use long already) | |||
2020-04-27 | Redo toysh variable expansion plumbing to start ${} (variable expansion can | Rob Landley | |
now return error), inline utf8spnc and merge_arg(), unify "break" logic, fix "continue" and "done; done", fix cd not to expand arguments twice | |||
2020-04-23 | fdisk: fix -Wsizeof-pointer-memaccess, switch to FLAG() macros | Ethan Sommer | |
2020-04-16 | Promote rtcwake. | Rob Landley | |
2020-04-16 | Minor cleanup. | Rob Landley | |
2020-04-16 | Promote blkdiscard. | Rob Landley | |
2020-04-16 | Cleanup blkdiscard. | Rob Landley | |
2020-04-16 | Weed-whack a few warnings out of pending so allyesconfig is less noisy. | Rob Landley | |
2020-04-15 | fdisk: change sector_t to unsigned long long to fix -Wformat | Ethan Sommer | |
2020-04-15 | ip: appease clang warnings | Ethan Sommer | |
fix false positive -Wformat-security by passing string literal directly to error_exit, instead of assigning it to a variable and passing that fix -Wparentheses-equality by removing extra parentheses | |||
2020-04-15 | groupadd: fix -Wformat and switch to FLAG() macros | Ethan Sommer | |
2020-04-15 | Based on a patch from Ethan Sommer: silence warning and convert to FLAG() | Rob Landley | |
2020-04-14 | Implement $'' | Rob Landley | |
2020-04-14 | Start of $- and set flags support. | Rob Landley | |
2020-04-12 | Fix sh -c 'CONSOLE="$(</sys"' segfault (don't advance twice after quote). | Rob Landley | |
2020-04-12 | Add shift and $[], fix exec. | Rob Landley | |
2020-04-09 | blkdiscard: new command | Patrick Oppenlander | |
2020-04-09 | Fix "else" loop. | Rob Landley | |
2020-04-08 | Implement ! and $$ and fix quoted "$(subshell)" | Rob Landley | |
2020-04-06 | Pass more tests, and detect ELF files (don't try to run them as shell scripts). | Rob Landley | |
Don't fall back to stdin if we can't find shell script on command line. | |||
2020-04-04 | Fix lifetime rules in bracket expansion. | Rob Landley | |
2020-04-02 | Move #include <linux/*.h> into individual commands, initialize struct | Rob Landley | |
with memset() instead of = {}, and move TT.alarm to local variable. | |||
2020-04-02 | Fix macOS build. | Elliott Hughes | |
I'd put the rtc_wkalarm struct in the globals to get it zeroed for free, but since there's no such type on macOS, that breaks the build. Rather than define a bogus struct in portability.h, I've gone for making it an explicitly-zeroed local. (And I've sorted the locals largest-first.) Note that the use of struct rtc_time as if it was the same as struct tm in this code follows the existing code in hwclock, but I worry that we're going to have trouble with that because of the extra tm_gmtoff and tm_zone fields in struct tm. But that's a worry for another day... This patch also removes the CONFIG_CP_PRESERVE from the macos_miniconfig, since that option was removed a while back. | |||
2020-04-02 | More shell plumbing. Redo of variable storage, add export. | Rob Landley | |
2020-04-01 | Add rtcwake. | Elliott Hughes | |
Some of the bringup folks are debugging RTC issues and asked for this. Rather than duplicate the weird xtzset dance with mktime, I've factored that out into a new xmktime that takes a boolean for whether to use UTC or local time. Otherwise, the slight cleanup of hwclock.c is entirely optional. The only functional change there is that util-linux 2.34's hwclock uses ISO time format, which is the usual toybox preference anyway, so I've switched it over to that rather than ctime(3). Bug: http://b/152042947 | |||
2020-03-18 | Next round of shell work. | Rob Landley | |
Rethink syntax_err a bit. Try to track top level shell pid for $$ including passing it to nommu subshells. Reset hfd more often so it doesn't climb endlessly. Leak fewer filehandles and detect more filehandle exhaustion errors. Replace skip_quote() with a second mode for parse_word(). Fix $() and implement $(<input). | |||
2020-03-16 | vi: implement H/M/L. | Elliott Hughes | |
Turns out I move around using these a lot too. I do tend to have very tall terminals... | |||
2020-03-16 | vi: semi-functional ^E/^U and ^F/^B. | Elliott Hughes | |
The forward movement seems okay (no worse than the equivalent arrow key movement), but I haven't yet worked out how to move the cursor back when necessary. Also fix the location of the cursor in ex mode, and stop showing ex commands in bold. | |||
2020-03-13 | Pass a few more test suite entries. | Rob Landley | |
2020-03-13 | Fix "eval x=y", add exec, only prompt if stdin is a tty, search $PATH for script | Rob Landley | |