HDTenEightyP/NetNews huggingface dataset:
From: drvsim01@uctvax.uct.ac.za (Simon Driver)
Newsgroups: comp.os.os2.programmer
Subject: Looking for C compilers
Date: 16 Oct 92 12:44:56 GMT
Article-I.D.: uctvax.1992Oct16.104457.203124
Organization: University of Cape Town

Hi,

I'm going to start some shareware development for OS/2 soon, and I was
wondering if anybody could suggest a good PD 'C++' compiler for OS/2 along with
where to get it and the manuals.

Please send EMail replies - thanks in advance.

Cheers,
       Simon.
                    
-- 
*****************************************************************
\*****                                                          *\      
 *****   Simon Driver                                           **
 \****                                                          **\
  ****   InterNet : DRVSIM01@UCTVAX.UCT.AC.ZA                   ***   
  \***   FidoNet  : 5:7102/120.1                                ***\   
   ***              Simon.Driver@p1.f120.n7102.z5.fidonet.org   ****
   \**                                                          ****\
    **   Comment  : Pascal Programmers Do It With Indentation   *****
    \*                                                          *****\
     *****************************************************************
Xref: sparky comp.os.os2.programmer:5635 comp.os.os2.misc:32791
Organization: University of Illinois at Chicago
Date: Tuesday, 13 Oct 1992 16:39:31 CDT
From: <U52468@uicvm.uic.edu>
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Linking problems onder gcc 2.2.2

  I'm having problems linking under gcc/os/2.  First, gcc won't link by itself.
Fine, I use gcc -c and link386.. This works.. sometimes..  I have had, as of
yet, no success linking c++ programs.  The linker always reports this error:

Unresolved external entry:
  __CTOR_LIST__
  __DTOR_LIST__

I searched the object files I was linking and did not find these strings.  I
did find them, once each, in libc.lib and a number of times in the c++
library file.  This is confusing!   What am i doing wrong??

  Also, I have some object files I would like to turn into a library.  How
can I do this??

  dave!
Newsgroups: comp.os.os2.programmer
From: ignacij@meishan.animal.uiuc.edu (Ignacy Misztal)
Subject: problems in ar in emx 0.8d
Organization: University of Illinois at Urbana
Date: Thu, 8 Oct 1992 14:24:40 GMT

I have compiled several modules in c++ and assembled them in a library
using 
ar rcv libmy.a a1.o a2.o ...
The ar program executes ok and the list of its contents shows all members.
However, use of this library like:
gcc -o m.exe m.cc -lgpp -lmy
or 
gcc -o m.exe m.cc libmy.a -lgpp 
results in a message about missing functions. The program compiles fine
when all object files are given explicitely:
gcc -o m.exe m.cc a1.o a2.o .... -lgpp 
Am I missing something, or is it a bug in 0.8d? Does the same problem exists
in 0.8e?

On a related question, GNU make does not recognize the following line
from SUN make:
OBJECTS = $(SOURCES:.cc=.o)
Is this a standard make statement?
----------------------------------------------------------------------
Ignacy Misztal			E-mail: ignacy@uiuc.edu
University of Illinois		Phone: (217) 244-3164
1207 W. Gregory Dr.
Urbana, IL 61801
----------------------------------------------------------------------
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: PRESENTATION MANAGER QUESTION
Date: 9 Oct 92 19:24:44 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1auvr1INNjg0@falcon.natinst.com> uma@natinst.com (Uma Arunkumar) writes:
>****************** PM QUESTION in OS2 2.0************************
>I am a beginner in PM programming in OS/2 2.0. 
>
>
>I am just trying to create a child window.  
>I have created a main window with frame, sysmenu, scroll bar, 
>minimize maximize buttons etc using WinCreateStdWindow.  
>This window displays the company logo and product information.
>I have used some simple graphics functions.  
>As soon as the user hits any key, the next screen should be displayed.
>
>The questions are given below:
>(i) Do I have to create a child window or repaint the same window with the new textual information?
>(ii) HOW SHOULD I CREATE A CHILD WINDOW? 
>(iii) HOW SHOULD I REPAINT AN EXISTING WINDOW?
>(iv)   I tried giving 
>         WinPostMessage(hwnd, WM_ERASEWINDOW, (MPARAM) 0, (MPARAM)0);
>in order to clear the window so that I can put new textual
>information on the same window.  But the compiler complains
>that WM_ERASEWINDOW should be declared.  ( I had defined INCL_WIN, INCL_GPI).

To clear the current window, you should invalidate the contents (with
a WinInvalidateRect(...) call.  This will declare the region you want
(which you should make the entire window) invalid and will send you a
WM_PAINT message.  Then your WM_PAINT handling section of the message
handler can erase the region and draw the next screen using
appropriate GPI calls.

One other thing:  Don't make the user press a key.  This is PM.
Provide a button of some kind to click on.  You can always link a
keystroke to this button if you want to.
-- 
David Charlap         |"there aren't 50,000 things for which it's worth writing
dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
----------------------+ programmers to create that much good software.
Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
Newsgroups: comp.os.os2.programmer
From: jsuttor@netcom.com (Jeff Suttor)
Subject: Re: Send-Message hook killing EPM
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Wed, 7 Oct 1992 20:05:15 GMT

fred@oneup.Gwinnett.COM (Fred Christianson) writes:
>If I run EPM under IPMD, there are 2 threads on the stack when it dies.
>The first thread always has ETKE550:2 on the stack and the second thread
>usually has 8 or more entries on the stack each at 

>	ETKE550:2, ETKE550:4, ETKE550:5, or ETKE550:7.

*551 EPM stuff is available from software.watson.ibm.com

9-01-92   3:55p    414032          33  ETKE551.DLL
9-01-92   3:54p    163648          33  ETKR551.DLL
3-30-92  12:00p     17046           0  ETKTHNK.DLL

Maybe that will help ???
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
From: joiner@exa.cs.umn.edu (Jay K. Joiner)
Subject: Re: Price to join DAP?
Organization: University of Minnesota
Date: Mon, 12 Oct 1992 16:47:04 GMT

Since the DAP CD-ROM license runs out on December 15, 1992, does anyone
know about follow-up disks coming after that?

Jay Joiner

Newsgroups: comp.os.os2.programmer
From: andy@huey.jpl.nasa.gov (Andy Poulsen)
Subject: how to write auto-switch print program?
Organization: JPL Optical Interferometry Group, ...
Distribution:  world
Date: Sat, 17 Oct 1992 03:49:43 GMT

hi,

i've got an NEC silentwriter model 95 printer.  it's a postscript
printer that also has HP laserjet III emulation.  unfortunately, the
switching is done in software or from the control panel -- there is no
auotdectect in hardware as to whether it should be in postscript or
LJIII mode.  I've got the codees required to switch modes, but i'd like
to be able to have a program that monitors the printer port and check
the frist 2 bytes of each job to see if it's a postscript or LJIII file,
and changes the mode of the printer.

so the question is:  what's required to do this?  is there any hope of
getting a dedicated printer driver that incorporates auto-switching?  i
find this unlikely.  so the question becomes:  how does one write a
program to do this?

also, shen i tried to install the laserjet III driver, i wanted to put
it also on lpt1, and it's not happy with that.  what's the best wya to
have both printers being able to access lpt1?  having them print to a
file, and specifying lpt1.os2 as the file?

any help much appreciated.

thanks in advance!

andy

--
andy poulsen                   *
jpl 169-214/pasadena, ca 91109 *      we engineers have a saying:  
(617) 227-7655                 *
andy@huey.jpl.nasa.gov         *    we may be dumb, but we're slow...
 
Newsgroups: comp.os.os2.programmer
From: harris@garfield.catt.ncsu.edu (Michael Harris)
Subject: Re: CSet/2 Linking Conflict
Organization: North Carolina State University
Date: Thu, 8 Oct 1992 22:18:06 GMT

francis@vnet.ibm.com (Tim Francis) writes:

>In article <92281.101301UD092096@NDSUVM1.BITNET>,
>Barry Pederson <UD092096@NDSUVM1.BITNET> writes:
>>
>>The problem is that to use tcpip.dll, you have to link with the linker's
>>"Do not ignore case in symbol names" option activated.  Otherwise
>>
>>VIM, on the other hand, seems to require that you DON'T have "Do not ignore
>>case in symbol names" activated, otherwise the linker complains about
>>unresolved externals.

There are two solutions to this problem.

1. Link with "Do not ignore case",  specify your VIM functions in upper
   case, and uppercase the function prototypes in the .h file.

OR

2. Isolate your code that uses TCP/IP from your code that uses VIM into two
   separate modules.  Either an EXE and DLL or 2 DLL's and an EXE.  Link the
   TCP/IP stuff with "Do not ignore case" and the VIM stuff with "Ignore
   case".  Then you can call your functions in your VIM module with upper
   case function names from your TCP/IP module only.

For future reference... When you create a DLL, the way to avoid the problem
is to link your DLL with "Do not ignore case" and then create a special
.DEF file with both lowercase and uppercase versions of your exported functions
linked to the same ordinal value.  For example:

EXPORTS
   MyFirstFunction    @1
   MYFIRSTFUNCTION    @1
   MySecondFunction   @2
   MYSECONDFUNCTION   @2

I haven't ACTUALLY done this yet... but I'm going to sometime.  As I understand
it, this is how the OS/2 System DLL's are linked.
______________________________________________________________________________
     Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
 System Administrator, Computer & Technologies Theme Program, NC State Univ.
(My opinions are my own and do not represent those of NCSU or IBM Corporation)
Organization: Penn State University
Date: Sun, 11 Oct 1992 15:36:06 EDT
From: <BJT105@psuvm.psu.edu>
Newsgroups: comp.os.os2.programmer
Subject: Re: Need mvdm.h?

mvdm.h, as far as I know, is only used by the virtual device drivers.  You
can get a copy of that header file by getting the Virtual Video DDK (and
possibly elsewhere).  You can get the VV DDK by calling the developers
assistance program.

Bernie
From: joe@proto.com (Joe Huffman)
Newsgroups: comp.os.os2.programmer
Subject: Re: I need a c/c++ compiler and debugger for OS2 2.0
Date: 11 Oct 92 07:37:51 GMT
Organization: FlashTek, Inc.

cjs33278@uxa.cso.uiuc.edu (Carl+Chris Samos) writes:

>On Monday I am going to order a new C complier.  I would like a C/C++
>compiler, and I need a debugger.  What options do I have?  I see that
>Zortech has a C++ compiler for OS2 2.0, but does it have a debugger?

No.  And it isn't shipping yet either.
-- 
netcom!proto!joe
joe@proto.com
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc,news.answers
From: Michael.Fulbright@f1.n100.z60.wlink.nl (Michael Fulbright)
Newsgroups: comp.os.os2.programmer
Subject: Beta Release of Sound Blaster Device Driver
Date: Tue, 13 Oct 1992 09:28:59 -0100

Organization: University of Arizona UNIX Users Group

I am announcing the release of a OS/2 V2.0 device driver for
the Sound Blaster and Sound Blaster Pro. I have a brief description
of the driver posted below. I am looking for people who want to
test the driver for me on their systems. The driver is
available via anonymous ftp on

astro.as.arizona.edu [128.196.176.1]

in the directory /pub/SBOS2. Look for the file sbos2v09.zoo.

In addition to the device driver, i've included a PM based utility
to control the mixer portion of the SB Pro. Additionally, I have
included a multi-threaded version of a unix .MOD player. These
supplemental programs require EMX v0.8e to compile.

michael fulbright
msf@as.arizona.edu


Description follows:
------------------------------------------------------------------------
	  SOUND BLASTER (tm) OS/2 DEVICE DRIVER VERSION 0.9
		Michael Fulbright (msf@as.arizona.edu)


	(SOUND BLASTER is a trademark of Creative Labs, Inc.)




INTRODUCTION
------------

  Currently there is a lack of free SB programming tools under
OS/2.  This package is intended to help rectify this problem by
providing a Sound Blaster device driver for OS/2 V2.0.  The SBOS2
device driver has the following features:

 - Uses the standard file system commands DosOpen, DosRead, DosWrite, 
   and DosClose to sample and playback digitized sounds.

 - (SBPro only) Provides direct access to on board mixer

 - (SBPro only) Stereo playback

 - Double buffered DMA sampling/playback with 64k buffers.

 - Allows development of Sound Blaster software using a high level
   language, such as Cset/2 or GNU GCC.

 - Requires no additional development tools (include files, libraries, etc).
   GNU GCC is all you need.

  The device driver (called SBOS2.SYS in this document) can be built
from the supplied sources using MSC 5.0 or later, and MASM 5.0 and
later. It does not require any special development toolkit or
libraries. The IBM Cset/2 compiler should also work, although this has
not been tested.


REQUIREMENTS
------------

  This driver is intended for OS/2 V2.0, and will not work with earlier
versions of OS/2.  The driver is intended primarily for the SB Pro, but it
will also work with the original SB and the plethera of SB clones. 


WARNING

 As this driver has only been tested on my system, I must warn you to
 use it at your own risk. I believe it is stable and in my experience I
 have yet for it to cause any data loss.


  To build the device driver you will need a Microsoft compiler, or IBM's
Cset/2, as well as Microsoft's MASM compiler (or IBM's equivalent). I
believe it is possible to compile with Borland compilers, but I havent
tried it. I am willing to try to help someone compile the driver under
a Borland compiler.  However, unless you want to change something about
the device driver, the included SBOS2.SYS should be all you need.

------------------------------------------------------------------------
From: sl31+@andrew.cmu.edu (Stephen M. Lacy)
Newsgroups: comp.os.os2.programmer
Subject: Re: Help with GNU C v2.2 and PM
Date: 8 Oct 92 17:53:31 GMT
Article-I.D.: andrew.IepCMPG00iV3483_YA
Distribution: comp.os.os2.programmer
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.os.os2.programmer: 8-Oct-92 Help with GNU C
v2.2 and PM by Po W. Chiu@iscnvx.lmsc.l 
>    I need help on simple PM programming with GNU C v2.2.  I'm trying create
> a PM window but all that happens is my os2/window changes title screen & icon
> and returns to os2/window.

You need a hello.def file.  It should look something like this:

NAME HELLO WINDOWAPI
DESCRIPTION "OS/2 Version of Hello World"
HEAPSIZE 1024
STACKSIZE 8192

The first line tells the linker that this is a PM program.  It should
get you window working.  Your other code looks fine to me.

Steve


"If I were a fish, I'd dream of flying"
From: Michael.Harris@f1.n100.z60.wlink.nl (Michael Harris)
Newsgroups: comp.os.os2.programmer
Subject: Receiving LN_ENTER with a LS_MULTIPLESEL listbox?
Date: Tue, 13 Oct 1992 04:07:55 -0100

Organization: North Carolina State University

Given what you want to do, you might want to consider using a container
control instead of a listbox if you are writing a 2.0 only app.

______________________________________________________________________________
     Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
 System Administrator, Computer & Technologies Theme Program, NC State Univ.
(My opinions are my own and do not represent those of NCSU or IBM Corporation)
From: furballs@sequent.com (Paul Penrod)
Newsgroups: comp.os.os2.programmer
Subject: MDBM source
Date: 16 Oct 92 05:31:36 GMT
Article-I.D.: sequent.1992Oct16.053136.16105
Organization: Sequent Computer Systems Inc.

Does anyone know where I can find the source to mdbm or mdbx. I
have the source to dbm, but I need the multi-key index that mdbm
provides.

Thanks in advance.

...Paul

-- 
--------------------------------------------------------------------
            Bureaucracy: noun, plural - Bureaucracies.
         The process of turning energy into solid waste.
---------------------------------------------------------------------
From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Newsgroups: comp.os.os2.programmer
Subject: Re: Minor wishlist item: any IBMers out there?
Date: 7 Oct 92 13:20:53 GMT
Organization: U of Cambridge, England

< Sorry, gotta flame on this one...
< ... creating DLLs ...
< Worst yet, the greatest insult of them all, is that the poor clod has
< to reboot.  Real computers, with real OS's reboot when the power comes
< back on, and that's it.  I thought a 486 with OS/2 wass real.  Wrong.

Er, which real systems?  I am familiar with IBM MVS, several varieties of
UNIX, and have some knowledge of others.  In all cases, rebooting (or
equivalent) is needed to install some system modifications (usually including
adding new shared libraries).


Nick Maclaren
University of Cambridge Computer Laboratory,
New Museums Site, Pembroke Street,
Cambridge CB2 3QG, England.
Email:  nmm1@cus.cam.ac.uk
Tel.:   +44 223 334761
Fax:    +44 223 334679
Newsgroups: comp.os.os2.programmer
From: mikel@networx.com (Mike Lempriere)
Subject: Re: Minor wishlist item: any IBMers out there?
Organization: NetWorx
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 6 Oct 1992 21:40:26 GMT

Sorry, gotta flame on this one...

The DLL itself is not inherently evil, however, the implementation is.
It is absurd to have a program split in pieces in DIFFERENT PLACES!
If I were to make a program and use a DLL, I would expect ALL the code
to be in one place.  .DLL and .EXE in the relese directory tree.
An install process should not have to go messing around in the SYSTEM
(/OS2/DLL) directory.  A simple recursive copy should suffice.  Most
importantly, if that software package were to be deleted, only it's
directory need be deleted -- no turds are left behind in the SYSTEM's
directory tree.

Worst yet, the greatest insult of them all, is that the poor clod has
to reboot.  Real computers, with real OS's reboot when the power comes
back on, and that's it.  I thought a 486 with OS/2 wass real.  Wrong.
From: ghenniga@NMSU.Edu
Newsgroups: comp.os.os2.programmer
Subject: Re: What's the format of the DAP CD?
Date: 15 Oct 92 17:18:09 GMT
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group

In an article sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:
>I have ordered the DAP CD, but only have access to CD ROM drives on
>DecStation 5000's.  I've been told that they read the IS09660 format. 
>(I think thats right...)  Is this the format that the CD is on?  How
>many floppies will it fit onto?  Or, how much harddrive space is it
>(uncompressed) 

	Don't trust what brand the CD says it is on the outside! I know that
companies like DEC and HP source the internal parts for peripherals(sp?) like
CD-ROMs from third parties. I borrowed an "HP" CD-ROM from a workstation I
manage here, took it home, booted a DOS floppy with the SCSICNTL.EXE program
on it and the drive IDed itself as a Toshiba XM-3301TA, one of the drives
listed in the FAQ as directly supported by OS/2 2.0!! Talk about lucky! I'm
using it this very minute, with WinOS2 3.1's media player to listen to a CD
as I write!
	On another note I don't think you'll have to worry too much about 
the CD-ROM being able to read the CD disc, better to worry about whether or
not OS/2 will recognize the drive.

Good Luck,
Gary Hennigan
---------
PhD Student, Computational Electromagnetics
New Mexico State University
email: ghenniga@NMSU.Edu
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: Accessing memory (Monitor)
Date: 15 Oct 92 20:28:58 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <19921015.102343.700@almaden.ibm.com> KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) writes:
>>>VioGetBuf(&lvb_Ptr,&lvb_Size,0);
>>
>>Is this call included in the headers with GCC?
>>I can't seem to find it anywhere?
>
>Nope, this is in the OS/2 2.0 ToolKit, though the documentation is only in
>the 1.2 ToolKit.

But it is in the os2.lib file that ships with GCC, so if you know the
prototype for the call, you can add it to a header on your own.


-- 
David Charlap         |"there aren't 50,000 things for which it's worth writing
dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
----------------------+ programmers to create that much good software.
Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
From: ks3l+@andrew.cmu.edu (Kenton Shaver)
Newsgroups: comp.os.os2.programmer
Subject: Re: Programmer's Editors
Date: 13 Oct 92 21:58:00 GMT
Article-I.D.: andrew.4eqvPci00VBK445Ux0
Organization: Carnegie Mellon, Pittsburgh, PA

sal8@po.cwru.edu (Steve Luzynski) writes:

> ...I'm writing a PM 
> programmer's editor (thinking specifically of working under Workframe with 
> CSet/2). I wanted to get some feedback on what everyone likes in an editor, 
> i.e. - features.

I'd love to see a PM port of GNU-EMACS!

> I've got some stuff on the list already:
> Autoindent (of course)
> Split windows on the same or different files in 1 instance of the editor
> drag 'n drop editing
> pick yer own colors
> and maybe keyword highlighting (like in Borland's windows based editors)
> 
> Any other ideas? This will probably be a freeware release when I finish as I 
> haven't really seen any decent editors laying around free for the 
> asking.  (And don't tell me about EPM. I hate it.)

It seems as though you could make EPM do anything that you wanted it
to do with the "E language," even act like EMACS.  Did you get ahold
of the latest and greatest version of EPM @ software.watson?

KWS
From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
Newsgroups: comp.os.os2.programmer
Subject: Re: missing files in gcc
Date: 12 Oct 92 05:11:51 GMT
Organization: Flinders University

In article <1992Oct12.070418.1@vx24.cc.monash.edu.au> edb998esys@vx24.cc.monash.edu.au writes:
>When I try to compile the gcc that comes with emx 0.8e i am missing the
>header files i386.h and bsd386.h
>are they in the patched distribution or not?

They should be in the ./config directory. Did you use -I. -I./config
when you compiled?

>also where is ld?

In one of the zip files. gnusrc.zip I think.

Trevor Lampre
<mmtl@cc.flinders.edu.au>
Flinders University of South Australia
Newsgroups: comp.os.os2.programmer