head 1.10; access; symbols pkgsrc-2026Q3:1.10.0.4 pkgsrc-2026Q3-base:1.10 pkgsrc-2026Q2:1.10.0.2 pkgsrc-2026Q2-base:1.10 pkgsrc-2026Q1:1.9.0.4 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.2 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.8.0.4 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.2 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.7.0.2 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.6.0.4 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.2 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.5.0.2 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.4.0.6 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.4 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.2 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.2 pkgsrc-2022Q4-base:1.1; locks; strict; comment @# @; 1.10 date 2026.04.20.18.36.05; author vins; state Exp; branches; next 1.9; commitid UsNUQDbJxgfJcJCG; 1.9 date 2025.10.12.06.24.28; author vins; state Exp; branches; next 1.8; commitid 2kCtWsvB8FaWffeG; 1.8 date 2025.05.23.19.18.52; author vins; state Exp; branches; next 1.7; commitid ogEwcAeADvMS64WF; 1.7 date 2025.02.13.13.45.20; author vins; state Exp; branches; next 1.6; commitid uRu2jpFqDZ4SrjJF; 1.6 date 2024.08.22.18.02.29; author vins; state Exp; branches; next 1.5; commitid qPih30P7HsyQuQmF; 1.5 date 2024.06.09.07.44.54; author vins; state Exp; branches; next 1.4; commitid C17nyJMR4tAsshdF; 1.4 date 2023.08.26.19.05.31; author vins; state Exp; branches; next 1.3; commitid uTZeUCe59QbJtkCE; 1.3 date 2023.08.24.21.37.56; author vins; state Exp; branches; next 1.2; commitid w5wWPCMVBVM4o5CE; 1.2 date 2023.03.02.09.01.12; author vins; state Exp; branches; next 1.1; commitid Ns991CCDItOWOwfE; 1.1 date 2022.11.05.16.41.14; author pin; state Exp; branches; next ; commitid NkkYXdVbRM9l8x0E; desc @@ 1.10 log @shells/yash: update to 2.61 # changes * The `configure` script now accepts the `--disable-doc` option to omit installing the manual pages. * The `configure` script now has minimal cross compilation support. Use the `--host=HOST` option to specify the cross-compilation target. * Fixed a bug where the `configure` script could produce false positive results for function checks when an optimizing compiler eliminates the test code. The `configure` script now uses the `-fno-builtin` compiler option when compiling function check programs. * The `times` built-in now uses the `getrusage` function to obtain resource usage statistics on systems where it is available, which improves precision. * Updated the sample initialization script (yashrc): The script no longer suggests moving the history file from `~/.yash_history` to `${XDG_STATE_HOME}/yash/history` if they resolve to the same file. * [line-editing] Fixed a bug where attempting to auto-complete arguments for unknown commands when the `PREFIX` variable is defined would result in an error message. * [line-editing] Added completion for `mount`, `sv`, `aria2c`, `mkinitcpio`, `7z`, and `hdparm`. @ text @$NetBSD: distinfo,v 1.9 2025/10/12 06:24:28 vins Exp $ BLAKE2s (yash-2.61.tar.xz) = 4e61ba0db712a6cd0e9796fd5c9691408306534f238125bfb0da19c1a326a21a SHA512 (yash-2.61.tar.xz) = 17e11aafb387d007dc7adee07e83d5166f0e6022a64eeaed36eeedb529c25f49ca7631cd4225bac3c01e14aa1cafe49514b8742a6e6a886d1e94cd7af3706ca8 Size (yash-2.61.tar.xz) = 821560 bytes SHA1 (patch-Makefile.in) = ae994a5033df3d4feb13907b9798dfab422ece3d @ 1.9 log @shells/yash: update to 2.60 * Yash 2.60 (2025-09-15) - Updated the sample initialization script (yashrc): - Redefined the `open` function for WSL to use `rundll32.exe` instead of `cmd.exe` for better stability. - `$VISUAL` is now preferred over `$EDITOR` for the default value of `$FCEDIT`. - [line-editing] The "vi-edit-and-accept" command now honors the `VISUAL` and `EDITOR` variables, so that you can use your favorite editor. - [line-editing] Added completion for `fd`, `dvtm`, `mw` (mutt-wizard), and `typst`. - [line-editing] Completion for `man` now supports the `-l` (`--local-file`) option. - The `export`, `readonly`, and `typeset` built-ins now print the `--` separator before the variable names when printing variables whose names begin with a hyphen (`-`), so that the output can be safely re-parsed by the shell. The same applies to function names. - Fixed a bug where the shell continued to export the previous value of an array even after it was updated using the `array` built-in. Also fixed an issue where the internal cache was not refreshed for the `PATH`, `CDPATH`, and `YASH_LOADPATH` variables after being modified via the `array` built-in. - Fixed a bug where single quote characters (`'`) in the `word` of parameter expansions of the forms `${foo+word}`, `${foo-word}`, `${foo=word}`, and `${foo?word}` were treated as quoting characters when the expansion was in double quotes. - Fixed a bug where tilde expansion was performed on the `word` of parameter expansions of the forms `${foo+word}`, `${foo-word}`, `${foo=word}`, and `${foo?word}` even when the expansion was in double quotes. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2025/05/23 19:18:52 vins Exp $ d3 4 a6 4 BLAKE2s (yash-2.60.tar.xz) = dff803412a4ba725af1aabe58c184dcff1ababab9102140b4c0850bd44cb9f0a SHA512 (yash-2.60.tar.xz) = 3bd4b0a7220c551a352c5e4b0c2371cb3f9c3b51e1189fc983ef828db1d1a82c50f89631620e2e83a0cda2c3b47a43107272555db0a7e2b33b5fb24272d0a180 Size (yash-2.60.tar.xz) = 810564 bytes SHA1 (patch-Makefile.in) = f9529b43db6f3775a5676b0f96f5cd5c4d60234e @ 1.8 log @shells/yash: update to 2.59 # changes * trap: Implement POSIX.1-2024 requirements by @@magicant in #115 * read: Avoid crash in interactive shell by @@magicant in #116 * history: Work around glibc's fsetpos bug by @@magicant in #117 * add completion for make variant commands by @@unrealapex in #110 * Update Git completion by @@magicant in #120 * wait: Don't return when the target process is suspended by @@magicant in #121 * Support POSIX.1-2024 read built-in behavior (except byte-wise field splitting) by @@magicant in #123 * Change false, pwd, and true to substitutive built-ins by @@c0d3-br3ak9r in #124 * Reject empty operand in cd built-in by @@c0d3-br3ak9r in #126 * Ignore remaining commands after a foreground job stops by @@magicant in #143 * Treat a job as suspended when any child process suspends by @@magicant in #144 * Noglob when splitting $CDPATH at colons in cd and pushd completion by @@magicant in #147 * add completion for fnf by @@unrealapex in #140 * add completion for 'cmus' and 'cmus-remote' by @@unrealapex in #141 * add completion for 'catgirl' by @@unrealapex in #142 * Ignore SIGTSTP in process redirection subshells by @@magicant in #148 * Add macOS workaround for test of suspended job by @@magicant in #150 * Job control without a control terminal by @@magicant in #149 * Discard remaining commands on shell errors if interactive by @@magicant in #151 * Filter '.' and '..' from wglob results by @@eilefsen in #152 * Report job number and PID for async commands in interactive shell by @@magicant in #155 * Propagate signal exit status to parent process by @@magicant in #156 * printf: Reject redundant character in numeric operand by @@magicant in #157 * Reject multiple pathname expansion results in redirection operands by @@magicant in #158 * Set interactive automatically even with positional parameters by @@magicant in #160 * test: Reject -a, -o, and parentheses in POSIXly-correct mode by @@magicant in #161 * Fix default exit status of exit built-in in trap action by @@magicant in #162 * Keep empty tilde expansion from empty field removal by @@magicant in #164 * Remove redundant trailing slash in tilde expansion by @@magicant in #166 * Reject {n} redirection prefix by @@magicant in #167 * Document hashondef and nolog options for POSIX.1-2024 by @@magicant in #168 * Treatment of variables that should not be made readonly by @@magicant in #169 * Reject making LINENO, OLDPWD, OPTARG, OPTIND, and PWD readonly by @@magicant in #170 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2025/02/13 13:45:20 vins Exp $ d3 3 a5 3 BLAKE2s (yash-2.59.tar.xz) = cc366c1a37282c73f577eacace0b3faceae333c4b9c158bba3cd8fdb40ccc797 SHA512 (yash-2.59.tar.xz) = eafcd8b9ced1238714076833f8023d158e28a8a5bc4cc9f381b030d7f67b2113c3ae291641a53daceecba053b0f89a6b478b83536b3e93880054aa2856f989e0 Size (yash-2.59.tar.xz) = 806348 bytes @ 1.7 log @shells/yash: update to 2.58.1 # upstream changes (since 2.57) 2.58.1 * tests/job-y.tst: Account for root PS1. by @@pghvlaans in #106 Fixed a test case in tests/job-y.tst that was failing when run as root. * Update NEWS & THANKS for fzy completion by @@magicant in #107 Version 2.58 added completion for fzy, but the NEWS file did not mention it. This has been fixed. * Redefine Actions workflow by @@magicant in #108 * share/initialization/common: create HISTFILE directory automatically by @@unrealapex in #109 Version 2.58 changed the default $HISTFILE location to ${XDG_STATE_HOME}/yash/history, but the initialization script was not making the containing directory. This was causing the shell to fail to save the history file. The initialization script now creates the directory if it does not exist. 2.58 * The location of the initialization files can now be configured using the XDG_CONFIG_HOME variable (except in POSIXly-correct mode). * [line-editing] Command line prediction now works in the vi command mode. * [line-editing] Added completion for fzy and git-restore. * [line-editing] Added completion for git-merge's --continue option. * [line-editing] The completion for the . built-in now suggests directory names for the first operand even before the user enters a slash. * Improved POSIX.1-2024 support: - Case command items now can be terminated by ;& instead of ;; to force the shell to execute the next item. The non-standard terminators ;| and ;;& are also supported to resume pattern matching with the next item unless in the POSIXly-correct mode. - Dollar-single-quotes are now supported. - Declaration utility semantics is now supported. Assignment-like arguments to the export, local, readonly, and typeset - built-ins are now expanded in the same way as assignments are expanded. - The printf built-in now supports position specifiers in format strings as in printf '%2$s %1$s\n' foo bar. - The cd and pushd built-ins now support the -e option, which can be used to see if the $PWD variable is successfully updated. - The exit status of the getopts built-in is now 2 on any error. - After the bg built-in resumed a job, the ! special parameter expands to the process ID of the job. - An interactive shell no longer exits on an error in the exec built-in, even if the POSIXly-correct mode is on. - The shell's syntax now always allows esac as the first pattern of a case branch as in case esac in (esac|case) echo ok; esac. Previously, it was a syntax error in the POSIXly-correct mode. * The exit statuses returned from the cd, pushd, and popd built-ins have been updated to make it easier to distinguish the reasons for failure. * Fixed a potential crash caused by an expansion error in nested parameter expansion. * Updated the sample initialization script (yashrc): The default $HISTFILE is now set to ${XDG_STATE_HOME}/yash/history unless ${HOME}/.yash_history exists, in which case the latter is used and a warning is printed. To suppress the warning and keep using the previous location, you can set the $HISTFILE variable before the sample initialization script is sourced. Added aliases h='fc -l' and j='jobs'. Added the wrapper function for doas in an attempt to remove the misleadin @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2024/08/22 18:02:29 vins Exp $ d3 3 a5 3 BLAKE2s (yash-2.58.1.tar.xz) = 2543f072109509cf3c64cac6b76b9e8a64caae72e7518aa979aab25ad4d6a83f SHA512 (yash-2.58.1.tar.xz) = 01e87d579db4ad15ff475cdb7a5360e1b1b6d0e39301e191910943f99adb6686e2462645114c68b59e3de53c5d4486748a9d070a47e3d148e6e3f84b000f1318 Size (yash-2.58.1.tar.xz) = 784816 bytes @ 1.6 log @shells/yash: update to 2.57 # Noteworthy changes * Added support for the "$POST_PROMPT_COMMAND" variable, whose value is executed after reading a command line in the interactive shell. * If the shell exits because of a shell error during the EXIT trap, the shell now returns the exit status of the error rather than that of the last command before the EXIT trap. * [line-editing] Fixed the spurious error message printed when completing after git config alias. with the nounset shell option enabled. * [line-editing] Completion no longer inserts a redundant backslash to escape a character included in the completed word when the cursor follows another backslash. Updated the sample initialization script (yashrc): * Added setup for VS Code shell integration. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2024/06/09 07:44:54 vins Exp $ d3 3 a5 3 BLAKE2s (yash-2.57.tar.xz) = 993d99631c42cf7d0e1de24b8d95c57108bf641b4422f1f6247f6c5991d61744 SHA512 (yash-2.57.tar.xz) = 6604ce54f698740d99e4ce3e6ff93b10936353b0690871b4dd1a0ef4569fc228284f551398b4912d324c8627eccec4cd51ac58508f741eb47b315560f02bff01 Size (yash-2.57.tar.xz) = 771228 bytes @ 1.5 log @shells/yash: update to 2.56.1 # changes * Codebase moved from OSDN to github. * The shell can now open more file descriptors on Cygwin. * Fixed the bug where the "typeset -fp" built-in prints parameter expansions of the form ${foo:/bar/baz} with a redundant # flag like ${foo:/#bar/baz}. * Fixed the bug where the emacs-capitalize-word line-editing command misbehaves and possibly crashes the shell if there is no word following the cursor to be capitalized. * Added the emacs-search-forward-current and emacs-search-backward-current line-editing commands. (by @@vext01 in #37) * [line-editing] Added the completion script for doas. (by @@DanisDGK in #45) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2023/08/26 19:05:31 vins Exp $ d3 3 a5 3 BLAKE2s (yash-2.56.1.tar.xz) = 2e3ecb3cfcb9b197f433e9d2e2139c04527b7d86c60c9641ab1202b6c75f2dc1 SHA512 (yash-2.56.1.tar.xz) = 28e8bde5fc12e5178136b82ecdc0c52c37c98301245089b0d55c43266880e299237a5522e572883e5c51b7d9a0e9bf94fe265a9ebdbf346c28ff837b0f60cc00 Size (yash-2.56.1.tar.xz) = 768752 bytes @ 1.4 log @shells/yash: do not require asciidoc Fixes broken build. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2023/08/24 21:37:56 vins Exp $ d3 3 a5 3 BLAKE2s (yash-2.55.tar.xz) = 5d545dc5e6cd35545df915db24d4098121dfeb4b85b3fb0f666578e12dd6787d SHA512 (yash-2.55.tar.xz) = 9e92fc86884b0b315a98fcb5da0f319f431515185a970762946b919ccccc72aa8756e337dfa7cec763a7d8496bf4838eb9ef88664b35512180f13cc4146e9816 Size (yash-2.55.tar.xz) = 761184 bytes @ 1.3 log @shells/yash: update to yash-2.55 # Changes Yash 2.55 (2023-08-20) + [line-editing] The Enter/Send key ("\et") now has a default binding to the command the Ctrl-M key ("\^M") is bound to in each mode. = [line-editing] The redraw-all and clear-and-redraw-all commands now can be used with an argument to swap their behavior. * Fixed mistranslation in the Japanese language support. . Updated the sample initialization script (yashrc): + Code example for binding Ctrl-L to clear-and-redraw-all. . Updated completion scripts: + Completion for git-switch and pass @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2023/03/02 09:01:12 vins Exp $ d6 1 @ 1.2 log @shells/yash update to 2.54. # CHANGES Yash 2.54 (2023-02-25) + Changing font style of command line predictions with $PS1P, etc. + The '--le-trim-right' option. = When the POSIXly-correct mode is active, the shell now refuses to execute built-ins POSIX XCU 2.9.1 lists as utilities that cause unspecified results. To implement the new behavior, the previous "semi-special" built-ins are now categorized in either of the new categories "mandatory" and "elective". The "command" and "type" built-ins now report the new categories of such built-ins. = The shell now requires a corresponding external executable to exist in $PATH when running a built-in that works like a standard external utility even when the POSIXly-correct mode is inactive. Such built-ins are now categorized as "substitutive" built-ins. = The "array" built-in is now completely ignored in the POSIXly- correct mode. The built-in, formerly a regular built-in, is now categorized as an "extension" built-in. = The xtrace option is now ignored while expanding the $PS4 variable to prevent possible infinite recursion. * The allexport option was wrongly ignored in many assignment contexts. * The errexit and errreturn options now work for assignment error in a for loop. * The ">" redirection with the noclobber option no longer hangs when the operand names a symbolic link to a non-existing file. * The exported value of the $DIRSTACK variable was not being updated correctly in the "pushd" and "popd" built-ins. * The effect of "!" no longer applies to the exit status of the "break", "continue", and "return" built-ins. * An alias value ending with a blank followed by a line continuation no longer subjects the next token to alias substitution. . Updated the sample initialization script (yashrc): + The "o" alias for WSL @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2022/11/05 16:41:14 pin Exp $ d3 3 a5 4 BLAKE2s (yash-2.54.tar.xz) = 09db8ccd0cbcc6c4346c7f563cd14d1acc5e25cbd8db3bf38d6dc5bbc4d2ea78 SHA512 (yash-2.54.tar.xz) = 360dc55782def4ce8c1a5cf12836ec86405dfbe338c6a623c8031e84f76da1bfa2e5a5ad05c1a62ea7b516681457d124398e2194e2d23824c19216eb3807e155 Size (yash-2.54.tar.xz) = 758916 bytes SHA1 (patch-configure) = d856019f32385ee9c501f0bf4be3b04ddc63807e @ 1.1 log @shells/yash: import pkg Yash, yet another shell, is a POSIX-compliant command line shell written in C99 (ISO/IEC 9899:1999). Yash is intended to be the most POSIX - compliant shell in the world while supporting features for daily interactive and scripting use. Notable features are: - Global aliases - Arrays - Socket redirection, pipeline redirection, and process redirection - Brace expansion and extended globbing - Fractional numbers in arithmetic expansion - Prompt command and command-not-found handler - Command line completion with predefined completion scripts for more than 100 commands - Command line prediction based on command history By Paolo Vincenzo Olivo in wip @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 BLAKE2s (yash-2.53.tar.xz) = 8678bafa4a73be281d43d69710665bfc5fefef4651808e665a9bb7b404be337c SHA512 (yash-2.53.tar.xz) = 9bc6dcc9864fbba6200b76dad50b9eb1620b578fceaea5d1dd34e2efda379be0e4255d56e49c9595dc184ddf45951418e87a88dc6507d41cc4220f38b7044994 Size (yash-2.53.tar.xz) = 755956 bytes @