HDTenEightyP/NetNews huggingface dataset:
From: utter@acsu.buffalo.edu (William M. Utter)
Newsgroups: comp.os.os2.programmer
Subject: IBM C Set/2 and Com Port Help
Date: 8 Jan 93 02:18:05 GMT
Organization: UB


	I recently received the 11/92 PDK and have started to do some 
programming with it.  My app. requires the use of the com port.  I use
a DosOpen and successfully open the port.  But each DosDevIOCtl call
fails.  I have several sample source codes for accessing the com port
but all of them were developed before OS/2 2.0 was released.  None of
them will compile under the 11/92 PDK.

	Has anyone gotten the 11/92 PDK to access the com ports? 
-- 
Bill Utter   utter@acsu.buffalo.edu

Living and Loving OS/2 2.0!
From: bigbill@vnet.ibm.com (Bill Sarantakos)
Date: Mon, 4 Jan 93 03:34:34 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: IBM C++ Pricing and Availability?
Organization: OS/2 C++ Development (IBM Canada Lab in Toronto)
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

>Has anyone heard any rumors about whether CSet/2 will be replaced by
>this C++ package once it becomes available, and whether an upgrade
>path from one to the other will be provided?

You will be taken care of.  That's about all I can say at this point.

Bill
Newsgroups: comp.os.os2.programmer
From: papresco@cantor.math.uwaterloo.ca (Paul Prescod)
Subject: Re: Getting DOS to talk to OS/2
Organization: University of Waterloo
Date: Mon, 11 Jan 1993 12:52:03 GMT

>I didn't think it was possible, but, guess what?  Someone's done it.
>
>Retrieve the file os2exec.zip, available via anonymous ftp from
>ftp-os2.nmsu.edu.  It is now in directory /pub/uploads, but it will be
>moved shortly.

Once again. Tim comes to the rescue.  Thanks alot.  

Gee, I was just gearing up to program it, and distribute it, and become
famous.
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
Date: Wed, 6 Jan 93 04:40:39 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: Device Drivers
Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)

In <13786@icarus> Rick Reitmaier writes:
>    Hi,
>
>    A question about device drivers under OS/2.
>
>    I'm currently trying to program a device driver in
> C (no assembler for me, thanks).  I've been able to figure
> out most things, except for access to the request packet's
> address.  How do I get the pointer to the packet from ES:BX
> (physical device driver reference p3-5) while in my strategy
> routine?
>

Somewhere, you're going to have to code some assembly to access the registers
like ES:BX and the ones for calling Device Help routines.  If you using a C
compiler that supports it, e.g. MS-C V6, you can use inline assembly.
Otherwise you're going to have to code some MASM routines and link them with
your C code.
From: beders@wip-sol.dfki.uni-sb.de (Jochen Bedersdorfer)
Newsgroups: comp.os.os2.programmer
Subject: Assemblerprogramming using GCC/EMX
Date: 4 Jan 1993 13:32:30 GMT
Organization: DFKI Saarbruecken GmbH, D-W 6600 Saarbruecken
Distribution: comp
NNTP-Posting-Host: dfki.uni-sb.de


Hello Folks,

I am looking for a way to link assembler routines with
C-routines using EMX/GCC.
I can halt the compile-process with assembler-source as output.
Can I change that file for my purposes and then compile
it to an executable ?? (Strange way, I know !)
There must be some declarations in both C and ASS-File
such as "extern func" etc.
But waht`s it exactly ?

I`d like to write a BitBlt-like-routine for direct VGA-memory access
using VGALIB.

I`m also searching for a good book about 386-Assembler.
Any suggestion would be appreciated.


Happy, OS2ish New Year, :)ochen

PS: A call for german OS/2-Users:
Hat schon jemand das deutsche SerivcePack im Internet gesehen ??
Das Teil liegt in Stuttgart in der IBM-Mailbox, aber es
ist billiger fuer mich, das Teil ueber Internet zu saugen :)



--

----====###################====--------====##################====----
--==#### Jochen Bedersdorfer (beders@wip-sol.dfki.uni-sb.de) ####==--
--                                                                 -- 
--==####      "666 is no longer alone ...", Genesis          ####==--
----====###################====--------====##################====----
	  




			        
Newsgroups: comp.os.os2.programmer
From: jahargra@dante.nmsu.edu (HARGRAVE III)
Subject: Porting GNU Smalltalk
Organization: New Mexico State University, Las Cruces, NM
Date: Sun, 10 Jan 1993 18:19:47 GMT

Hi,
Someone uploaded the GNU Smalltalk 1.1.1 to ftp-os2.nmsu.edu
in the file smaltalk.zip (not sure where it is now).  After
unzipping the file I found no OS/2 specific stuff (makefiles 
etc..).  Could some hot shot programmer take a look at this code 
and attempt to port it to OS/2 2.X.  I've gotten the code to
compile (with some warnings) but some of the test code fails.

It would really be nice to have a free Smalltalk for OS/2. I
think only a few hours work would be required.

                                 Thanks,
                                 Jim Hargrave
                      
                                 jhargrav@nmsu.edu
From: GG.MPD@forsythe.stanford.edu (Michael Durket)
Newsgroups: comp.os.os2.programmer
Subject: Printing ASCII
Date: 7 Jan 1993 09:17:52 -0800
Organization: Stanford University
Distribution: na
NNTP-Posting-Host: morrow.stanford.edu

Is there an interface into OS/2 printing that allows you to
submit an ASCII file to be printed on any printer (i.e. does
OS/2 have a general purpose ASCII to printer-dependent page
formatting routine)? I'd like to avoid writing a routine to
do this for my program if one already exists that I can use.

Any assistance is appreciated.
Xref: sparky comp.os.os2.programmer:7420 comp.os.os2.advocacy:11899
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: des@inmos.co.uk (David Shepherd)
Subject: Re: Why you should get everything in writing (long)
Followup-To: comp.os.os2.programmer,comp.os.os2.advocacy
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 8 Jan 93 14:05:04 GMT

Eirik Lygre (ekl@kvamdata.no) wrote:
: I realize that Bob is pissed off -- I would, too. One thing, though, is that
: the driver he needs is owned and copyrighted by Microsoft. Perhaps he could
: talk to them, and have them release it. That way, he could (perhaps) get
: his investment back. Given that Microsoft has a much better track record
: with developer support, they would probably help him.

You must be joking! Microsoft (and IBM) see OS/2 to be direct competition 
with Windows and NT and they have been doing there best to hinder OS/2
(or at least to do nothing that could be seen to promote it) - i.e.
remove OS/2 support from MSC, terminate OS/2 SDK, generally badmouth OS/2
at all opportunities, choose not to producve OS/2 v2 versions of their
apps, limit OS/2 support in NT to character based. From a business
point of view it is just not in MS's interest to allow any OS/2 orientated
code that they have rights to out. 

Of course this goes both ways - IBM did their best to make things difficult
for MS after the break up by pointing out all the IBM patents that MS
were using. Unfortunately Bob is the little guy trapped in the middle
of someone else's battle.

--
--------------------------------------------------------------------------
david shepherd: des@inmos.co.uk                     tel: 0454-616616 x 625
                inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq
                New Year Resolution for 1993: Start using capital letters.
Newsgroups: comp.os.os2.programmer
From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
Subject: Re: CSD for PDK IBM C set/2
Organization: University of Maine, Department of Computer Science
Date: Fri, 8 Jan 1993 15:29:40 GMT

In article <C0IK98.EIs@acsu.buffalo.edu> utter@acsu.buffalo.edu (William M. Utter) writes:
>
>	I found a Csd for the 11/92 PDK of IBM C Set/2 compilier. I tryed
>to install the CSD but it said that nothing needed to be serviced. It
>couldn't even seem to find the C Set/2 compilier... Has anyone gotten the
>CSD to work and if so how... I think I might have changed the path when I
>installed the compilier, but it is in all the paths and lib paths in the
>config.sys file so it should of been found by the CSD right???

There is no CSD for the Beta product.  The CSD is for the GA (1.0) release.
Thus, service is correct in stating that there is nothing to service.
The next PDK CDROM will/should have fixes and updates to the BETA version
that you have.  (As far as I know, it hasn't been released yet...and
I certainly have no idea when.

Jeff



-- 
--------------------------------------
jurlwin@gandalf.umcs.maine.edu

Newsgroups: comp.os.os2.programmer,comp.graphics,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer
From: thinman@netcom.com (Technically Sweet)
Subject: Re: Fixed point sqrt anyone?
Organization: International Foundation for Internal Freedom
Date: Thu, 7 Jan 1993 20:50:14 GMT

See Graphics Gems 1.  FTP to princeton.edu, the source is there somewhere.

-- 

Lance Norskog
thinman@netcom.com
Data is not information is not knowledge is not wisdom.
Newsgroups: comp.os.os2.programmer
From: rafetmad@cheshire.oxy.edu (David Giller)
Subject: Re: Why you should get everything in writing (long)
Organization: Occidental College, Los Angeles, CA 90041
Date: Mon, 11 Jan 1993 00:16:03 GMT

stewarta@netcom.com (Alex Stewart) wrote:
>OK, here's the situation as I understand it:  Bob talked to some guy in DAP who
>told him he could get the source code.  Based on this he quit his job and
>invested $100,000 in his project.  Evetually he found out from somebody else
>that IBM _could_not_ legally provide the source code, because Microsoft
>wouldn't let them.  And now he's mad at IBM?
>
>Bob made a (very serious) mistake, the DAP guy (either deliberately or
>accidentally) was wrong, Microsoft is just being generally scummy towards OS/2,
>but I can see no fault here in either IBM or their DAP (it was mentioned that
>the employee in question was no longer with IBM.  Whether voluntarily or not,
>we'll probably never know, but I wouldn't be surprised at the latter).
>
>All in all, this whole thing was quite unfortunate all round, but blaming IBM
>for all of it seems to me to be both completely pointless and wrong.

While I agree with you partially here, I think you're missing the
point a bit.  If IBM were serious about developer support, which they
MUST be if OS/2 is to be of any consequence, it is crucial that they
simply don't allow this type of thing to happen.

Perhaps Bob made a mistake in putting so much on the line, but
consider his position when he made the request.  He joined the DAP,
told IBM his intentions and asked for the driver source.  What
possible reason would he have for thinking that something as trivial
and standard as sample source code would be a problem?  Development
kits of these sorts always come with sample source.  That's almost a
given.

-- 
David Giller, Box 134 | Q: How many Oregonians does it take to screw in a light
Occidental College    | bulb?  A: Three.  One to replace the bulb, and two to
1600 Campus Road      | fend off all the Californians trying to share the
Los Angeles, CA 90041 | experience. ---------------------------rafetmad@oxy.edu
From: rvaniwaa@copper.denver.colorado.edu (Ronald J. Vaniwaarden)
Newsgroups: comp.os.os2.programmer
Subject: Re: emx .8f broke make 3.62
Date: 6 Jan 93 14:51:15 GMT
Organization: University of Colorado at Denver

In article <1iea8fEINNhqt@uni-erlangen.de> clemens@faui8a.informatik.uni-erlangen.de (Clemens Beckstein) writes:
>Could you possibly post the new executable?
>Would save many of us --- I guess --- a lot of hassles...

I would gladly post them to Hobbes if someone would be so polite as to tell me
how to do so...

--Ronald Van Iwaarden
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Newsgroups: comp.os.os2.programmer
Subject: Re: Wow! How convenient (Printer Spool Viewer)
Date: 4 Jan 93 16:34:57 GMT
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago

In article <1i78g8INN3l6@gap.caltech.edu> josephc@cco.caltech.edu (Joseph Chiu) writes:
>I'm currently writing a little DOS-based program that uses the printer
>on OS/2...  The ability to "test print" stuff without actually sending
>it to the printer (by HOLD-ing the printer) is GREAT!!!   Now, I can 
>make lots of "fine" changes to my output routines, and not waste a 
>single sheet of paper!
>Thanks OS/2!!!

Not only that, but if you print from a PM program (say, DeScribe)
while the queue is on hold, then you go to the print object, double
click on it, then double click on the print job icon, you'll find that
Picture Viewer starts and lets you view the print job, graphics and
all, before it prints.

Think of it as print preview for all your PM applications.

-- 
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.]
From: mustard@odin.sdrc.com (sandy mustard)
Newsgroups: comp.os.os2.programmer
Subject: Where are X header files?
Keywords: TCP/IP X
Date: 12 Jan 93 16:29:45 GMT
Distribution: usa


Where do I obtain the X header files neccessary to develop X programs
on OS/2?  I have installed TCP/IP from the 1092 PDK CDROM and have not
found them.

Sandy Mustard
sandy.mustard@sdrc.com
From: rouellet@gel.ulaval.ca (Real Ouellet)
Newsgroups: comp.os.os2.programmer
Subject: Help! How do I do DMA in a DOS window?
Date: 8 Jan 93 03:47:20 GMT
Organization: Universite Laval

I have this wuestion from a friend of mine:

He is working on a program that does DMA data transfers with a hardware data
acquisition card and, after having correctly programmed the DMA chip, his
program bombs out under OS/2 (sometimes makes OS/2 to crash as well!).

This program works very well under normal DOS, in Windows 3.1, using special
settings recommended by Microsoft for DMA transfers.

Question: are there settings with OS/2 that allow DMA transfers to work better
(at all, actually...)? He understands DMA transfers are virtualized and
knows of the existence of the "VDMA.SYS" driver, but does not know how to use
it.

He is using a version of OS/2 that has been updated with IBM's CSD.

Please feel free to reply by e-mail or in this forum, if you judge the subject
to be of general interest.

Many thanks!

Real Ouellet
LAVAL University
Dept. Elec. Engineering
rouellet@gel.ulaval.ca
Xref: sparky comp.os.os2.programmer:7445 comp.os.os2.advocacy:11965
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
Subject: Re: Why you should get everything in writing (long)
Date: 8 Jan 93 22:08:08 GMT
Reply-To: sip1@midway.uchicago.edu
Followup-To: comp.os.os2.programmer
Organization: Dept. of Econ., Univ. of Chicago

In article <1993Jan8.125232.5777@Informatik.TU-Muenchen.DE> rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
>A bit off topic (but more related to this group), wouldn't it be better
>to integrate a PostScript to <whatever printer> converter into a queue
>processor and use it with the normal PSCRIPT driver? Isn't the queue
>processor the part which gets the PS from the spool file (the PSCRIPT
>driver puts it there) and sends it to the port?

Kai, I was thinking the very same thing.  It would certainly be a heck
of a lot easier, wouldn't it?

(In a nutshell, you'd drop in the GhostScript code, put the queue
processor wrapper around it, and let it act as an intermediary between
the applications which are doing the printing and the device-specific
print drivers.)

You could also do it as a device monitor (a la LPRMON in TCP/IP), but
I don't recommend it.

Correct me if I'm wrong, but I think the queue processor programming
is rather straightforward and well documented, no?  Or am I missing
something?

I obviously hope this matter can be resolved to everyone's
satisfaction, and that such incidents occur rarely, if at all, in the
future.

-- 
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.]
Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: Deleting Stubborn Object from the WPS
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Sat, 9 Jan 1993 02:01:34 GMT

In article <79481@hydra.gatech.EDU> gb8@prism.gatech.EDU (BEEBE,GARY E) writes:
>   I was playing around with the WPS Class Library in the software development
>tools folder and created an instance of the WPSound object. I've followed the
>supplied instructions but no matter what I do I can't delete this puppy from
>the WPS. What's the verdict guy's? How do I sent that silly little bell to
>bit heaven? 

Try the "Black Hole" Workplace Shell object.  This gem is available
via anonymous ftp from ftp-os2.nmsu.edu.  I believe the filename is
blakhole.zip, but check /pub/os2/00Index for 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.]
From: rvaniwaa@copper.denver.colorado.edu (Ronald J. Vaniwaarden)
Newsgroups: comp.os.os2.programmer
Subject: Re: emx .8f broke make 3.62
Date: 8 Jan 93 19:11:33 GMT
Organization: University of Colorado at Denver

For anyone who is interested, I have uploaded a new make that has been
recompiled for emx0.8f.  It appears to work fine now and I have used it
to compile most of the test directory without any trouble.  Look in the
uploads directory of Hobbes for gnumk362.zip.0.8f or something like that.

--Ronald Van Iwaarden
From: thompson@kuhub.cc.ukans.edu
Newsgroups: comp.os.os2.programmer
Subject: Porting to Borland Pascal for OS/2...
Date: 11 Jan 93 15:24:29 CST
Organization: University of Kansas Academic Computing Services

Hello all,

Anyone have any idea when Borland Pascal with Objects for OS/2 will
come out?  Will it come out?

I have a Windows application under development in Turbo Pascal for
Windows.  I want to port it to OS/2 as soon as Borland Pascal for
OS/2 comes out.  

Does anyone know what would be involved in porting?  Would I have to
retrofit some code to handle threads?  Any other potential changes?

Thanks,

-- 
| Charles A. Thompson      | thompson@ukanvm.cc.ukans.edu        |
| University of Kansas     | thompson@ukanvax.cc.ukans.edu       |
| > They call me SkiBum <  | 32 bit OS/2 2.0 is for you!         |
|----------------------------------------------------------------|
| Listen to Rush Limbaugh from 12-3 EST on the radio EVERYWHERE! |
------------------------------------------------------------------
From: peterf@vnet.ibm.com (Peter Forsberg)
Date: Fri, 8 Jan 93 08:36:30 SWE
Newsgroups: comp.os.os2.programmer
Subject: Re: CSD for PDK IBM C set/2
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

In <C0IK98.EIs@acsu.buffalo.edu> William M. Utter writes:
>   I found a Csd for the 11/92 PDK of IBM C Set/2 compilier. I tryed
>to install the CSD but it said that nothing needed to be serviced. It
>couldn't even seem to find the C Set/2 compilier... Has anyone gotten the
>CSD to work and if so how... I think I might have changed the path when I
>installed the compilier, but it is in all the paths and lib paths in the
>config.sys file so it should of been found by the CSD right???
>
>
>                                 Thanks
>
>                                      Bill
>--
>Bill Utter   utter@acsu.buffalo.edu
>
>Living and Loving OS/2 2.0!
>

If I'm not wrong (if I am, please correct me), the PDK contains a *BETA*
version of C Set/2. As has been said here many times, there are NO CSDs
FOR THE BETA COMPILER. The C Set/2 CSDs apply only to the GA COMPILER.
If you succeed in applying a GA CSD to the BETA compiler, I guess you'll
have a pretty f****d up compiler... Fortunately it doesn't seem to be
possible to do that.

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Newsgroups: comp.os.os2.programmer
From: romanf@glance.ch (Roman Fischer)
Subject: Re: C++ and Threads
Keywords: C++, Threads, Semaphores, Processes
Reply-To: rofische@iiic.ethz.ch
Organization: ETH-Zurich, Switzerland
Date: Thu, 7 Jan 93 07:20:18 GMT

In article <726341759.AA00000@blkcat.UUCP>, Matthew.Peters@f347.n109.z1.fidonet.org (Matthew Peters) writes:
|> I am currently writing a C++ program that is going to use a lot of Threads.  And

How many threads ?

|> since the Threads will be using a lot of globel lists of data, what is the best

Many lists, or always the same list?

|> way to let only one thread read/write the list at a time?  I am using system
|> sems.  Is there anything else that would be better to use?  The reason why I ask

If the threads are in different processes, yes. If you don't need to serialize
diffrent processes, just the threads in ONE process, use RAM-Sems.

...
|> Matthew


Well, it seems my last posting was lost somewhere. I uploaded a thread-class for C++
on ftp-os2.nmsu.edu some days ago. So if you like... This class also features parameter
passing to threads.
If there are any comments, problems or bugs, please let me know.


Bye         Roman


Newsgroups: comp.os.os2.programmer,comp.graphics,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer