From a617454a04a95c12bf78e682d33cab2195f9fc23 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 10 Jan 2025 03:27:55 -0600 Subject: [PATCH] The new debian release's default vi has syntax highlighting enabled. --- www/news.html | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/www/news.html b/www/news.html index 8054c635..313f9323 100644 --- a/www/news.html +++ b/www/news.html @@ -451,7 +451,7 @@ entries, and merged most KERNEL_CONFIG lines into KCONF. NAME=\"this\ that\" to work right.) Added the legacy NLS dependencies the VFAT driver needs (even though we selected UTF8) to the base config. The init script now tests if stdin is open via -"2>/dev/null <0 || blah" so only does the exec redirect for /dev/console +"2>/dev/null <0 || blah" so only does the exec redirect for /dev/console when necessary. Fixed the .config checker to replace the toybox config when CONFIG_SH=y isn't set, so "make defconfig; mkroot/mkroot.sh" should work now. @@ -909,7 +909,7 @@ file metadata comparisons. (If you're wondering why something so simple should have a function encapsulating the logic, this release also has at least 3 different bugfix commits for thinkos from switching all the commands over to use them instead of doing the test ourselves. All missing/extra ! or -&& vs || level stuff.)

+&& vs || level stuff.)

The exit_signal() handler now blocks signals so sigatexit() won't re-enter the list when it receives two different killer signals. (Since @@ -1056,9 +1056,6 @@ talk to).

One command was removed: catv didn't really serve a purpose (everybody just uses cat -v).

- - -

Features: top can now move the list with the LEFT/RIGHT cursor keys (changing the sort field is now SHIFT LEFT/RIGHT). Added find -samefile, @@ -1142,7 +1139,7 @@ Minor cleanups to ping, fsync, ionice, pmap, truncate, timeout, tty, factor, mount. Went through and replaced \033 with \e in strings (since clang supports it and \033 is just awkward). Added LL to constant 0 in the FLAG macros -to prevent gcc from warning that 0<<32 might produce 0. +to prevent gcc from warning that 0<<32 might produce 0. Moved llvm's -Wno-string-plus-int into configure instead of probing for it, since gcc no longer dies when asked to suppress an unknown warning.

@@ -1674,7 +1671,7 @@ with toysh making it all the way through toyroot's init script.

Toyroot: make root now does what it says on the tin, it builds a bootable toybox-based Linux system using two source -packages (toybox and linux). The trivial version is "make root && sudo chroot +packages (toybox and linux). The trivial version is "make root && sudo chroot root/host/fs /init". Here's a post with instructions if you want to know how to build the cross compilers for testing the various architectures. The self-contained @@ -2407,7 +2404,7 @@ needs that for the s390x target).

Coding style: Rob converted the rest of the option GLOBALS() to the new single letter coding style, and the new FLAG(x) macro is a slightly tidier way to say -"toys.optflags&FLAG_x". +"toys.optflags&FLAG_x". Removed CFG_SORT_BIG (the sort command always has the full functionality now. The general future direction or toybox is to either have a command or not have it; multiple versions of the @@ -2623,7 +2620,7 @@ uppercase characters. Elliott fixed several things in top (removed spurious '\r' characters from -b output, removed interactive flicker, made running processes bold), and pushed Rob to make file work better recognizing things on stdin -("cat /bin/ls | file -" still won't work but "file - < /bin/ls" should). +("cat /bin/ls | file -" still won't work but "file - < /bin/ls" should). Rob fixed a bug in netstat on 64 bit big endian systems, and fixed cut -DF (a posix compliance fix broke its ability to act as a decent awk replacment @@ -2637,7 +2634,7 @@ to two columns.

Library: FLAGS_NODASH is now set in toys.optargs when an optstring starting -with & has no dash in its first argument. (This lets "ps -ax" and "ps ax" +with & has no dash in its first argument. (This lets "ps -ax" and "ps ax" behave differently.) Factored out xtestfile() into lib/. The comma-separated-list parsing infrastructure moved to lib/commas.c. Added mkpath() for the common case of mkpathat() and #defined MKPATHAT_* @@ -2875,7 +2872,7 @@ simple range checks for fields (to avoid false positives from things like timezones and daylight savings time), removed %s from date's help (we didn't implement it, we have @seconds[.nanoseconds] instead), fixed zcat's buffer flush logic (which was always failing on files larger -than 32k), and factor now detects requests for numbers >64 bits and fails +than 32k), and factor now detects requests for numbers >64 bits and fails loudly instead of producing incorrect answers. Elliott fixed touch -a/-m (they were backwards), and allowed ':' in setprop's property names. Grep now exits with 2 for errors (so -q can @@ -3398,7 +3395,7 @@ to explain what they're for.

  • Expanded toys.optargs to 64 bits so a command can have more than 32 options.

  • Added NOEXIT() wrapper to turn xwrap() functions into warning versions using the existing longjump(toys.rebound) infrastructure.

  • -
  • Renamed dirtree->data to dirfd and stopped storing symlink length +

  • Renamed dirtree->data to dirfd and stopped storing symlink length into it (this fixed a bug where following symlinks to directories didn't give a valid directory filehandle, noticeable with ls -Z).

  • New TAGGED_ARRAY() infrastructure generates index and bitmask macros @@ -4170,7 +4167,7 @@ got enough OS bits working to run a full configureand make.

    Library code: xcreate/xopen now O_CLOEXEC by default to avoid leaking filehandles to child processes. DIRTREE_COMEAGAIN's second callback is now -done with the directory filehandle still open (new dir->again variable added +done with the directory filehandle still open (new dir->again variable added to distinguish first from second callback, and requesting DIRTREE_RECURSE now requires passing in the specific macro value, not just a true/false). Use daemon() out of libc instead of hand-rolled daemonize() in various @@ -4613,7 +4610,7 @@ didn't match anybody else's behavior and thus made the test suite hiccup between TEST_HOST and testing toybox. (If you go "TEST_HOST=1 scripts/test.sh command" it sanity checks the tests against the host implementation.)

    -

    Last release, "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub" didn't +

    Last release, "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub" didn't delete sub and didn't exit with an error either. Neither was correct, rm should now be fixed.

    @@ -4988,7 +4985,7 @@ you need a quarter-second sleep, it can do that now), and fixed a build bug on slackware.

    Daniel Walter contributed a string to mode_t parser (in use by chmod and -mkdir -m). Ilya Kuzmich contributed comm. Elie De Brauwer added mountpoint, +mkdir -m). Ilya Kuzmich contributed comm. Elie De Brauwer added mountpoint, vmstat, logname, login, and mktemp. Kevin Chase did some portability cleanups. Pere Orga fixed some documentation.

    -- 2.39.5