Hi Murray, > I'm trying to install mksh on Win10. I see the various packages > referenced on http://www.mirbsd.org/getting.htm and > http://www.mirbsd.org/mksh.htm > > I've tried a few of the links. Another left me with Build.sh, but no > way to run it - perhaps for installing on another OS? I also tried > mksh-32-beta14 without making headway.
the idea here is that mksh is being compiled under a Unix-like operating system. The “bash on Windows” subsystem provides this, and when you have installed it you can even just “apt-get install mksh” and it “should” work. I’m informed that the LBW/WSL stuff installs a Debian derivative by default, which is supposed to work well enough. There are other subsystems, some work well (Interix, but that’s NT and win2k only), albeit slow (Cygwin), some work less well (UWIN)… but all of them emulate enough of a Unix-like operating system for mksh to be compiled under it. If you really want “just” mksh, to run scripts in the shell language mostly, mksh-w32-beta14 should do the trick. I don’t have a sufficiently recent Windows installation to test this myself (I do keep a win2k around for building jupp binaries on, but that’s about it). It *is* rather old and very limited because the NT kernel just does not work like a Unix kernel, but I’ve heard of people using it. From what I understand, you unzip the mksh.exe file and run it? Michael Langguth might know more… I’m delegating this to the mailing list, perhaps another user can help you better… I’m currently only using mksh on Windows as part of either Cygwin or (although I’ve got no installation of it at the moment) Interix POSIX environment. Note that mksh, in all instances, behaves like a proper Unix utility (i.e. expects LF-only newlines, not CR-LF, on all I/O and scripts) even when run on Windows; mksh-w32 seems to differ slightly, though (it is a separate project, after all). Good luck, //mirabilos -- <cnuke> den AGP stecker anfeilen, damit er in den slot aufm 440BX board passt… oder netzteile, an die man auch den monitor angeschlossen hat und die dann für ein elektrisch aufgeladenes gehäuse gesorgt haben […] für lacher gut auf jeder LAN party │ <nvb> damals, als der pizzateig noch auf dem monior "gegangen" ist