Update autosetup/jimsh0.c to a working version