🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2932

Re: DOS Box Programming

#2932
From: Timothy F. Sipples
Date: Thu, 17 Dec 1992 23:08
17 lines
1457 bytes
In article <1992Dec14.180704.29564@wicat.com> kevin@wicat.com (Kevin Vigor) writes:
>>Hi, I am wondering about programming a serial communication programme in DOS
>>but would like to make it "OS/2 aware".  Thus I have the following questions.
>>   1.  Is there a way to detect if a programme is operation in OS/2 2.0's
>>       dos box ?
>A question I'd like an answer to myself; however, at the moment, I am just 
>checking the DOS version; if the major version is 20 or higher, I assume
>I'm dealing with OS/2 2.x or better.

How about looking for an OS/2 2.x-specific file that will always be in
the same location?

-- 
Timothy F. Sipples      | Read the OS/2 FAQ List 2.0h, available from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [Read the List, THEN post to ONE OS/2 newsgroup.]
Technical Details
Message-ID: <1992Dec17.230826.5577@midway.uchicago.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!ellis!sip1
References: <boh.724320875@sfu.ca> <1992Dec14.180704.29564@wicat.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!ellis!sip1
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: DOS Box Programming
Message-ID: <1992Dec17.230826.5577@midway.uchicago.edu>
Sender: news@uchinews.uchicago.edu (News System)
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
References: <boh.724320875@sfu.ca> <1992Dec14.180704.29564@wicat.com>
Date: Thu, 17 Dec 1992 23:08:26 GMT
Lines: 17