On Sun, 4 Aug 2002 16:35:56 +0100 (BST), Bart Oldeman wrote: >On Sun, 4 Aug 2002, Per Jessen wrote: >> How do people get a DOS returncode reflected back where dosemu >> was started from ? eg. a shell. > >exitemu calls int e6, ax=ffff. The unix termination code is in BL. Well >it should be but I can't see it. > >So it's easy to write your own exitemu if this actually works -- I'm not >sure why not yet. It can just call int21/ah=4d to get the DOS return >code. Maybe this should be an option, also using "exitemu 2" to exit >with code 2.
My thoughts exactly - just a sanity-check. How about 3 options for exitemu: 1. "exitemu <nnn>" - return specified number as returncode. 2. "exitemu rc" - to return most recent DOS returncode 3. "exitemu" - maintain current behaviour. I would really prefer to have (2) as the default - could be configured, I guess. thanks, Per regards, Per Jessen, Zurich http://www.enidan.com - home of the J1 serial console. Genius may have its limitations, but stupidity is not thus handicapped. - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
