HDTenEightyP/NetNews huggingface dataset:
From: claudio.fahey@idcbbs.com (Claudio Fahey) 
Newsgroups: comp.os.os2.programmer
Subject: Re: Floating point underflow
Date: 25 Jan 93 10:20:00 GMT
Distribution: world
Organization: IDC BBS - Alameda, CA - 510-865-7115
Reply-To: claudio.fahey@idcbbs.com (Claudio Fahey) 

To: dmm@vnet.ibm.com (Dave Mooney)

DM>  Underflow trapping is set on by default.  To turn it off, add the
DM>  following line to your program:

DM>    _control87( EM_UNDERFLOW, EM_UNDERFLOW );

That fixed it.  Thanks a *lot* for your prompt reply.
---
 . OLX 2.1 TD . Yeah, but what's the speed of DARK?
From: john.navas@uttsbbs.uucp (John Navas) 
Newsgroups: comp.os.os2.programmer
Subject: WRITTING DEVICE DRIVERS
Date: 23 Jan 93 10:06:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: john.navas@uttsbbs.uucp (John Navas) 

b259phl@utarlg.uta.edu (PHILIP LIPPEL) writes:

RE: Steven J. Mastrianni's "Writting OS/2 2.0 Device Drivers in C"

 > I'm pretty disappointed  by this book. Mastrianni may write great
 > device drivers, as previous posters have suggested, but he doesn't
 > write very good books. This one is very poorly organized and
 > indexed, contains a fair amount of gratuitous information ( a
 > multi-chapter "history of PC's) and is missing a lot of essential
 > stuff-- like what compilers and assemblers one should use for these
 > projects, and examples of how to do so. Or like a description of
 > just what the "DevHlp library and Toolkit disk" is-- you have to
 > figure that one out for yourself. There is a lot of useful
 > information in the book, but it is in desparate need of a good
 > editor.

Steve is also a pretty nice guy, but I'm afraid I have to echo your
sentiments.  My book of choice is "Writing OS/2 Device Drivers" by
Raymond Westwater (Addison-Wesley, 1989), although it is also far from
perfect (and includes some outright errors).  The IBM red book
documentation is of course nearly useless.

 > And I don't like it when people sell me things which pretty much
 > REQUIRE me to buy something else, but do not make this clear.

Amen.  The good news is that Steve is working on a new edition of his
book which should be much improved, and I understand that he plans on
bundling the code disk (but not the libraries) with the book.

Even more good news is that IBM is about to release a DDK (device
Driver Development Kit) for OS/2 on CD-ROM.  GO OS2DF1 on CompuServe
for more information.

Best regards,
John
                                     
----
+------------------------------------------------------------------------+
| The Transfer Station BBS (510) 837-4610 & 837-5591 (V.32bis both lines)|
| Danville, California, USA. 400+ MB Files & FREE public Internet Access |
+------------------------------------------------------------------------+
Xref: sparky comp.os.os2.programmer:8058 comp.os.os2.apps:10742 comp.os.os2.misc:44218
From: lauer@mpi-sb.mpg.de (Thomas Lauer)
Newsgroups: comp.os.os2.programmer,comp.os.os2.apps,comp.os.os2.misc
Subject: Experiences with Streamer ??
Date: 27 Jan 93 12:04:54 GMT
Reply-To: lauer@mpi-sb.mpg.de
Followup-To: comp.os.os2.programmer
Organization: Max-Planck Institut fuer Informatik


 I'm looking for a streamer ang good backup software for OS/2.
 My system: 386-40, 16MB, SCSI-C.: Adaptec1542b.

 Who has experiences with OS/2 and SCSI-Streamers on the 1542b?
 Please mail to lauer@mpi-sb.mpg.de.

 -thomas
 

Newsgroups: comp.os.os2.programmer
From: etxabju@eua.ericsson.se (Anders Bjurman)
Subject: Re: Microsecond delays under OS/2
Reply-To: etxabju@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Date: Thu, 28 Jan 1993 14:51:40 GMT

In article 29629@cs.joensuu.fi, jlavi@cs.joensuu.fi (Jarkko Lavinen) writes:
>Does anybody know how to generate few microseconds delay under OS/2?
>I am using emx environment and developing a front end for AD-converter
>which is connected to parallel port. One needs few microseconds delays
>to make sure the data really goes to device before pulsing strobe.
>
>	Jarkko Lavinen

Sorry! I have no nice and easy answer but here are some suggestions:

1 (the easy solution): Write some dummy instructions before the strobe.

2 (modified easy solution): As an answer to the obvious question: what
happens when I bye a faster machine. The dummy instructions could be an
(nearly) empty loop (perhaps with some dummy instructions so the compiler
can't optimize it away, the volatile keyword could be of some use here).
The number of iterations could be calculated at start up by executing
the loop for a fix amount of time (say 1 second). The upper limit can
be calculated from the number of iterations made.

3 (As it "should" be implemented): Write a device driver for the A/D
(huu! - complicated). Maybe there is a timer channel that could be
used in there (I don't know anything about the hardware after the
8086 PC :-)

Hope this helped - Anders
---
             _________________________________________________________
 `"""'     _/  RF Anders Bjurman,       Memo: eri.etx.etxabju         \_
  O O   __/    Ellemtel utvecklings AB  Anders.Bjurman@eua.ericsson.se  \
   >  _/       S-125 25 Alvsjo, Sweden  +46 8 727 49 80                _/
   o   \______________________________________________________________/
From: duffy@theory.chem.ubc.ca (Pat Duffy)
Newsgroups: comp.os.os2.programmer
Subject: Re: Long filenames and NMAKE.
Date: 22 Jan 1993 19:12:14 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
NNTP-Posting-Host: theory.chem.ubc.ca

In article <1993Jan22.175753.24214@msc.cornell.edu> tommy@lynx.msc.cornell.edu.UUCP (Mike Thompson,332,54714,2734927) writes:
>
>Looks to me like you are running on a FAT partition which doesn't allow
>more than 8.3 format.  Is the real file on the disk systemin.c when you
>want systeminit.c?

Nope.  I'm running all HPFS, and built the makefile using the WorkFrame 
makefile creation utility.  The filenames as listed are what they really are,
as created by EPM.  (The macros they build in for C programs are way cool.
Gotta love it when I don't have to remember to complete comments. :-)



-- 
Patrick Duffy, duffy@theory.chem.ubc.ca 

"It's raining cats?  You open the skylight, I'll get the relish."
				-- Alf
Newsgroups: comp.os.os2.programmer
From: smbrush@lims02.lerc.nasa.gov (Andy Brush @Sverdrup)
Subject: Re: Docs for 16-bit calls are wrong.
News-Software: VAX/VMS VNEWS 1.41    
Organization: NASA Lewis Research Center
Date: 22 Jan 1993 16:21 EST  

Along the same topic, I have found several errors in the programming guide 
and API reference sections of the "Technical Library", for which I paid 
$299.  I wish IBM would provide the required update to this set in the form 
of a (very inexpensive) CD, containing both INF and printable versions of 
the manuals.

By "printable", I mean "capable of printing manual sections, including 
indexes, exactly as they appear in the latest paper text furnished by IBM". 
Clearly, the VIEW system's very limited print support will not do the trick
.

This seems like a very reasonable request, to me.  I am also passing this 
request to IBM's DAP, by paper mail (I don't use Compu$erve), since there 
is no address for reporting errors given in the printed manuals.

Andrew S. Brush             | SMBRUSH@LIMS01.lerc.nasa.gov
Sverdrup Technology         | 2001 Aerospace Parkway
NASA LeRC Group             | Brook Park, OH 44142
"Opinions are Mine, Only"   | (216) 826-6770
Newsgroups: comp.os.os2.programmer
From: gtd543a@sol.crt.columbia.edu (death)
Subject: Re: diff between emx/gcc and plain gcc
Organization: Purgatory
Date: Wed, 27 Jan 1993 10:15:49 GMT
X-Newsreader: TIN [version 1.1 PL8]
X-Posted-From: sundial.gatech.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

Gregory P. Smith (smithgr@rintintin.Colorado.EDU) wrote:
: The subject says it all.  What are the differenced between gcc and emx/gcc
: ports for OS/2.  What do each of them have that the other doesn't etc..  Which
: produces better code?

emx is gcc and more...

emx includes a bunch of OS/2 specific things you might want, such as
a text window manager, PM support, etc.  gcc is just gcc.
--
Death: the high price of living
========================================================================
Disclaimer:  I am not bubba.
Newsgroups: comp.os.os2.programmer
From: weisber@ecf.toronto.edu (WEISBERG ELLIOT)
Subject: Where do I find GCC??
Organization: University of Toronto, Engineering Computing Facility
Date: Thu, 28 Jan 1993 17:41:58 GMT

Where do I find a good GNU compiler for OS/2??

PLEASE ONLY RESPOND TO THIS NEWSGROUP < DO NOT MAIL ME.
Newsgroups: comp.os.os2.programmer
From: margoli@watson.ibm.com (Larry Margolis)
Subject: Re: compiling macros for EPM ?
Date: Mon, 25 Jan 1993 00:46:28 GMT
News-Software: IBM OS/2 PM RN (NR/2) v0.16f by O. Vishnepolsky and R. Rogers
Reply-To: margoli@watson.IBM.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: The Village Waterbed

In <1993Jan24.181508.24311@ugle.unit.no> kvien@Elkraft.Unit.NO (Oddgeir Kvien) writes:
>How do you compile macros for EPM?
>
>I can not find it in anny documentation.

Compiling macros refers to using ETPM to compile .e macros into .ex files.
ETPM was not shipped with OS/2, but is available in the EPMBBS package on
the IBM OS/2 BBS's, Compuserv, and via anonymous FTP (from
software.watson.IBM.com and other sites).  This has nothing to do with Rexx
macros.

The above package includes an online user's guide and tech. ref.  For more
information on ETPM, get EPMDOC.ZIP, unpack it, then enter the command:
   view epmusers etpm
--
Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Newsgroups: comp.os.os2.programmer
From: jonso@ifi.uio.no (Jon Martin Solaas)
Subject: Re: emx 08f problem using seekg in iostream.h
Organization: Dept. of Informatics, University of Oslo, Norway
Date: Fri, 22 Jan 1993 15:54:52 GMT
Originator: jonso@kolsaas.ifi.uio.no



Replacing the libgpp.a in emx 08f with libgpp.a in
emx 08e seems to fix the problem, but it might bring
about others. Or What? Is it safe to swap libraries
like that? Is anybody else able to use seekg in libgpp.a 08f?

Jon Martin Solaas
jonso@ifi.uio.no
Newsgroups: comp.os.os2.programmer
From: gaebel@gpu.utcs.utoronto.ca (warren gaebel)
Subject: (416) 741-1156 OS/2 Developers' BBS
Keywords: bbs 741-1156 
Organization: UTCS Public Access
Distribution: ont
Date: Wed, 27 Jan 1993 21:08:50 GMT

741-1156 is the Toronto phone number of the OS/2 Developers'
BBS.  This BBS is open to programmers and analysts who are
currently working on OS/2 projects.  The topics are related
to OS/2 development only.

Since this BBS is so new, it is eager to find new subscribers,
postings, uploads, etc.  To encourage subscriptions, there 
are currently no subscription fees.  To subscribe, just dial
the bbs and fill in the online form.

The most important feature of this bbs (at this time, and in
my opinion) is that it intends to listen to its users.  The
bbs will become what its users want it to become!  To  
discuss issues related to the management of the board, please
use the main conference (conference 0).

If you have any questions, please register on the bbs and 
enter a comment to the sysop.
From: claudio.fahey@idcbbs.com (Claudio Fahey) 
Newsgroups: comp.os.os2.programmer
Subject: Floating point underflow
Date: 24 Jan 93 13:24:00 GMT
Distribution: world
Organization: IDC BBS - Alameda, CA - 510-865-7115
Reply-To: claudio.fahey@idcbbs.com (Claudio Fahey) 

I'm trying to write a program with the IBM C Set/2.  Every
once in a while, the program just terminates when I perform
a specific action.  IPMD ( the debugger ) tells me that it
gets a floating point underflow on a line such as this:
    LONG rc; float Temp;
        rc = Temp * NUMCOLORS/MAXTEMP;
        When I trace into it, Temp is around 1e-40 and NUMCOLORS/MAXTEMP is
        around 0.93.  Why is it giving me this error?  Why doesn't it just
        set rc to 0?  How can I avoid this problem?  Thanks.
---
 . OLX 2.1 TD . !enilgaT siht edisni deppart m'I !pleH
                                                                       
Newsgroups: comp.os.os2.programmer
From: tg2r@galen.med.Virginia.EDU (Todd P. Greenwald)
Subject: database manager's F4 field lookup
Organization: University of Virginia
Date: Tue, 26 Jan 1993 21:49:40 GMT

Does anyone know if querymanager panels can enable the F4 lookup list
that querymanager itself uses extensively?  (Whenever querymanager
prompts for the name of a table, query, proc, etc, you can always
enter F4 for a list of available choices.)  I'm trying to create
a panel that will allow a clerk to pick from a list of choices for
coded entry of patient medications.

Thanks,
Todd Greenwald M.D.
University of Virginia Hospitals
From: toddy@uni-paderborn.de (Thomas Rose)
Newsgroups: comp.os.os2.programmer
Subject: OS/2 2.0 and Novell NEtware
Date: 26 Jan 1993 13:48:30 GMT
Organization: Uni-GH Paderborn, Germany
Distribution: world
NNTP-Posting-Host: formentera.uni-paderborn.de

Hi !

I am working on a paper about OS/2 2.0 and Novell Netware !

I am using the Requester for 2.0 !


What are the following processes or files doing ?

DDAEMON.EXE, HARDERR.EXE, NBDAEMON.EXE, SPDAEMON, NW-CALLS, NWIFS, NETX !


Please answer immediatly via elm to toddy@uni-paderborn.de, because i have 
to finish my paper on 29.01.1993

     Thanks
            Tom
From: jerome@mama.iac.COM ( Jerome Provensal - ITG)
Newsgroups: comp.os.os2.programmer
Subject: Re: Developers - Read this!
Date: 22 Jan 93 16:21:04 GMT
Reply-To: iac!jerome@uunet.uu.net
Organization: I.T.G. Inc.
In-reply-to: sal8@po.cwru.edu's message of 19 Jan 93 23:31:21 GMT


[JP]>Some ideas for articles to start things off I had are stuff like:
[JP]>-a simple skeleton PM application to get people started
[JP]>-how to install and set up gcc, emx/gcc, gnu make, etc.
[JP]>-reviews of any commercial development stuff that gets released
[JP]>-good books to buy, etc.
[JP]>-considerations for programming dos under os/2, releasing 
[JP]>timeslices, etc.
[JP]>-etc.
[JP]>
[JP]>So? What do you think? Anyone willing to contribute? I would be willing to 
[JP]>collect articles, edit into a fairly coherent thing, and distribute - _if_ I 
[JP]>can get articles. :)
[JP]>
[JP]>----------------------------------------------------------------------------
[JP]>steve luzynski @ case western reserve university in cleveland, oh
[JP]>sal8@po.cwru.edu  | voice calls testily accepted at x2153.
[JP]>----------------------------------------------------------------------------

That's a great idea Steve!

Here are some suggestions:
	. Even though some of the threads of comp.os.os2.{programmer,misc} carry 
	  a lot of "noise", they are a extremely valuable source of information.
	  Gathering pieces, doing some smart cut-and-paste, adding some sentences
	  to cement the pieces and you got your article! Talk about a collective
	  work!
	. A column about "classified tips" will be welcome (customize WPS, increase
	  performance, install drivers, ...)
	. a list of supported hardware and associated drivers would be great.
	. Thumbs UP and DOWN for new products (hardware, software, companies) based on
	  polls and reactions from the news readers.
	  Recommended shareware and freeware.
	  Reaction on what/why they bought.
	. List of known bugs and fixes
	. List of suggestions on how to make OS/2 (and any OS/2 app.) a better product
	. statistics on who's out there? Profile of the OS/2 user? What hardware and 
	  software do they use? How much do they spend on computer stuff? etc...

	. And my personal favorite for today "what is the cheapest, OS/2 supported
	  CD-ROM available?"

I will be happy to contribute as writter if the readers don't mind my awkward way of
using english as a second language (my first language being Frrrrench).

In any case I will be a fervent reader.

Again, it's a wonderful idea!

[JP]

 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 |\   Jerome PROVENSAL     Email: iac!jerome@uunet.uu.net
 +->  I.T.G.                          Tel: (310) 216-6777
 |/   Culver City, CA 90230           Fax: (310) 216-0933
----  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   `

	  
--
 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 |\   Jerome PROVENSAL     Email: iac!jerome@uunet.uu.net
 +->  I.T.G.                          Tel: (310) 216-6777
 |/   Culver City, CA 90230           Fax: (310) 216-0933
----  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   `
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: MASM 6.1
Date: 23 Jan 93 09:48:00 GMT
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

tanith@csd4.csd.uwm.edu (Mike Kretzer) writes:

 > I just received an upgrade form for Microsoft MASM 6.1.  Does
 > anyone know if it will still run under OS/2 as an OS/2 application
 > like MASM 6.0?

At last report the new Phar Lap "TNT" extender used in MASM 6.1 was
not compatible with OS/2.  I do understand that a fix is supposedly in
the works.

Best regards,
John
            
----
+------------------------------------------------------------------------+
| The Transfer Station BBS (510) 837-4610 & 837-5591 (V.32bis both lines)|
| Danville, California, USA. 400+ MB Files & FREE public Internet Access |
+------------------------------------------------------------------------+
Newsgroups: comp.os.os2.programmer
From: byu@sys.toronto.edu (Benjamin Yu)
Subject: Re: emx/gcc very forgiving!!
Organization: University of Toronto
Date: 21 Jan 93 15:29:42 GMT

In article <1jkjleINNfn9@gap.caltech.edu> brooke@cco.caltech.edu (Brooke Paul Anderson) writes:
>byu@sys.toronto.edu (Benjamin Yu) writes:
>
>
>>Here goes:
>>class elevator {
>>  int floor_selected;
>>  int floor_number;
>>public:
>>  elevator() { floor_selected = 0; floor_number = 0;} ;
>>  elevator(int x = 10, int y = 10) { floor_selected = x; floor_number = y; };
>>};
>
...
>
>If it gives you a warning, I'd say that's good enough.  Also, your
>overloaded function doesn't look ambiguous at all to me.  One takes two
>ints as arguments; the other takes no arguments.
>

The first definition requires no argument.  The second definition allows
0, 1, or 2 arguments.  Thus it is ambiguous with the first definition.

Ben
From: francis@vnet.ibm.com (Tim Francis)
Date: Sun, 24 Jan 93 21:54:22 EST
Subject: Watcom C/386 9.1d and the WorkFrame -> Help!
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <C1DzxK.J6n@undergrad.math.waterloo.edu>,
scdrye@napier.uwaterloo.ca (Stephen Drye) writes:
>
>Hi!
>
>I just got the WorkFrame off of the November PDK, so I've been trying
>to set up WTC/386 with it.
>
>I've run into two problems:
>- When you choose the 386 as your target processor, the compiler options
>dll passes garbage on the end of the string "/3r" which causes the compile
>to fail.

I've never heard of this problem; you may want to contact Watcom
directly, and see if they know about/have a fix.

>- When I try to use the makefile generator, it complains about being
>unable to open the compiler options dll (error 127), although the dll
>is in a directory ref'd in my libpath (also, I'm able to use it
>at all other times).  So, I can't generate a makefile.

The makefile creation utility works by calling the compiler options
DLL (provided by Watcom) to parse the source files, and return a
list of dependency information.   It's my understanding that Watcom
chose not to implement this particular entry point.  Again, your
best approach is probably to contact them, and make them aware of
your request.   -tim

>Thanks,
>Stephen Drye
From: john.navas@uttsbbs.uucp (John Navas) 
Newsgroups: comp.os.os2.programmer
Subject: WHY OS/2 DOESN'T SUPPORT
Date: 27 Jan 93 00:15:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: john.navas@uttsbbs.uucp (John Navas) 

johnw@wixer.cactus.org (john winthrop) writes:

 > There are two main reasons that os/2 doesn't support VGA (and SVGA)
 > modes in a window...
 > first, (s)vga modes  take up a lot of memory (up to 1 meg
 > generally, newer cards use even more memory).... To support
 > virtualized vga modes would mean that os/2 would have to have at
 > least that much memory available FOR EACH WINDOW! This would eat up
 > resources faster than godzilla could trample Tokyo.

With all due respect, I'm afraid I don't buy that argument.  The
shadow memory required for a standard VGA 640x480x16 graphics screen
is only 150Kb; for SVGA 800x600x16 it's only 235Kb.  True, it's easier
to shadow the entire video buffer, but it's not strictly necessary.
Even so, 256Kb, which is not a very big deal, is adequate to
virtualize standard VGA 640x480x16 graphics; i.e., 4 virtualized VGA
graphics applications would require a total of only 1Mb of shadow
memory.  ( yawn :)

In fact, OS/2 allocates a full shadow buffer of up to 1Mb for every
full-screen DOS application, so that it can save the display when that
application is switched to the background.  So the amount of shadow
memory is not really an important factor.

 > Second, most vga modes use bit planes.  For those not familiar with
 > bit planes, they are simply a mechanism for accessing more than one
 > byte of video memory at a time, by compromising on whether you want
 > to access one pixel color on the screen, or access a group of
 > pixels quickly.
 > One write to a bit plane could update several bytes of video
 > memory, which would recquire os/2 to modify those bytes in its own
 > bufffer.  The result would be the speed of the original apple ][...
 > Much of the success of vga is due to the fact that it is so quick
 > to do pixel writes and copies.

Again, with all due respect I don't buy that argument.  DESQview
virtualizes standard VGA 640x480x16 "bit plane" graphics in a window
or in the background with acceptable performance.  If DESQview can do
it, there's no reason OS/2 shouldn't be able to do at least as well.
Although 640x480x16 would certainly be enough to satisfy me,
supporting 800x600x16 wouldn't be all that much harder.

Best regards,
John
                                                                                       
----
+------------------------------------------------------------------------+
| The Transfer Station BBS (510) 837-4610 & 837-5591 (V.32bis both lines)|
| Danville, California, USA. 400+ MB Files & FREE public Internet Access |
+------------------------------------------------------------------------+
Newsgroups: comp.os.os2.programmer