- update to 59c:
* [tg] Update character widths (Jamo bugfix)
* [spellintian] Fixes
* [Jonathan Perkin] Don’t use “test -e” in Build.sh
* [Jonathan Perkin] Mac OSX-specific: ensure ulimit -m is present even if it is an alias of ulimit -v (10.4+), for compatibility
* [Finn Thain, Stanley J. Johnson] Port to A/UX
* [tg] Add older ulimit(2) support, if setrlimit(2) is missing
* [tg] More EBCDIC-safeness (slightly…)
* [PerlAcademy] Allow all tests to pass with very old Perl 5
* [tg] Fix test.sh’s output of tested/expected shell version
* [Stanley J. Johnson] Let A/UX default CC to gcc
* [tg] Drop “is being ported” warning from A/UX and OS/2, they work
* [tg] Include <pwd.h> only if MKSH_NOPWNAM is not defined
* [tg] “command -v” must print absolute pathnames, even if $PATH contains relative pathnames under which the command in question was found (orbea)
* [komh] Fix absolute pathnames relative to / on nōn-OS/2, too
* [tg] Fix some more corner cases related to pathname normalisation
* [tg] FAQ: “${@?}: bad substitution” documentation
* [tg] Fix some constructs pointed out by https://www.deepcode.ai/
* [tg] Clean, refactor, optimise some code
* [tg] Allow ^Xe on empty command line; quote editor argument properly
* [tg] FAQ: an IRC user suggests ^Xe for ad-hōc scripts and multiline
* [tg] Eliminate many unnecessary calls to (re‑)allocate memory
* [tg] Correct order during tree-printing of heredocs (LP#1783355)
* [tg] Drop some possibly unreached and probably broken code
* [tg] Increase FAQ2HTML.sh compatibility with pre-POSIX shells
* [tg] Demote some (unlikely called) output code to !MKSH_SMALL
OBS-URL: https://build.opensuse.org/request/show/848014
OBS-URL: https://build.opensuse.org/package/show/shells/mksh?expand=0&rev=223
- update to 59b:
* [tg] Handle other tmux $TERM types, pointed out by multi via IRC
* [tg] Fix typo in FAQ
* [tg] y='a\*b'; [[ $x = $y ]] regression (Martijn Dekker) fix
* [l0kod] Defuse CLIP OS O_MAYEXEC support (cf. LWN)
* [tg] Make set +o output a command to restore the currently set and (new!) cleared options, keep a reset state per session (experimental)
* [tg] Correct documentation and code regarding to argv[0] parsing: first ‘-’ for login shells, then ‘r’ case-insensitively for restricted shell, then “sh”*, again case-insensitively, for BINSH_* modes; add tests
* [tg] On OS/2, allow case-insensitive name for direct builtin call
* [tg] Always skip startup files if direct builtin call
* [tg] Avoid some sometimes-redundant startup codepaths
* [tg] Repair out-of-tree builds (noticed by rsc)
* [tg] Work around a glibc on Hurd issue in testsuite
* [komh] OS/2 filesystem mtime granularity is two seconds (as in FAT)
* [tg] Replace while with goto: Coverity was confused
* [tg] Fix invocation of some builtins when external utility absent
* [komh] Improve automatic executable suffix for test builtin
* [tg] Style code, refactor, clean up, optimise
* [tg] Use cached egid in test builtin
* [tg] Make bind builtin output reentry-safe; safety fixes
* [tg] If basename(argv[0]) after leading dash removal begins with an ‘r’ enable restricted shell flag; reported by pmjdebruijn via IRC
* [tg] Fix code example in manpage for how tab completion escapes
* [tg] Match full extglob pattern RHS of [[ string comparison like ksh93
* [tg] Implement which with -a in dot.mkshrc
* [tg] Remove global builtin (use typeset -g)
* [tg] alias, command, whence: Print alias names quoted
* [tg] Implement a new quote-region (Esc+Q) editing command
* [tg] Document all built-in aliases (requested by msiism via IRC) and those aliases and functions shipped in dot.mkshrc; completely overhaul builtin and reserved word documentation, for consistency
* [tg] The manual page now features properly spaced em dashes ☻
* [tg] Document that test x = y doesn’t extglob, only [[ x = y ]] does
* [lintian] hyphen-used-as-minus-sign (on jessie, not later, ‽‽‽)
OBS-URL: https://build.opensuse.org/request/show/828290
OBS-URL: https://build.opensuse.org/package/show/shells/mksh?expand=0&rev=221
- Update to version R57 (reminded by lewellyn)
R57 rolls up bugfixes, with few hard changes:
[gecko2] Update operating environment reporting for the Macintosh
[Martijn Dekker] make ${foo#'bar'} in here document behave like ksh93
[Martijn Dekker] quote empty strings for re-entry into shell
[tg, G.raud Meyer] Improve documentation, especially for tty states
[tg] Protect against entering line editing with bad saved tty state
[tg] Fix set -o allexport for arrays (which we apparently do)
[tg] Handle lseek(2) returning -1 as pointed out by Coverity Scan
[tg] Fix left-padding UTF-8 strings
[tg, G.raud Meyer] Fix using the “-m” flag on the command line
[tg] Update to UCD 11.0.0
[multiplexd] Fix a segfault using ^W during search in Vi mode
[tg] Fix an error message; add a test for controlling tty
[tg] Permit unsetting LINES and COLUMNS, for those who need it
[tg] Fix manpage bug (RedHat BZ#1612173)
[tg] Minor spelling cleanup
[tg] Unbreak high-bit7 (nōn-ASCII) heredoc separators (LP#1779179)
[tg] Allow dumping high-bit7-char-containing strings in DEBUG mode
[tg] Add some testcases for behaviour questions popped up in IRC
[tg] Trick a GCC warning, to make up for it ignoring lint(1) hints
[tg] Add O_MAYEXEC support for CLIP OS
[tg] Make dup-to-self with ksh-style fd≥3 closing work; catern via IRC
[tg] Add compat glue for newer GNU groff mdoc to the manpages
[tg] Trigger EXIT trap after single-command subshells (Debian #910276)
[tg] Document set -eo pipefail caveat (LP#1804504)
[tg] Fix MKSH_EARLY_LOCALE_TRACKING warning
[tg] Document that, when your Unix is broken, GIGO applies (LP#1817959)
[tg] Improve error message for inaccessible executables (LP#1817789)
- Switch from patching check.t, sh.h and Build.sh to using
KSH_VERSIONNAME_VENDOR_EXT and appending to CPPFLAGS beforehand
- Remove qemu/ppc patches that are upstreamed/no longer necessary
- Drop LTO support which was already always disabled
- Handle newer GCC note output during configure stage
- Ensure KSH_VERSIONNAME_VENDOR_EXT is always set to something,
because the patch deviating from upstream is always applied
- Remove virt-what from build dependencies, it just fails or,
worse, makes the package unresolvable; also from lewellyn
OBS-URL: https://build.opensuse.org/request/show/692662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mksh?expand=0&rev=19
R57 rolls up bugfixes, with few hard changes:
[gecko2] Update operating environment reporting for the Macintosh
[Martijn Dekker] make ${foo#'bar'} in here document behave like ksh93
[Martijn Dekker] quote empty strings for re-entry into shell
[tg, G.raud Meyer] Improve documentation, especially for tty states
[tg] Protect against entering line editing with bad saved tty state
[tg] Fix set -o allexport for arrays (which we apparently do)
[tg] Handle lseek(2) returning -1 as pointed out by Coverity Scan
[tg] Fix left-padding UTF-8 strings
[tg, G.raud Meyer] Fix using the “-m” flag on the command line
[tg] Update to UCD 11.0.0
[multiplexd] Fix a segfault using ^W during search in Vi mode
[tg] Fix an error message; add a test for controlling tty
[tg] Permit unsetting LINES and COLUMNS, for those who need it
[tg] Fix manpage bug (RedHat BZ#1612173)
[tg] Minor spelling cleanup
[tg] Unbreak high-bit7 (nōn-ASCII) heredoc separators (LP#1779179)
[tg] Allow dumping high-bit7-char-containing strings in DEBUG mode
[tg] Add some testcases for behaviour questions popped up in IRC
[tg] Trick a GCC warning, to make up for it ignoring lint(1) hints
[tg] Add O_MAYEXEC support for CLIP OS
[tg] Make dup-to-self with ksh-style fd≥3 closing work; catern via IRC
[tg] Add compat glue for newer GNU groff mdoc to the manpages
[tg] Trigger EXIT trap after single-command subshells (Debian #910276)
[tg] Document set -eo pipefail caveat (LP#1804504)
[tg] Fix MKSH_EARLY_LOCALE_TRACKING warning
[tg] Document that, when your Unix is broken, GIGO applies (LP#1817959)
[tg] Improve error message for inaccessible executables (LP#1817789)
- Switch from patching check.t, sh.h and Build.sh to using
KSH_VERSIONNAME_VENDOR_EXT and appending to CPPFLAGS beforehand
- Remove qemu/ppc patches that are upstreamed/no longer necessary
- Drop LTO support which was already always disabled
- Handle newer GCC note output during configure stage
OBS-URL: https://build.opensuse.org/package/show/shells/mksh?expand=0&rev=211
- Remoce patch mksh-locale.patch and use upstream compile flags
MKSH_EARLY_LOCALE_TRACKING as replacement
- Update to version R56c
R56c is a bugfix-only release everyone must upgrade to:
[komh] Remove redundant OS/2-specific code, clean up others
[komh, tg] Fix drive-qualified (absolute and relative) DOS-style
path support in realpath functionality, partially other places
[tg] Don’t substitute ${ENV:-~/.mkshrc} result again
[tg] Improve OS/2 $PATH (et al.) handling, drive-relative paths
[tg] Add MKSH_ENVDIR compile-time option for Jehanne and Plan 9
[tg] Limit nesting when parsing malformed code (Debian #878947)
[tg] Update wcwidth data with bugfixed script (still Unicode 10;
resulting values are identical to glibc git master for extant chars)
[Dr. Werner Fink] Raise some time limits in the testsuite
[Shamar] Add support for the Jehanne operating system
[komh] Set stdin to text mode before executing child processes on OS/2
[komh] Pass arguments via a resonse file if executing a child fails
[Dr. Werner Fink] Early locale tracking as a compile-time option
[tg] Fix regressions introduced with new fast character classes
R56b is a bugfix-only release everyone should upgrade to:
[tg] Reference the FAQ webpage
[panpo, Riviera] Fix documentation bug wrt. Esc+Ctrl-L
[tg, Larry Hynes] Fix “0” movement in vi mode
[tg] Replace broken libcs’ offsetof macro with MirBSD’s
R56 is a bugfix release with some experimental fixes:
[tg, Seb] Do not apply alias name restrictions to hash/tilde tracking
[tg] Restore ‘.’, ‘:’ and ‘[’ in alias names (“[[” is still forbidden)
[tg] Fix accidentally defanged $PATHSEP test
[tg] On ^C (INTR and QUIT edchars), shove edit line into history
OBS-URL: https://build.opensuse.org/request/show/597698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mksh?expand=0&rev=17
- Avoid deprecated API for errors and signals
- Be sure to use a clean history file
- Make errors ini test suite fatal
- Avoid -flto as this breaks even with gcc 6.3.1 20170202
- Use screen to provide a tty for test suite scripts
- Update to version R54
R54 is a bugfix release with moderate new features:
[tg] Simplify and improve code and manual page
[tg] Try GCC 5’s new -malign-data=abi
[tg] Allow interrupting builtin cat even on fast devices (LP#1616692)
[tg] Update to Unicode 9.0.0
[Andreas Buschka] Correct English spelling
[tg] Handle set -e-related error propagation in || and && constructs correctly
[tg] Initialise memory for RNG even when not targeting Valgrind
[tg] Shrink binary size
[Brian Callahan] Improve support for the contemporary pcc compiler
[tg] Fix side effects with lazy evaluation; spotted by ormaaj
[tg] New flags -c (columnise), -l, -N for the print builtin
[Larry Hynes] Fix English, spelling mistakes, typos in the manpage
[tg, ormaah] Return 128+SIGALRM if read -t times out, like GNU bash
[Martijn Dekker] Install both manpages from Build.sh
[Martijn Dekker] Document case changes are ASCII-only
[Ronald G. Minnich, Elbing Miss, Álvaro Jurado, tg] Begin porting to Harvey-OS and APEX (similar to Plan 9 and APE)
[KO Myung-Hun] More infrastructure for the OS/2 (EMX, KLIBC) port
R53a is a snapshot/feature release:
[lintian] Fix spelling
[tg] Unbreak multi-line command history broken by history flush
OBS-URL: https://build.opensuse.org/request/show/460024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mksh?expand=0&rev=13