Comment 2SX6 Re: mksh workalike


Vulnerability in Bash Shell widespread and serious


mksh workalike (Score: 2, Interesting)

by on 2014-09-25 11:44 (#2SX5)

If you don't need quite all the bash-isms, mksh is a great lightweight replacement, which is almost entirely drop-in compatible:


I prefer mksh primarily because bash goes horribly brain-dead when you attempt line-editing on command lines that wrap-around to the next line. Your bash session becomes practically unusable after you hit that limit (which I do, often) and it first wigs-out:


It doesn't hurt that the mksh binary is 3.4X smaller, starts-up faster, is more responsive, can be statically linked, and doesn't hold open 28 files, all of which matters a lot in a minimal system recovery type situation.

Re: mksh workalike (Score: 1)

by on 2014-09-25 11:54 (#2SX6)

Yeah, I've seen that freak-out too, and it's annoying. Are you running term on blackbox, by the way? How wonderfully oldschool (and non-UTF). If Aterm had only gotten utf support I'd still be using it now.

Junk Status

Not marked as junk