tag 496167 + pending thanksThe solution to this problems is fairly standard and provided by the binfmts-support package. I have checked this into the repository and it will make it into the first release where I am maintainer.
http://anonscm.debian.org/cgit/collab-maint/ksh.git