🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: VioGetMode in MSC 6.00A

#19
From: hank
Date: Wed, 28 Oct 1992 04:33
24 lines
1587 bytes
In article <mark.720224567@snark>, mark@snark.itc.gu.edu.au (Mark Hessling)
writes:
> The problem is you have to tell VioGetMode the size of the return buffer.
> This code is part of PDCurses for DOS and OS/2 (a rewrite and update to 
> PCCurses 1.4 for DOS that includes color, pads and most System V R3.2 
> functions) and works:
> 
> 
> VIOMODEINFO modeInfo;
> 
> modeInfo.cb = sizeof(modeInfo);
> VioGetMode(&modeInfo, 0);

Thanks to both johnb@grace.cri.nz (John Burnel and Mark Hessling. This was
exactly the problem.  I knew about PDcurses--I should have retrieved it before
I posted my question. 

sc (Spreadsheet calc) for OS/2 1.x--2.0 and MSDOS appears to be working. After
testing, I will post to ftp-os2.nmsu.edu. I may try to use the new PDcurses.
If anyone else is working on a port, note that there are a few changes 
required in the posted versions of sc and PCcurses. 

-- 
--Darrel Hankerson hank@ducvax.auburn.edu
Technical Details
Message-ID: <1992Oct27.233351.1@ducvax.auburn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ames!sun-barr!cs.utexas.edu!sdd.hp.com!nigel.msen.com!yale.edu!jvnc.net!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hank
References: <1992Oct27.001633.1@ducvax.auburn.edu> <mark.720224567@snark>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ames!sun-barr!cs.utexas.edu!sdd.hp.com!nigel.msen.com!yale.edu!jvnc.net!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hank
From: hank@ducvax.auburn.edu
Subject: Re: VioGetMode in MSC 6.00A
Message-ID: <1992Oct27.233351.1@ducvax.auburn.edu>
Lines: 24
Sender: usenet@news.duc.auburn.edu (News Account)
Nntp-Posting-Host: ducvax
Organization: Auburn University, AL
References: <1992Oct27.001633.1@ducvax.auburn.edu> <mark.720224567@snark>
Date: Wed, 28 Oct 1992 04:33:51 GMT
Lines: 24