Article View: comp.os.os2
Article #780Re: Utils dont work in a window - WHY?
From: David Bolen
Date: Thu, 01 Oct 1992 23:23
Date: Thu, 01 Oct 1992 23:23
33 lines
2226 bytes
2226 bytes
In article <unruh.717986584@physics.ubc.ca> unruh@physics.ubc.ca (William Unruh) writes: > How does OS2 know if it is an OS2 or a DOS application? There are flags in the executable header. > Why can't DOS > applications just run in an OS2 window- esp if they do not use > graphics? Well, an OS/2 window is attached to an OS/2 session. Therefore, it contains none of the DOS emulation support necessary to execute DOS executables. You need to start a DOS session for that. Now, I suppose it would be possible to start the DOS session in the background, and still direct output to the OS/2 window the executable was started from. However, that would be limited to a small number of DOS applications that used DOS or BIOS for output, or would entail a decent amount of overhead if it trapped DOS screen accesses and adjusted them into OS/2 calls. Plus you get the overhead for the OS/2 process to talk to the DOS process. This doesn't mean it can't be done - who knows, maybe IBM is working on it. It would certainly be nice for all the simple command line DOS utilities out there. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ Internet: db3l@ans.net / | Advanced Network & Services, Inc. \ Phone: (914) 789-5327 | / 100 Clearbrook Road, Elmsford, NY 10523 \ Fax: (914) 789-5310 \ \-----------------------------------------------------------------------/
Technical Details
Message-ID:
<1992Oct02.031942.12161@ans.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!caen!malgudi.oar.net!news.ans.net!ans.net!db3lReferences:
<1992Oct1.144418.14009@alf.uib.no> <price.717967414@helios> <unruh.717986584@physics.ubc.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2,comp.os.os2.misc,comp.os.os2.apps,comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!caen!malgudi.oar.net!news.ans.net!ans.net!db3l From: db3l@ans.net (David Bolen) Subject: Re: Utils dont work in a window - WHY? Sender: news@ans.net (News Administrator) Message-ID: <1992Oct02.031942.12161@ans.net> In-Reply-To: unruh@physics.ubc.ca's message of Fri, 2 Oct 1992 00: 43:04 GMT Date: Thu, 1 Oct 1992 23:23:22 GMT References: <1992Oct1.144418.14009@alf.uib.no> <price.717967414@helios> <unruh.717986584@physics.ubc.ca> Organization: Advanced Network & Services, Inc. - Elmsford, NY Lines: 33