1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
|
mksh (59c-39) unstable; urgency=medium
This build is the first to move the binaries from their
canonical location in /bin/ to /usr/bin/ as mandated by
the Release Team. Helmut assures me that this move will
not cause users problems, so here’s to hoping.
Do note that dash broke things for us again (#1078130),
some manual work is necessary before upgrading. O “joy”…
-- Thorsten Glaser <tg@mirbsd.de> Mon, 19 Aug 2024 01:09:02 +0200
mksh (59c-3) unstable; urgency=medium
mksh and lksh monitor the POSIX locale environment variables now
and enable/disable UTF-8 mode depending on their values. (This
uses the SuSE patch minus a warning, but upstream will enable
locale tracking soon, anyway.)
-- Thorsten Glaser <tg@mirbsd.de> Sun, 07 Feb 2021 02:10:34 +0100
mksh (59c-2) unstable; urgency=medium
The cat and sleep utilities are no longer provided as builtins.
On Debian the equivalents from coreutils are now always used.
-- Thorsten Glaser <tg@mirbsd.de> Mon, 25 Jan 2021 13:34:26 +0100
mksh (59-1) experimental; urgency=low
User-visible changes to the shell language (R59):
- The output of some commands changed adding quoting for
re-entry safety (mostly displaying aliases).
- Restricted mode is now enabled if the shell is called as
rmksh, rsh, rlksh, … and we install rmksh and rlksh.
- The right-hand side of a string comparison (=, ==, !=) in
[[ … ]] now uses full Korn Shell extglobs eliminating many
a need for an “eval” — e.g. x='f+(o)ba[rz]'; [[ foobar = $x ]]
(as before, quote the RHS to avoid this: [[ foobar = "$x" ]]
- The global builtin is gone (use R55’s typeset -g instead).
-- Thorsten Glaser <tg@mirbsd.de> Wed, 15 Apr 2020 02:38:44 +0200
mksh (58-1) unstable; urgency=medium
- HISTSIZE is now limited to 65535, as was pre-announced for years.
- Running set -p interactively in privileged shells obtains the
effective privileges.
-- Thorsten Glaser <tg@mirbsd.de> Wed, 15 Apr 2020 02:34:04 +0200
mksh (56-1) unstable; urgency=medium
The new /etc/skel/.mkshrc moves selection of the default EDITOR
(for when the parameter was not set prior to running it) to near
the top, before /etc/mkshrc runs. It contains a user-editable
priority list (first match wins) and, newly, defaults to Debian’s
sensible-editor (after a previously-set $EDITOR, of course). It
is therefore recommended to update from the skeleton file.
Read the full user’s caveat at: http://www.mirbsd.org/mksh.htm#c56
-- Thorsten Glaser <tg@mirbsd.de> Wed, 09 Aug 2017 04:34:54 +0200
mksh (55-1) experimental; urgency=low
User-visible changes to the shell language (R55):
- The POSIX declaration utility concept is introduced, which also
applies to commands having variable assignments and redirections
preceding them. "wait" however does not keep assignments any longer.
- The new "\builtin" utility forwards the declaration utility flag
exactly like "command" does.
- The new "typeset -g" replaces mksh’s previous home-grown "global"
builtin, which is now deprecated and *will* be removed from a future
version.
- Aliases are now expanded for command, function and value substitutions
at parse time (like for functions, and excepting ‘`’-style ones).
- "typeset -f" output is now alias-resistent and thus more reentrant.
- Alias names are now limited to [A-Za-z0-9_!%,@], following POSIX,
although a non-leading hyphen-minus is also permitted.
- "print -R" is now (correctly) roughly equivalent to POSIX mode echo.
- The "let]" hack is gone.
- "ulimit -a" output changed to display the associated flag.
- $PATHSEP is now pre-defined to ‘:’ (‘;’ on OS/2).
The delta between mksh and lksh and the deltas between normal, posix
and “sh” mode are now properly documented in the manual pages; see
README.Debian for which options are enabled in which Debian binaries.
-- Thorsten Glaser <tg@mirbsd.de> Wed, 12 Apr 2017 21:52:27 +0200
mksh (53-1) unstable; urgency=medium
User-visible changes to the shell language (R53):
- Tilde expansion for HOME/PWD/OLDPWD now simplifies the PATH
- Rotation operators were renamed from <<< and >>> to ^< and ^>
- File descriptors are, once again, sole digits
These are in preparation for changes planned in R54:
- Perl-ish named file descriptors (ksh93-style) are being researched
-- Thorsten Glaser <tg@mirbsd.de> Wed, 10 Aug 2016 20:40:55 +0200
mksh (52c-2exp2) experimental; urgency=low
The musl C library is now used for /bin/mksh-static and /bin/lksh
as another, i.e. third, alternative, on architectures that have it.
-- Thorsten Glaser <tg@mirbsd.de> Thu, 14 Apr 2016 19:04:08 +0200
mksh (52c-2) unstable; urgency=low
The /bin/mksh-static binary may now be a symbolic link to
a binary placed under /usr – take suitable action if this
is a problem for you. In Debian, /bin/mksh should suffice
as rescue shell as glibc lives in /lib; for e.g. an initrd,
copy the binary straight from the klibc or dietlibc (your
choice) bin directory instead. Note that either is only
populated if the relevant build succeeded.
-- Thorsten Glaser <tg@mirbsd.de> Tue, 12 Apr 2016 15:21:09 +0200
mksh (50f-1) unstable; urgency=low
The pdksh transitional package is gone after two full
releases – pdksh was last in oldoldoldstable.
The /bin/mksh binary no longer inspects argv[0] to enable
POSIX and kludge modes when called as sh; use mksh-static
(as sh and user shell for initrd) or lksh (as /bin/sh on
general systems) instead.
-- Thorsten Glaser <tg@mirbsd.de> Sun, 19 Apr 2015 23:08:08 +0200
mksh (50-1) unstable; urgency=medium
The right-hand side of “nameref” (typeset -n) expressions
is now checked for validity. (Although, this is only fixed
for positional parameters and other special variables in
mksh 50b-1.)
The “arr=([index]=value)” syntax is gone because of severe
bugs in its implementation and regressions in other places.
It will eventually be brought back, but not right now. Use
of “set -A arr -- [index]=value” has not been historically
supported by ksh and will not be brought back in mksh either.
-- Thorsten Glaser <tg@mirbsd.de> Wed, 03 Sep 2014 22:22:44 +0200
mksh (46-2) unstable; urgency=low
The mksh and mksh-static binaries no longer come with the
limited printf(1) builtin which was only added to please
a maintainer who likes to use printf while not having
/usr/bin in their script PATH. It was added to lksh, which
uses more POSIX-like arithmetics but lacks interactive
command line editing features (dash does so, too).
For this reason it’s recommended to use lksh instead of
mksh or mksh-static as /bin/sh (unless you don’t install
udev) and keep mksh around for interactive tasks (initrd
should still use mksh-static exclusively and just provide
printf(1) in /bin instead); lksh is statically linked on
platforms providing a libc that supports this use case
well and is not glibc/eglibc.
$ sudo ln -sf lksh /bin/sh
is the correct command to use for applying this change.
-- Thorsten Glaser <tg@mirbsd.de> Wed, 22 May 2013 19:25:38 +0000
mksh (40.4-1~bpo50+1) lenny-backports-sloppy; urgency=medium
The debconf magic for automatically installing /bin/mksh as
/bin/sh is gone. If you want to do that, set the symlink in
/bin/sh and /usr/share/man/man1/sh.1.gz yourself, as root.
Be aware that only the latest mksh versions can safely be
used as /bin/sh since in the past after many uploads issues
regarding bugs or assumptuous maintainer or init scripts of
other packages have been found which need to be addressed
by updates of the mksh package.
-- Thorsten Glaser <tg@mirbsd.de> Sat, 17 Dec 2011 21:45:04 +0000
|