www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2014/04/10/20:30:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <dont_use_email AT xnothavet DOT cqm>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: What other DPMI hosts work with DJGPP?
Date: Thu, 10 Apr 2014 20:19:08 -0400
Organization: Aioe.org NNTP Server
Lines: 39
Message-ID: <op.xd4lt6nq6zenlw@localhost>
References: <op DOT xdxwpebn6zenlw AT localhost> <li0bqa$a8f$1 AT speranza DOT aioe DOT org>
NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse AT aioe DOT org
User-Agent: Opera Mail/12.16 (Linux)
X-Notice: Filtered by postfilter v. 0.8.2
Bytes: 2462
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 08 Apr 2014 04:25:46 -0400, Martin Str|mberg  
<ams AT dexter DOT ludd DOT luth DOT se> wrote:
> In comp.os.msdos.djgpp Rod Pemberton <dont_use_email AT xnothavet DOT cqm>  
> wrote:

>> So, I have code to prevent the app from starting when CWSDPMI
>> or CWSDPR0 is *not* the DPMI client.  This is to just prevent
>> PMODEDJ.  But, I really don't want to prevent the app from
>> working with other DJGPP compatible DPMI hosts.  So, I'm
>> trying to find out if I should allow any other clients and
>> just which clients they are.
>
> Hmm... Why not use a blacklist in stead of a whitelist?
>
> Then if somebody says SOME_DPMI_SERVER doesn't work, you add
> that one to the blacklist?
>

Sorry for the delay, I really wasn't quite sure how to reply to
this.  There are *SO* many issues and aspects.  If I hadn't
waited, I would've had like ten different replies ...

Information provided from the DPMI client about the DPMI client
is somewhat limited, more so for pure DPMI 0.9 clients.

DPMI 1.0 clients or DPMI 0.9 clients which support DPMI 0401H
"Get DPMI Capabilities" return the name of the client and so
they're easily identified.  But, DPMI 0.9 only clients aren't
so easily identified.  They only support DPMI 0400H "Get DPMI
Version" which returns version numbers, but not the name of the
client.

So, I'm doing the best I can with what I can determine from DPMI
calls.  Personally, I have no real preference either way as to
a blacklist or whitelist.  I just like to prevent PMODEDJ (and
other common non-nestable clients), while allowing nestable clients.


Rod Pemberton

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019