Article View: comp.os.os2
Article #790Re: Utils dont work in a window - WHY?
From: David Bolen
Date: Mon, 05 Oct 1992 15:24
Date: Mon, 05 Oct 1992 15:24
30 lines
2185 bytes
2185 bytes
In article <jdecarlo.296.718306242@mitre.org> jdecarlo@mitre.org (John DeCarlo) writes: >Of course, it doesn't have to be a DOS app you are running. Check out the >versions of PKZIP2.EXE and PKUNZIP2.EXE on ftp-os2. Neither program will >run in a DOS window, yet both will start up full screen OS/2 sessions if you >run them from an OS/2 windowed session. That's because those executables were not marked (in their header) as being supported in a windowed command prompt. There are actually very few OS/2 text executables that won't work in a windowed prompt, but there are some Vio* services that a windowed prompt doesn't support. Normally, you set this flag in the executable during the linking stage of building it, but it can also be done after the fact. If you have any sort of OS/2 development environment (compiler, toolkit, etc..) look for a utility called winable.exe (the older versions) or markexe.exe (a newer version) that let's you make this change. There may also be a similiar utility on ftp-os2 somewhere. If you set the bit to indicate a window compatible application, you'll be able to run them in a window without a problem. -- -- 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:
<1992Oct05.192053.3365@ans.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!gatech!news.ans.net!ans.net!db3lReferences:
<1992Oct1.144418.14009@alf.uib.no> <price.717967414@helios> <jdecarlo.296.718306242@mitre.org>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!destroyer!gatech!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: <1992Oct05.192053.3365@ans.net> In-Reply-To: jdecarlo@mitre.org's message of Mon, 5 Oct 1992 17: 30:42 GMT Date: Mon, 5 Oct 1992 15:24:37 GMT References: <1992Oct1.144418.14009@alf.uib.no> <price.717967414@helios> <jdecarlo.296.718306242@mitre.org> Organization: Advanced Network & Services, Inc. - Elmsford, NY Lines: 30