HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.os.os2.programmer
Subject: CSet/2 Linking Conflict
From: Barry Pederson <UD092096@NDSUVM1.BITNET>
Date: Wednesday, 7 Oct 1992 10:13:01 CDT
Organization: North Dakota Higher Education Computer Network

I'm working on a program with the CSet/2 compiler and Workframe/2, and am
having some trouble linking a certain program.

I'm trying to write a program that uses both the IBM TCP/IP tcpip.dll and
the Lotus VIM developers toolkit vim.dll.  I've had good luck with programs
that use one or the other, but the two together don't seem to get along.

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

at runtime it aborts with sys2070 (can't load the needed segment) and
sys127 (the specified procedure could not be found)


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.

What can a person do in a situation like this?

    Barry
From: s902150@minyos.xx.rmit.oz.au (Brian Havard (Kheldar))
Newsgroups: comp.os.os2.programmer
Subject: stat() no same in VDM
Summary: st_dev different in VDM vs real DOS
Keywords: stat, st_dev, VDM
Date: 7 Oct 92 07:21:10 GMT
Organization: RMIT Computer Centre
NNTP-Posting-Host: minyos.xx.rmit.oz.au


  I have discovered a problem when using the stat function in a DOS program
under OS/2. The value of st_dev under real dos returns the number of the
disk ie a:=0 b:=1 c:=2 etc. 
When the same program is run in a VDM it returns garbage. st_rdev seems
to be an exact copy of st_dev also. I'm using BC++ 2.0 if that makes any
difference.

  This could be responsible for several problems I've encountered in 
some dos programs. eg cshow claims missing files as the cshow.dat file
I believe is based on stat information (this file is created when cshow is
first run after verifying all doc/driver files are present, allowing you 
to delete unneeded files).
  Could someone with the update beta test to see if this is still the case?
Could it just be something strange on my system? (my AMI keyboard BIOS is 
slightly old, can't see any connection however). Does IBM know about
this problem?

-- 
_______________________________________________________________________________
|  Brian Havard                 |  "He is not the messiah!                    |
|  s902150@minyos.xx.rmit.oz.au |  He's a very naughty boy!" - Life of Brian  |
-------------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: ochealth@unixg.ubc.ca (ochealth)
Subject: Re: Minor wishlist item: any IBMers out there?
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Wed, 7 Oct 1992 19:51:30 GMT

In article <1992Oct6.214026.3576@networx.com> mikel@networx.com (Mike Lempriere) writes:
>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.

We weren't talking about the philosophy of DLLs. The point is that for
*the C library* it would be *very nice* if IBM provided a standard C library
DLL as part of the OS/2 system. This would provide a lot of standardization,
and the biggest benefit the user would see is smaller executables. Programmers
would also be able to have a standard ANSI C library, which could easily be
updated in case of C library bugs, instead of replacing the whole program.

I used to see a lot of IBM posts from the C compiler people. They are strangely
silent on this issue....

It would be a small, but good step: smaller EXEs, less memory, greater 
standardization. Besides, many OSes supply a C library.
>
-- 
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca         
                            Happily using OS/2 2.0 because MS Windows isNT ___
                                                      Insert VapourFeature ^^^
Xref: sparky comp.os.os2.programmer:5632 comp.os.os2:389
From: jdsmith@novell.com (Doug Smith)
Newsgroups: comp.os.os2.programmer
Subject: Bound Executables
Date: 15 Oct 92 16:58:13 GMT
Distribution: all
Organization: Novell NPD

Is there a way to create bound executables (ones that run in both DOS and OS/
2) with IBM's CSET/2?  I can do it with MSC 5.1, but the OS/2 executable 
switches to full screen mode when I run it.

Doug Smith
Novell
jdsmith@novell.com
Newsgroups: comp.os.os2.programmer
From: ernst@opal.cs.tu-berlin.de (Ernst Kloecker)
Subject: Where to get IBM's OS/2 developers' CD in Germany ?
Organization: Techn. University of Berlin, Germany
Date: Mon, 12 Oct 1992 10:32:36 GMT

Hi,

I am living in Germany and I want to find out how to get the OS/2
developers' CD. Can anybody give me a hint ?

--

-----------------------------------------------------------------------------
Ernst Kloecker      phone: ++49-30-6181635      e-mail: ernst@cs.tu-berlin.de
-----------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: ccewch@nuscc.nus.sg (Wong Chee Heng)
Subject: OS2 developer's CDs have no TCP/IP 1.2.1
Organization: National University of Singapore
Date: Sat, 10 Oct 1992 06:19:41 GMT


--
Wong Chee Heng
Systems Programmer
From: Tom.J.Parry@f1.n100.z60.wlink.nl (Tom J Parry)
Newsgroups: comp.os.os2.programmer
Subject: Price to join DAP?
Date: Tue, 13 Oct 1992 09:37:41 -0100

Organization: Monash University, Melb., Australia.

Jay K. Joiner (joiner@exa.cs.umn.edu) wrote:
> Since the DAP CD-ROM license runs out on December 15, 1992, does anyone
> know about follow-up disks coming after that?

I just spoke to the DAP people at IBM Australia and apparently IBM plans to
put all their future beta programs onto CD-ROM only [bear in mind that the
DAP CD-ROM contains beta copies of the software concerned, or so I am
told].

DAP Australia are also looking into finding some competitive CD drive
prices. Apparently there are two suppliers with brand new, fastest yet,
drives which may be available through DAP here for around $700-$800 which
are supposed to retail around $1200-$1300. IBM doesn't believe they can
provide a competitively priced alternative themselves.

-- 
Tom J Parry.
Your reality is a figment of my imagination.

Newsgroups: comp.os.os2.programmer
From: Ralf.Wirth@arbi.informatik.uni-oldenburg.de (Ralf Wirth)
Subject: Re: gcchdr.zoo from ftp-os2
Organization: University of Oldenburg, Germany
Distribution: na
Date: Thu, 8 Oct 1992 10:30:20 GMT

Best is you get zoo (not booz) from ftp-os2, and use the x option to depack
into directories. It will generate the correct directories from that
directory, which is actual.

have much fun with it.

-- 
*****************************************************************************
*                                                                           *
* Name: Ralf Wirth                                                          *
* Job : Student of computer science/Wizard of Nightfall (Veltins).          *
* Login : Henry@Aragorn, Henry@Schrottpollo                                 *
* E-Mail Address: Ralf.Wirth@arbi.informatik.uni-oldenburg.de               *
* ------------------------------------------------------------------------- *
* No, I'm not related to him.                                               *
*****************************************************************************
From: ghenniga@NMSU.Edu
Newsgroups: comp.os.os2.programmer
Subject: GNU Ghostscript ported?
Date: 7 Oct 92 17:21:42 GMT
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group


	I remember someone was working on the above, I even have the copy
from ftp-os2, but what I really need is a version compiled with the
"dfaxhigh" and the "dfaxlow" devices. I thought, since I didn't need any
display capabilities that I could just compile the Unix version with EMX.
Well it almost works but I get very strange and inconsistent behavior when
I run the version I compiled!? Has something to do with the "-dNOPAUSE"
option but I don't have time to chase it down.
	SO.....If anyone has a "working" version under OS/2 2.0 and is
willing to compile it with the fax output devices please let me know! It
might be extremely easy for someone with Watcom C since there is a DOS code
for this compiler already!

Many Thanks,
Gary Hennigan
---------
PhD Student, Computational Electromagnetics
New Mexico State University
email: ghenniga@NMSU.Edu
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Newsgroups: comp.os.os2.programmer
Subject: Re: What's the format of the DAP CD?
Date: 14 Oct 92 17:15:07 GMT
Article-I.D.: midway.1992Oct14.171507.28351
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago

In article <geqZx3C00WBLM8ZLsn@andrew.cmu.edu> 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) 

That's correct -- it's in what is also called "High Sierra" format.

The CD contains over 200 MB of material, so you'll need quite a few
floppies if you want everything.  I suggest just grabbing the pieces
you want as you need them.

-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST 2.0f is avail.
sip1@ellis.uchicago.edu | from 128.123.35.151, anonymous ftp, in /pub/os2/all
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [For the Internet, vote Clinton-GORE this year.]
From: plyon@emx.cc.utexas.edu (Paul Lyon)
Newsgroups: comp.os.os2.programmer
Subject: Re: Timing the run time of an algorithm and accessing round up/round down
Date: 13 Oct 92 03:45:48 GMT
Distribution: usa
Organization: The University of Texas at Austin
In-reply-to: rvaniwaa@copper.denver.colorado.edu's message of 4 Oct 92 03:52:38 GMT

In article <3956@copper.Denver.Colorado.EDU> rvaniwaa@copper.denver.colorado.edu (Ronald J. Vaniwaarden) writes:

   I am writing a program for which I need exact (as much as is possible)
   timings of the run time.  Using the emx compiler and the following code:
 
           [ Code fragment omitted...]

   This gives the real time between the two calles to clock().  What I need is
   the actual CPU time.  Is there anyway to get this??



Well, so I am not the only one who would like this :-) I do not understand
why there is no (documented) system call to return this information. It is 
clear from the discussion in _The Design of OS/2_ (pages 122 & 130),
that the kernel tracks processor usage time at least on a per thread basis.
I suspect, also, that the undocumented system call DosQProcStatus() will
return this information, but I do not know which field is the right one.
[At least, I infer this much from the structure declarations in 
the procstat.h header file included with the "killem" and "procs"
utilities I retrieved from hobbes... A number of the fields therein
are marked "don't know".]

Since we now have several IBM folks kind enough to field questions in
this newsgroup, would it possible for one of them to unravel this 
mystery for us?

Paul Lyon
From: pdc@lunch.wpd.sgi.com (Paul Close)
Newsgroups: comp.os.os2.programmer
Subject: Re: emacs for emx0.8e?
Date: 8 Oct 1992 18:49:02 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA
Distribution: comp
Reply-To: pdc@sgi.com (Paul Close)
NNTP-Posting-Host: lunch.wpd.sgi.com
Originator: pdc@lunch.wpd.sgi.com

Terry Turner (tnt@netcom.com) writes:
>fixes for using emacs with emx08e are available on ftp-os2.nmsu.edu.

I got those, and rebuilt emacs from temacs (since one of the files was
simple.el, which is "compiled" in).  Shell windows work, but when I exit,
the window doesn't detect that.  I get some strange error (which I don't
have handy, sorry).  Is this normal?

Also, I can't get dired mode to work.  It didn't work before emx-0.8e
either.  It says loading dired, then reading (directory name)... then it
just hangs.  I have ls handy, so I don't understand what's wrong.  Any
ideas?
-- 
Paul Close	     pdc@sgi.com	   ...!{ames, decwrl, uunet}!sgi!pdc

			No fate but what we make
From: aaa@hpuerca.atl.hp.com (Simon Fowler)
Newsgroups: comp.os.os2.programmer
Subject: Re: Programmer's Editors
Date: 14 Oct 92 19:08:37 GMT
Article-I.D.: hpuerca.Bw4L6E.Bt6
Organization: Hewlett-Packard Company, Atlanta GA

In article <sal8.64.0@po.cwru.edu>, sal8@po.cwru.edu (Steve Luzynski) writes:
> Fellow programmers:
> 
>  As a warm up project for OS/2 programming (as I got really spoiled with 
> ObjectWindows and am rusty on doing everything myself) 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've got some stuff on the list already:
> Autoindent (of course)
Is this language-sensitive indenting or just the vi-style of dropping to the
same column on the next line?
> 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.)

However, I think that EPM's find highlight (an ellipse around the found text) beats
the socks off of any other method. It's not going to get confused with any other text.

simon
Xref: sparky comp.os.os2.programmer:5606 comp.os.os2.misc:32632
From: jpolizzi@cybernet.cse.fau.edu (joe polizzi)
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Re: Price to join DAP?
Date: 12 Oct 92 02:28:54 GMT
Organization: Cybernet BBS, Boca Raton, Florida

> Execuse me! what is DAP?
> and what info do you have on DAP?
> Inquiring minds want to know. :-)
The DAP is the Developer Assistance Program offered by IBM in support of 
OS/2 developers. There are several levels of support offered by IBM for 
developers. There is a new level being offered called the World-Wide DAP 
(WWDAP). All of the official mechanisms will not be totally in place 
until October 18th but any interested developer can sign up FREE by 
calling (407)982-6408 (in Boca). The membership will get you access to 
the Professional Developer Kit CD ROM which includes beta level releases 
of ALL of the development tools you will need to write for OS/2 plus lots 
of docs, OS/2 2.x, Lan Server 3.0, TCP/IP and many other cool toys. All 
for a mere $15 (to cover handling). WWDAP support will be available via 
Compuserve and will include announcements and information that is 
available to other developer program. Have fun....

Joe

Internet: jpolizzi@bcrvmpc1.vnet.ibm.com
          jpolizzi@cybernet.cse.fau.edu
Fido:     Joe Polizzi at 1:369/68 (Silicon Beach)
Newsgroups: comp.os.os2.programmer
From: lmorris@mdd.comm.mot.com (Larry Morris)
Subject: Re: Which CD-ROM drives does OS2 support?
Organization: Motorola, Mobile Data Division - Seattle, WA
Distribution: na
Date: Fri, 16 Oct 1992 23:58:57 GMT

In <16OCT92.18322424@edge1.pfc.mit.edu> horne@edge1.pfc.mit.edu writes:

>What's the CHEAPEST drive supported by OS2?

On a related note, which sound cards with SCSI interfaces are supported
under OS/2.  A friend wants to add sound and a CD-ROM to OS/2.  It seems
his best bet would be a PAS or SB-Pro and a good SCSI CD-ROM.  Why eat up
yet another slot with a separate SCSI controller (his drives are ESDI).

Also, any info on the CD-ROM offer with the DAP CD?  I ordered the CD,
but it hasn't arrived yet.  Is the drive offer a good deal?

-- 
Internet:    <lmorris@mdd.comm.mot.COM>   |  Larry Morris
 ...uw-beaver!sunup-----\                 |  Motorola/Mobile Data Division
 ...uunet-----------------!mdisea!lmorris |  19807 North Creek Parkway
 ...van-bc!mdivax1------/                 |  Bothell, WA  (206) 487-5810
Newsgroups: comp.os.os2.programmer
From: db3l@ans.net (David Bolen)
Subject: Re: Help with CVS version control system
Date: Thu, 8 Oct 1992 13:02:07 GMT
Distribution: comp
Organization: Advanced Network & Services, Inc. - Elmsford, NY

In article <1992Oct8.075927.4437@ericsson.se> etxabju@juno.ericsson.se (Anders Bjurman) writes:

>Since the CVS program included with RCS seems to be better I've tried to
>use it instead, but I can't make it work. I can't find anything in
>the doc on how to get started, i.e. put my files under CVS control
>( ~ "CVS init" ). Is there some guide or hints on how to do that? (do CVS
>*works* in the first place?)
>
>I am also looking for some practical experience about version control in CVS
>or RCS? In my opinon it seems to be too much work to keep track of 150 files -
>I want to version control the application, not individual files. Any hints
>on how to do that?

CVS is a nice system, especially if you are modifying someone else's
code and you have to keep track of changes they ship you.  It is,
however, severely underdocumented in v1.2 (which is the OS/2 port),
although it improves somewhat in v1.3.

It will allow you to think of your project at the application level,
and not necessarily worry about every little file.

In terms of getting more information, your best bet is probably the
CVS mailing list.  It should be described in any doc files that come
with 1.2, but if not - the list is "info-cvs@prep.ai.mit.edu", and you
can subscribe with a request to "info-cvs-request@prep.ai.mit.edu".

One warning though - much if not most of the CVS world is using 1.3 at
this point, which has definite improvements over 1.2, so I'm not sure
how much of the list discussion is appropriate to the OS/2 port.  Does
anyone know if v1.3 is being ported to OS/2?

--
-- David
--
/-----------------------------------------------------------------------\
 \              David Bolen             \  Internet: db3l@ans.net      /
  |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
 / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
\-----------------------------------------------------------------------/
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: 14 Oct 92 19:07:01 GMT
Organization: FlashTek, Inc.

mikel@networx.com (Mike Lempriere) writes:

>I've used Zortech with OS/2 1.3 for quite a while at work.
>The debugger is very powerful.  On extremely large programs, however,
>it is kinda slow.
>I recall my boss saying it doesn't work under OS/2 2.0  I've used
>both the compiler and debugger under 2.0 just fine -- I think he
>might have meant that the debugger won't deal with 32 bit code.

It is true it won't work with 32-bit code.  FlashTek, Inc. (who I work for)
will be selling all future versions of what is now known as the Zortech 
debugger ZDB.  We were just discussing the OS/2 2.0 market the other day...  
How many people are there that would like to see ZDB (soon to be called 
FlashView) work with OS/2 2.0 executables?  Which compilers should we support
if we decide to support OS/2?  Borland of course, probably Zortech, if it
isn't too much work.  What about IBM and Watcom?  Is MS going to have 
something people are going to use for OS/2?  What is your compiler of choice 
right now?  Send me some email if you have opinions on the subject.

Joe, ...doing my quick and dirty market survey...

Joe Huffman
FlashTek, Inc.
121 Sweet Ave
Moscow, Idaho 83843
U.S.A.

FAX:    208-882-7275
Voice:  208-882-6893
Orders: 800-397-7310
-- 
netcom!proto!joe
joe@proto.com
Newsgroups: comp.os.os2.programmer
From: slumos@unlv.edu (Steve Lumos)
Subject: Re: Beta Release of Sound Blaster Device Driver
Organization: UNLV Computer Science
Date: Tue, 13 Oct 92 21:50:05 GMT

In article <msf.718961339@skaro> msf@skaro.as.arizona.edu (Michael Fulbright) writes:
>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.

YES! THANKYOU-THANKYOU-THANKYOU!!

Consider one beta tester found ;-)

-- 
Steve Lumos - slumos@cs.unlv.edu
From: rariedel@beckman.com (Bob Riedel)
Newsgroups: comp.os.os2.programmer
Subject: How do you kill threads and abort I/O?
Date: 16 Oct 92 21:56:56 GMT
Organization: BECKMAN

How do you kill a thread from the parent thread in OS/2 1.3 and is there any
way to abort pending I/O?

We are working on an multi-threaded application and there appears to be no
support within the OS/2 system to kill off a child thread from another thread.
It looks to me like the only way to do it is to set a semaphore or a flag
somewhere and then wait for the thread to commit suicide, and provide some
sort of synchronization mechanism within the code so the killing process will
know when the dying thread has responded. But what a pain. Also, is there
any way to detect when a thread has exited on its own?

Also, is there a way to abort pending I/O? DOS_READ() appears to want to
complete according to its own timetable, but what do you do if you want to stop
a pending I/O request NOW!!!
From: kristine@cats.ucsc.edu (Kristine Mei Lan Ing)
Newsgroups: comp.os.os2.programmer
Subject: Re: NEED MOUSEMSG MACRO! (third try....)
Date: 16 Oct 1992 07:14:23 GMT
Organization: University of California, Santa Cruz
NNTP-Posting-Host: am.ucsc.edu


smackinl01@cc.curtin.edu.au writes:

>Pluheeeeeeezzzzzzz.....

>I need the MOUSEMSG macro out of the IBM C Set /2. Can some kind soul post it
>to me? This macro is _not_ in the GCC 2.2.2 (non-emx) port and I need it to
>compile an OS/2 v1.2 PM program.

>-- 
>Simon.
>Have you got a form 27/b?

------------
   typedef struct _MOUSEMSG    /* mousemsg */      
   {                                               
      SHORT   x;             /* mp1      */        
      SHORT   y;                                   
      USHORT  codeHitTest;   /* mp2      */        
      USHORT  fsInp;         /* input flags */     
   } MSEMSG;                                       
   typedef MSEMSG *PMSEMSG;                        
                                                   
   #define MOUSEMSG(pmsg) \                        
   ((PMSEMSG)((PBYTE)pmsg + sizeof(MPARAM) ))      
------------

This stuff is copywrighted so don't tell anyone where you got it...