The MirBSD Korn Shell R36 has been
released yesterday; the Changelog
contains more details as usual.
Major changes:
Digital UNIX (DEC OSF/1) V2.0 (MIPS) is now supported using the
DEC C and ucode toolchain. (We could not run the testsuite
... [More]
, though.)
The ‘-Q’ option to Build.sh is gone without replacement.
A new option can be enabled by adding -DMKSH_BINSHREDUCED
to $CPPFLAGS, intended mostly for Debian. This option adds
extra code to determine whether mksh(1) is called as sh or
-sh and switch to “set -o posix” mode if so, disabling brace
expansion and some security features, because legacy scripts, such as
debconf, depend on such reduced functionality /bin/shs.
Input lines beginning with an IFS character of IFS white space are
no longer pushed into the history. Some other, less surprising, changes
were also made to both Emacs and Vi command line editing modes.
The arc4random.c contributed file is now stored with the
RCS version number appended, and has been updated.
This is a major update with improved stability and compatibility,
and as such recommended in general. It has undergone more extensive
testing than mksh R35; if there still be bugs, please report to us.
Note that some sorts of behaviour are not considered bugs but expected,
sometimes due to historical, sometimes compatibility reasons.
Request for Assistance: We are still looking for an
OpenBSD committer to import mksh into the ports tree. Furthermore, a
Slackware GNU/Linux package is still missing, as well as a PC-BSD PBI,
and Macports (former Darwinports) do not carry mksh either. My earlier
Minix
3 problem persists, as do the Plan 9 and Syllable Desktop ones. [Less]
|
If you read the comp.os.minix newsgroup, please have a look at
Message-Id < [email protected]> and
help us porting mksh to Minix 3. (Yes I
know I replied to a different thread, but this is just because Pine
... [More]
did
not want to let me post using a simple ‘C’ompose in the gabeln.)
If you have an idea how I get the OSF/1 V2.0 cc(1) to correctly
fail if it cannot resolve functions, or how we can fix Plan 9 or even
Syllable Desktop (which is said to have fixed their signal handling in
the kernel, however an actual user would have to test it), also
feel free to contact me, you can probably help. [Less]
|
Hi everyone, mksh’s current
development version should be tested on as many platforms as
possible before a new release. This mostly means:
$ CVS_RSH=ssh; export CVS_RSH
$ cvs -d :ext: [email protected]:/cvs co -PA mksh
$ cd mksh
$ (sh
... [More]
Build.sh -r && ./test.sh -v) 2>&1 | tee build.log
Afterwards, please mail me (tg@) the build.log
file, play around a little with mksh(1), see if it works. You can
use a relative path to the source directory for repeated builds and
also pass different compilers or flags as shown below, but please
remember that passing CFLAGS or LIBS overrides the defaults, which
you thusly should include:
CC=gcc ksh93 ../mksh/Build.sh -r && ./test.sh -v
CFLAGS="-q64 -O3 -qstrict" bash ../mksh/Build.sh -r && ./test.sh -v
CFLAGS="-xO2 -m64" /usr/xpg4/bin/sh Build.sh -r && ./test.sh -v
…
You are, of course, invited to join the mailing list discussions
regarding features, bugs, and behaviour, or even send in patches for
missing items or architectures. I’d especially be happy if someone
made Minix 3 work… pdksh runs there, mksh didn’t last time I tried
(with gcc, but once that’s up ACK should be easy). Or Plan 9.
If you’re on Ohloh, please add mksh to one of your stacks. [Less]
|
Six years ago, I started collecting patches against OpenBSD, a bunch
of 4.4 elitist snobs since the 1980s (or so they say). Said patchkit
should eventually become MirOS BSD and the MirPorts Framework, along
with a couple of more or less well-known
... [More]
and successful subprojects.
Time to celebrate (TGIF)!
IOW, I hacked a Debian package of mirmake, depending on latest mksh of course. It needs more upstream
work to be useful and pretty, though.
Let me plug here an animated GIF found somewhere in the net, which
shows my opinion about Netscape/Mozilla/Fire…tapir quite well:
And, even more unrelated, MirOS is (of course) continuously improving.
We now use Fedora Core 4 libraries for the linuxulator, by suggestion
of the MidnightBSD people, which should improve some things (it already
has opened the door for Opera-linux plugins such as AcroRead-linux).
(The best browser of all is still lynx(1) though.) [Less]
|
mksh – The iShell
Try this:
$ cvs -d [email protected]:/cvs co -PA mksh
$ cd mksh
$ cat >iBuild.sh <<-'EOF'
DEV=/Developer/Platforms/iPhoneOS.platform/Developer
SDK=${DEV}/SDKs/iPhoneOS2.0.sdk
CC="${DEV}/usr/bin/gcc-4.0
... [More]
-arch arm"
CPPFLAGS="-I${SDK}/usr/include"
CPPFLAGS="$CPPFLAGS -I${DEV}/usr/lib/gcc/arm-apple-darwin9/4.0.1/include"
CPPFLAGS="$CPPFLAGS -F${SDK}/System/library/Frameworks"
CPPFLAGS="$CPPFLAGS -F${SDK}/System/library/PrivateFrameworks"
CPPFLAGS="$CPPFLAGS -F/System/library/Frameworks"
LDFLAGS="-L${SDK}/usr/lib -L${DEV}/usr/lib/gcc/arm-apple-darwin9/4.0.1/lib"
export CC CPPFLAGS LDFLAGS
exec "$@"
EOF
$ mksh iBuild.sh mksh Build.sh -r
$ file mksh
Mach-O executable arm
Of course, you need the iPhone 2.0 SDK on your Mac for this (and,
presumably, an installed native mksh… otherwise just change the above
instructions a little.
We haven't tested it yet, but if gecko2@ can figure out how to run
mobileterminal.app inside the emulator, he will… and possibly jailbreak
his iPhone G3.
Maybe this fact (availability of mksh) strengthens our point.
In the meanwhile, gecko2@ has found the geocaches I placed.
Update 18.07.2008 12:42 – we have a fat binary with
five architectures (amd64 arm i386 powerpc ppc64) now. This is the iShell, indeed. [Less]
|
The MirBSD Korn Shell R35 has just
been released; as per the Changelog
this is a major update with some bugfixes, a lot of new features, and
licence simplification (the advertising clause is gone). This version
was not tested on AIX, BSD/OS
... [More]
, Interix, IRIX, GNU/kFreeBSD, UWIN, the Intel
compiler, but we expect no regressions on these platforms either. New
supported platforms include dietlibc, LLVM. Platforms already working
continue to be MirOS BSD, DragonFly BSD, FreeBSD, MidnightBSD, NetBSD,
OpenBSD, DEC ULTRIX, Mac OSX, HP Tru64, HP-UX, Solaris, Debian GNU/HURD,
Cygwin, and various GNU/Linux systems; using gcc, pcc, SUNWcc, llvm-gcc,
Compaq C, HP aCC, TenDRA; on a variety of hardware architectures.
Online manual: HTML,
PDF (ISO A4 paper, we
don’t support Imperial units, as even the USA has converted to Metric)
Update 18.07.2008 – mksh R35b is out, with major bug
fixes, read the changelog. [Less]
|
Back home… there just ain’t such place as [::1]… (that’s localhost for all
of you who don’t use BSD). Swinging on the bike and going to the ice dealer,
the best of them all. It was kind of nice in Switzerland and it’ll be a hard
decision for me
... [More]
whether I’m going to move there or not. But after arriving
at home, past the bike tour, I fell into sleep pretty soon. Travelling may
be interesting, but it sure is tiring.
Too bad I couldn’t find the two geocaches I looked for on the way back.
I hacked some mksh on the train, until
I had no power left in the batteries… the laptop literally just went off
all suddenly… and continued that until now. We have some quite interesting
new features in now, only sad point is that we still can’t hexdump NUL.
I should definitively get my new server (tear) running now, for which the
only dependency left ought to be the updated vnd(4) crypto stuff. This will
take a while, as I’ll design a new on-disc format as well for improved
security (think of keys, IVs, and so on). After that’s done I’ll give y’all
a snapshot of MirOS-current, and update a lot of ports.
Maybe I should work on bringing a regular sparc boot floppy into the tree
as well – last time, I had to hand-craft one. But it will be lacking.
There’s so much interesting stuff to do. Working on the Zaurus, ALIX, my
SPARcstations (still no big monitor yet, so I couldn’t test Miod’s patch to
make tvtwo(4/sparc) work yet), more FreeWRT devices… but I can’t neglect my
dayjobs either. And I ought to learn to read and fix Perl *sigh*
This sucks: I have network (internet) outages since last night. Sometimes,
ppp(8) pppoe(8) still work when pppoe(4) doesn’t, but most of these times,
both are unusable. The rest of the time, I sometimes have huge lags. My ISP
(which unfortunately is a telco, but they aren’t completely clueless either)
wanted to upgrade me from a 4 Mbit/s connection to a 6 Mbit/s connection as
the old product doesn’t even exist any more (and I’ll save 10 €/month now),
and the cable length (230m) isn’t an issue either. Testing today (as per the
salesman I should have it May 1st, per the acknowledgement mail April 15th)
I’ve got about 6 Mbit/s down, but my upstream speed is even reduced! WTF?
Argh! Later on this night, my network connection is so flakey… [Less]
|
The MirBSD Korn Shell R33d has been
released, mostly containing a security fix for the -T option,
see the Changelog for details.
A new MirMake version has been issued, to fix problems compiling C
code with strange file extensions (.cpp as on
... [More]
Microsoft® Windows®, and
.C as BOINC uses). MirMake is a sort-of-portable version of the MirOS
make(1) utility, a few header files and a libmirmake.a containing helper
functions, and some supporting utilities: install(1) lndir(1) lorder(1)
mkdep(1) readlink(1) tsort(1)
The MirPorts Package Tools have been updated as well, as Lucas “laffer1”
Holt, the MidnightBSD founder, has implemented ldconfig(8) -U too,
and the use of this option by pkg_create(1) is now required for a lot of
packages (since GNU libiconv, expat and libpng use their own fake-pkgview
subdirectories.
Hashes of our current distfiles:
RMD160 (gzsigkey.cer) = 0a24e416b26e4753eee4cbfe8f1dc74f2486eb6e gzsig(1) distribution sign key
RMD160 (fwcf-1.05b.tar.gz) = 355e1a46ef384b4ca26cccb7892a2f60eff2ffe2 for FreeWRT
RMD160 (libnointl-20070726.tar.gz) = 3b97197a9bd8f693bebd8b528dd0d5c942e83e64
RMD160 (arc4random.c) = ad0ef189b7ffe80b9224b1f3886377847341bac5
RMD160 (joe-3.1jupp8.cpio.gz) = bbcc42ff82fd7a47feb51579864a487f31ca3a91
RMD160 (cksum-20080314.cgz) = 7566313c6db3182a99437eb6543b0da6abbed5bd
RMD160 (paxmirabilis-20080314.cpio.gz) = 3966925c2d87838b0b55e2a0c715f027df3d965b
RMD160 (ed-20060924.tar.gz) = 7d41e76e169caa73c8bbd043ad40b2b84339761a
RMD160 (mirmake-20080411.cpio.gz) = e18bd36bc6c260332ab5df008f30b57a9849bc50
RMD160 (mksh-R33d.cpio.gz) = d810a705b01e146f9addd184c168798a22a36d38
RMD160 (mpczar-20061119.cgz) = cccf88ae27225c808f327ae7d56dbd9f2c053249
RMD160 (mirmtree-20050912.cpio.gz) = b4de12ddfd022538732b2c14dad60c2351b3011c
RMD160 (mirnroff-20050912.cpio.gz) = 5063466a267a64b3f088c86a29e011b5ad712c4a for Interix ONLY
RMD160 (sitetmac-20071023.tar.gz) = 107e5b64ecbf1214e19681f6fc0add6599fef25d temporary
RMD160 (tmacmbsd-20071003.tar.gz) = 223c38916e489469703627b189f6fc16b9a36e27 temporary
RMD160 (patch-20051110.cpio.gz) = ac32b2b0a1e7203256ec4bd255c7525053afb3ed for Interix
RMD160 (pkgtools-20080411.cgz) = edf320a3798aa40c015e57c579310df754f28820
RMD160 (rdate-20070817.tar.gz) = 3501ae05c05d7c4f39ccb1c76dd51663c2b91e34
RMD160 (mirsort-20050912.cpio.gz) = 69a1a632c7343c09ca7bab39f6359667bb461c1c
[Less]
|
The MirBSD Korn Shell R33b has just
been released; as per the Changelog
this is a minor update: portability fixes, support for dæmonising scripts,
and manual page improvements.
Online manual: HTML,
PDF (ISO A4 paper, we
don’t support Imperial
... [More]
units, as even the USA has converted to Metric)
UPDATE 02.04.2008: mksh R33c is
out, with a bugfix and a new fully supported OS (ULTRIX 4.5). [Less]
|
Posted
about 16 years
ago
mksh R33 has been released; read the
ChangeLog for details. (Happy
Birthday to everyone who has on this day.)
The news in short and human-readable:
Improved build system, once again; better error tracking; better
portability with regards to
... [More]
tools in /usr/bin at build and compilers
Integrate all changes from OpenBSD ksh
Integrate some changes from Debian: the “dot” command needs an
argument; prevent namespace conflict between (built-in) aliases and
(POSIX, not Korn) shell functions
Add \uXXXX and \xXX escapes to the print builtin
No longer check if we are called as “sh” for special handling
Implement here strings: you can now replace print -r -- "$foo" |
command with command <<<"$foo" – like ksh93, zsh;
GNU bash behaves differently if and only if $foo is not quoted
Implement string replacement ${var/pattern/string}
Especially cool feature: replace x=$(print -r -- "$x" | sed -e
's/foo.*bar/baz/g') with x=${x//foo*bar/baz} ☺
Note: the distfile is not here yet, it’ll take a while to be released.
Once it’s uploaded, the mksh homepage
will be updated with appropriate information. UPDATE: It’s out now. [Less]
|