HDTenEightyP/NetNews huggingface dataset:
From: bergstro@src.honeywell.com (Pete Bergstrom)
Newsgroups: comp.os.os2.programmer
Subject: Re: OS/2 vs NT somewhere else
Date: 11 Sep 92 20:06:44 GMT
Organization: Honeywell Systems & Research Center
To: comp.os.os2.programmer
Posted-Date: Fri, 11 Sep 92 15: 06:44 CDT
Received-Date: Fri, 11 Sep 92 15: 06:50 CDT

shurr@cbnews.cb.att.com (larry.a.shurr) writes:
>In article <1992Sep10.194147.1@vax1.umkc.edu> browland@vax1.umkc.edu writes:
>>Please make arrangements to place your observations
>>of a released OS (I use it at work for work) vs a
>>smoke and mirror FUD product at a site that those
>>of us (not I) who wish to spend more bandwith than
>>alt...binaries does can get it.
>
>Contrariwise.  Please continue to post the OS/2 - NT comparison 
>document in this forum.  It has a higher information content than
>many of the things posted here or anywhere else in the news
>hierarchy and I find it of interest.


I *might* be able to tolerate posting the document itself here - but
absolutely keep the discussion in .advocacy, where it belongs.

In fact, when someone follows up to that discussion in .programmer, I
hope everyone will email that person and indicate that it is
inappropriate. 

As far as information content, I find .programmer is the highest
quality forum among the comp.os.os2.* newsgroups.  

Pete
Xref: sparky comp.os.os2.programmer:4771 comp.os.os2.misc:29418 news.answers:2804
From: rvaniwaa@copper.denver.colorado.edu (Ronald J. Vaniwaarden)
Newsgroups: comp.os.os2.programmer
Subject: exeption 0006
Date: 15 Sep 92 23:48:55 GMT
Organization: University of Colorado at Denver

I recently installed EMX along with gcc due to the urging of several
people on the net and now, whenever I try to compile and link, the hard
drive churns for a little while and then it comes back with a system
error with exemption 0006.  What does this mean?  It seems like I remember
some other people with this problem. Did it ever get solved?

Also, I am doing some math programming in a field called interval analysis.
Is there any way to access the round up and round down of a floating point
number?  This must be possible if you have a coprocessor since they
conform to IEEE standards.  How do I access it in C++ with or without a
math coprocessor?

Thanks in advance,
--Ron
Newsgroups: comp.os.os2.programmer
From: rls@tip.wedge.nt.com (Robert L. Smith)
Subject: BASIC on OS/2?
Originator: rls@
Organization: Northern Telecom Inc., RTP, NC
Distribution: na
Date: Sat, 5 Sep 1992 15:13:03 GMT


    How do you run BASIC under OS/2 2.0?
    The programs, \os2\mdos\basic and \os2\mdos\basica, blow up in
both the OS and DOS full screen processes if I try to run them.  This
is perhaps understandable, given that those programs expect BASIC to
be supported in the BIOS, as it's said to be on IBM hardware, which
I don't have (although you'd think the programs would be smart enough
to report the missing support!).
    But I have an old copy of GWBASIC lying around that runs fine
under all variants of DOS.  When I invoke it in full screen DOS under
OS/2, I get the cute reprimand,
        You can not SHELL to BASIC
as if I were calling in artillery! -- followed by the DOS prompt.
    I've used BASIC for years for quickie programs, such as mortgage
reduction, backyard measurements, etc.  Reusing it would seem to be
a lot quicker than learning REXX, which may or may not be suitable
for the same uses.  Must I take OS/2 down and boot from DOS?  Where
is IBM's vaunted compatibility?

Regards, rLs
Newsgroups: comp.os.os2.programmer
From: bjaspan@athena.mit.edu (Barry Jaspan)
Subject: Distributing C Set/2 headers -- license excerpt
Organization: Massachusetts Institute of Technology
Date: Sat, 12 Sep 1992 00:25:33 GMT

From the IBM C Set/2 License Information Version 1.0 booklet, page 5:

--- snip snip ---

Redistribution Information
--------------------------

Only the following IBM C Set/2 modules may be copied onto your application
diskette(s) when your application is dependent on them:

o all header (.H) files
o all library (.LIB) files
o all include (.INC) files

Each diskette copy of any of the above modules must be labelled as follows:

Contains IBM C Set/2 Runtime Modules (c) Copyright IBM Corporation 1992.  All
Rights Reserved.

Copies of these modules are provided "AS IS."

The label information is not required for source and object code that is
integrated into your application program during the normal compilation process.

--- snip snip ---

This seems to answer the question of whether GCC/2 or emx/gcc can use C Set/2
header files and libraries.  The answer appears to be yes.

It does not say that dynamic link (.DLL) files can be distributed; presumably,
this means that all applications compiled with C Set/2 that use the runtime
library must be statically linked.  It also is very specific about
distributing the modules on an application diskette.  I don't really think
that IBM means that other means of distribution---tape, CD-ROM, network,
BBS---are not allowed, but that is a possible interpretation.

DISCLAIMER: I am not a lawyer.  Do not consider this message as legal advice. 
I do not know what I am talking about.

-- 
Barry Jaspan, bjaspan@mit.edu
From: landis@sugs.tware.com (Hale Landis)
Newsgroups: comp.os.os2.programmer
Subject: Missing documentation - KBD, MOU and VIO 
Distribution: world
Date: Tue, 08 Sep 92 19:50:01 GMT
Organization: SUGS

In article <9209080106.AA19548@ucbvax.Berkeley.EDU> KENKAHN@PKSMRVM.VNET.IBM.COM writes:

  > In <715895337snx@sugs.tware.com> Hale Landis writes:
  > >Has anyone found the (missing) documentation for the KBD, MOU and
  > >VIO functions in the OS/2 2.0 manuals?
  >
  > These APIs are not documented in any 2.0 technical manual because they are
  > not supported in 32-bit mode.  They are supported in 16-bit mode which is
  > what thunking is all about.  This is mentioned in one or two of the ToolKit
  > Manuals for 2.0 but I forget which right now.  The actual description and
  > syntax for these APis however must be looked up in the 1.x technical manuals.

Sorry, but I think that is the wrong answer:  I don't have the
1.x technical manuals and I bet few other people have them!  If
these are supported, even if for backward compatibility, I should
be able to find some reference to them in the 2.0 manuals.  Also,
if they are considered 'old', then what replaces them?  How about
some documentation to aid us old (read non-GUI) programmers that
have programs that use these functions?

My bet is that there are far more non-GUI (not PM) programs
than there are GUI (PM) programs for OS/2.  I also would bet
that a lot of these will get 'upgraded' to 2.0 without being
converted to PM programs.  By not including any documentation
(not even the slightest reference) that I can find in the 2.0
manuals, IBM is not making life easy out here.
From: ameline@vnet.ibm.com (Ian Ameline)
Date: Mon, 7 Sep 92 18:45:10 EDT
Subject: Re: C++ Compiler for OS/2, which is NOT GNIU
Newsgroups: comp.os.os2.programmer
Organization: C-Set/2 Development, IBM Canada Lab.
Disclaimer: This posting represents the poster's views, not those of IBM

In article <_yqnl!m.feustel@netcom.com>,
feustel@netcom.com (David Feustel) writes:
>
>My understanding is that the IBM C++ compiler is already done, but IBM
>agreed with Borland  not to announce its C++ compiler until after
>Borland announces its own 32-bit C++ compiler for OS/2.
>--

   Your understanding is completely disconnected with reality. If we're
done, why are we (C++ Development) still working so hard? We'd **love**
beat Borland to market! Just FYI, IBM Canada (developers of C and C++
for OS/2) has no agrements with Borland about anything, possibly
excepting a non disclosure agreement our performance analysis team might
have signed in order to get their hands on the Borland Beta C++, in order
to measure it's performance against the (almost complete) IBM C++
compiler.

Regards,
Ian.
Newsgroups: comp.os.os2.programmer
From: rda612c@monu6.cc.monash.edu.au (js [schwobby])
Subject: writing to disks using interrupts
Summary: writing to disks using interrupts
Keywords: writing to disks using interrupts
Organization: Monash University, Caulfield Campus
Date: Sat, 12 Sep 1992 06:21:58 GMT

G`day.


Does anybody know which interupt at the file level to use to write
to disks using sector writes?

(And the same for sector reads???).




Any help would be appreciated.






regards 
      Jobst







-- 
----------------------------------------------------------------------
rda612c@monu6.cc.monash.edu.au  | Jobst "Schwobby" Schmalenbach
19 York Street, Sth Caulfield, 3162, Australia, 69 - 3 - 5237348B
............Perfection means, that there is nothing left to take away.
From: chandoni@husc8.harvard.edu (John-Marc Chandonia)
Newsgroups: comp.os.os2.programmer
Subject: Using Watcom Fortran with either GCC?
Date: 15 Sep 92 20:04:11 GMT
Article-I.D.: husc3.1992Sep15.160411.15606
Distribution: world
Organization: Harvard University Science Center

Is there a way to either call C subroutines from Watcom fortran, or
to call Watcom subroutines from GNU C?  The problem is that the
object files and libraries seem to be incompatible; Watcom uses their
own linking program instead of link386.  Using F2C is probably not
an option.

If anyone has gotten it to work, which GCC did you use (emx or 2.2.2)
and how did you do it?

Thanks,
JMC
-- 
chandoni@husc8.harvard.edu    | I will not yell fire in a crowded classroom
John-Marc Chandonia           | I will not yell fire in a crowded classroom
Graduate Biophysics Program   | I will not yell fire in a crowded classroom 
Harvard University            | I will not yell fire ...
Newsgroups: comp.os.os2.programmer
From: tholen@hale.ifa.hawaii.edu (Dave Tholen)
Subject: DosDevIOCtl
Organization: University of Hawaii
Date: Mon, 7 Sep 1992 01:46:47 GMT

I have a 16-bit OS/2 application that I would like to recompile for 32-bit
OS/2.  This application currently uses KbdCharIn to retrieve keystrokes
from the keyboard.  There is no 32-bit version of KbdCharIn, though it
appears that DosDevIOCtl, Category 4, Function 74H, "Read Character Data
Records" may be a satisfactory substitute.

I have documentation for the 16-bit DosDevIOCtl in the form of Ray Duncan's
book and the include files for the 16-bit compiler, but all I have at the
moment for the 32-bit DosDevIOCtl are the include files for the 32-bit
compiler.  Both Duncan's book and the include file list five arguments to
the 16-bit DosDevIOCtl, but the 32-bit compiler's include file lists nine
arguments.  I've concluded that DosDevIOCtl has been changed and that I
need more documentation before attempting to determine whether DosDevIOCtl
will serve as a replacement for KbdCharIn.  Calling the 16-bit KbdCharIn
API from the 32-bit version of the program is an alternative that I'd like
to avoid, because my compiler doesn't support it at this time.

For a short term solution, can somebody tell me what the syntax is for the
32-bit DosDevIOCtl call?  For a long term solution, can somebody recommend
an OS/2 2.0 counterpart to Ray Duncan's book?
Newsgroups: comp.os.os2.programmer
From: rafi@genius.tau.ac.il (Rafi zeltser )
Subject: Re: realtime application
Summary:  Microsoft C-7.00 under os2.
Organization: Tel Aviv University School of Math and CS, ISRAEL
Date: Mon, 7 Sep 1992 16:49:34 GMT


I managed to have PWB working in a dos box under os/2 v2.0. The
compiler itself does not work. Has anyone managed to compile
using C700 under os/2 v2.0. I can remember there was a letter
regarding a patch to C700 that will enable it to work but can't
find it.
Please reply back to me since I am not a regular reader of this
news group.

Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: Re: Missing documentation - KBD, MOU and VIO 
Date: Thu, 10 Sep 92 00:54:16 GMT
Organization: DAFCO: OS/2 Software Support & Consulting

terryfry@access.digex.com (Terry Fry) writes:

>In article <715981801snx@sugs.tware.com> landis@sugs.tware.com (Hale Landis) writes:
>>In article <9209080106.AA19548@ucbvax.Berkeley.EDU> KENKAHN@PKSMRVM.VNET.IBM.COM writes:
>>
>>  > In <715895337snx@sugs.tware.com> Hale Landis writes:
>>  > >Has anyone found the (missing) documentation for the KBD, MOU and
>>  > >VIO functions in the OS/2 2.0 manuals?

>>Sorry, but I think that is the wrong answer:  I don't have the
>>1.x technical manuals and I bet few other people have them!  If
>>these are supported, even if for backward compatibility, I should
>>be able to find some reference to them in the 2.0 manuals.  Also,
>>if they are considered 'old', then what replaces them?  How about
>>some documentation to aid us old (read non-GUI) programmers that
>>have programs that use these functions?

>I havn't found any reference to the 1.x calls in the 2.0 toolkit, either.
>I happen to have the MS PM 1.2 Toolkit, I just loaded up the quickhelp
>and run with this.

>>
>>My bet is that there are far more non-GUI (not PM) programs
>>than there are GUI (PM) programs for OS/2.  I also would bet
>>that a lot of these will get 'upgraded' to 2.0 without being
>>converted to PM programs.  By not including any documentation
>>(not even the slightest reference) that I can find in the 2.0
>>manuals, IBM is not making life easy out here.

>Your right, I think that IBM has under-estimated the amount of programers
>that simply want to code in a Vio format.  Most of what everyone
>here does is get whatever engine they want running in a full screen
>program... then its PM time.  This habit came from inherit problems
>debugging under 1.x PM with codeview and dealing with Async events.

>I don't think that 2.0 needs a 32bit Vio system, just some reference
>for us to utilize the 16 system there.

Anyone who has an old copy of the Microsoft Programmer's CDROM already
has the documentation for the old calls.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
RE Drug Warriors who enjoy making a "good" bust: I'm sure the Salem
Witch Hunters enjoyed their law enforcement achievements too.
From: rjo@panix.com (Robert Olivier)
Newsgroups: comp.os.os2.programmer
Subject: Re: Help: Kernel Debugger
Date: 8 Sep 92 14:34:41 GMT
Article-I.D.: panix.1992Sep8.143441.14463
Organization: PANIX Public Access Unix, NYC

In <1992Sep7.145724.22530@hns.com> oneil@hns.com (Pat O'Neil) writes:

>Anyone have any experience with the OS/2/2.0 Debug Kernel?  I have installed
>it and can't get it to respond to an async terminal on COM1.  I've
>read the directions pretty carefully and done everything they say, including:

>- Install the debug kernel in the root directory of the hard disk

>- Add the "/C1" option to the "device=pmdd.sys" command in config.sys

>- Put a null modem in the cable that connects com1 and the async terminal

>- Set the async terminal to 9600 b/s, no parity, 8 bits, 1 stop.

>Despite all this, I can't seem to raise the debugger. None of the attention
>characters work -- not 'r', 'p' <SP> or ^C.  I am absolutely sure I am
>hooked up to COM1.

>One thing I tried was to disable loading of the COM drivers by deleting the line:
>"device=\os2\com.sys" from config.sys.  That didn't do any good.

>I would greatly appreciate any help.

>Pat O'Neil
>Hughes Network Systems
>Germantown, Md.

I had similar problems when I installed my debug kernel.  I found that it
didn't like my Tandy NULL modem and I had to construct my own that only passed
pins 2,3 (crossed) and 7 through. 

Hope this helps

rjo@panix.com
-- 
Robert J. Olivier

rjo@panix.com
Newsgroups: comp.os.os2.programmer
From: slumos@bobby.cs.unlv.edu (Steve E. Lumos)
Subject: Re: C++ Compiler for OS/2, which is NOT GNIU
Reply-To: slumos@bobby.cs.unlv.edu (Steve E. Lumos)
Organization: UNLV Computer Science and Electrical Engineering
Date: Wed, 9 Sep 92 01:14:45 GMT

In article <_yqnl!m.feustel@netcom.com>, feustel@netcom.com (David Feustel) writes:
) 
) My understanding is that the IBM C++ compiler is already done, but IBM
) agreed with Borland  not to announce its C++ compiler until after
) Borland announces its own 32-bit C++ compiler for OS/2.

Figures. Who wants to bet that in return Borland agreed to not announce 
their upgrade prices until after the WorkSet/2 discount period ended? I
knew there was some reason why they were keeping the lid on things. You
can usually get information from Borland employees easily, but not with
BC++ for OS/2... 

Meanwhile, people are all but BEGGING for compilers...

TTYL - Steve

-- 
Steve Lumos - slumos@cs.unlv.edu
Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: Missing documentation - KBD, MOU and VIO
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Wed, 9 Sep 1992 01:03:48 GMT

In article <36rntcm.feustel@netcom.com> feustel@netcom.com (David Feustel) writes:
>There is a section on calling 16-bit code functions in the C SEt/2
>User's Guide S10G-4444-00.

The OS/2 Shareware BBS also has some documentation on the procedure,
and that documentation will make its way to ftp-os2.nmsu.edu is due
course.  Watch for it.

-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST is avail. from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/faq.
Dept. of Econ., Univ.   | Or from LISTSERV@BLEKUL11.BITNET (send "HELP").
of Chicago, 60637       | Family Values Means a Job
From: fattire@vnet.ibm.com (BJ Hargrave)
Date: Thu, 10 Sep 92 16:47:05 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: 1.3 and file handle limit?
News-Software: UReply 3.0

In <cDaVqB3w165w@sps.pgh.pa.us> Kevin J. Slater writes:
>Is there a limit to the number of available file handles under OS/2 1.3?
>I have a developer I'm working with who is getting an error message that
>points to no more available file handles from an app he is developing
>under v1.3. Any comments?
>
>...Kevin
>
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>Kevin J. Slater (kslater@sps.pgh.pa.us)       | Believe in the Lord Jesus
>Slater Programming Services  | CI$ 73077,2427 | and you will be saved - you &
>Glenshaw, PA 15116-0027      | bix kslater    | your household. - Acts 16:31
>- - - - - - - - - - - - WESPAC BBS (412) 487-3637 - - - - - - - - - - - - - -
>

I believe there is a system limit of ~64k handles and a per process
limit of ~32k. However, the default per process limit is 20 handles.
This can be increased (but not decreased) with DosSetMaxFH for the life
of the process. All newly created children of the process also inherit
this increased number of file handles.

Additional some C compilers have a limit of 20 fopen's which can only be
increase by recompiling the C runtime initialization code.
-----------------------------------------------------------------------
BJ Hargrave                     Internet: fattire@vnet.ibm.com
Boca Raton, FL                  IBMIPNet: bjhar@bjhar.bocaraton.ibm.com
Newsgroups: comp.os.os2.programmer
From: jbhuber@iastate.edu (Joseph B Huber)
Subject: mktemp() and emx/gcc
Organization: Iowa State University, Ames, IA
Date: Wed, 9 Sep 1992 19:37:15 GMT

Has anyone gotten mktemp() to work under emx/gcc? When I try to use it,
mktemp returns NULL and does not modify the 'XXXXXX' portion of the filename
template. This occurs with programs I have written as well as previously
written code. I have included <io.h>. 

tmpnam() seems to work, but I was just curious about mktemp.

Thanks.




-- 
Joe Huber 
(jbhuber@iastate.edu)        | Capt. James T. Kirk on the 2nd law of thermo: 
Dept. of Mech. Egr.          |  "It's not a hundred percent efficient,
Iowa State University        |   but nothing ever is."
Newsgroups: comp.os.os2.programmer
From: rpack@javelin.sim.es.com (Rick Pack)
Subject: Re: Help: Kernel Debugger
Reply-To: rpack@javelin.sim.es.com
Organization: Evans & Sutherland Computer Corp., Salt Lake City, Utah
Date: Tue, 8 Sep 1992 18:02:16 GMT

oneil@hns.com (Pat O'Neil) writes:

>Anyone have any experience with the OS/2/2.0 Debug Kernel?  I have installed
>it and can't get it to respond to an async terminal on COM1.  I've
>read the directions pretty carefully and done everything they say, including:
>
>...... stuff deleted
>
>I would greatly appreciate any help.
>
>Pat O'Neil
>Hughes Network Systems
>Germantown, Md.

  Pat,
  I had terrible trouble with the debug kernel when I first tried to get
it to work.  My system would crash after about 30 seconds of use.  Just
getting it to boot was iffy.  I then started debugging with just printf
statements, using the original kernal, figuring that the debugging kernal
was buggy.
  Just last week, I realized that the debugging kernal is NOT necessary, as
there is a great debugger included in the c-set2 package that runs under
PM and will debug PM programs.  It's called IPMD.  I STILL do not know
what the purpose of the debugging kernal is, as IPMD works just fine without
it, and there is none of this async terminal/serial port stuff.
  The install documentation for workset/2 never mentions IPMD, just the debug
kernal, which leads you to believe that it is your only option.

  Good luck
-- 
Rick Pack   -WC7W- 
Evans & Sutherland Computer Corp.
Salt Lake City, Utah
(801) 582-5847
From: ying@dirac.phys.washington.edu (Shuqian Ying)
Newsgroups: comp.os.os2.programmer
Subject: Help needed on putting a *.o file in a library *.a file
Keywords: DOS, EMX, GCC, AS
Date: 6 Sep 92 22:22:35 GMT
Article-I.D.: dirac.ying.715818155
Organization: University of Washington


    I installed the gnu-c2.1 (emx) few weeks ago under MSDOS. It works great
in doing large (relatively, I must say) numerical computation with a speed
comparable to vax workstations. However I have a problem puting some of the 
*.o files compiled from *.s files using 'as'. The following is what I did
(for example, I shall compile pow.s and put it into libc.a)

as -o pow.o pow.s
ar dv libc.a __.SYMDEF
ar rv libc.a pow.o
ar sv libc.a

Then, I used the following command to compile myprogram.c, which calls
pow(x,y)

gcc -o -O2 myprogram.exe myprogram.c

The compiler would complain that all of the variables defined in pow.s
are undefined. (For your reference they are cw1,cw2,int_exponent,x,y.)

Could any one give me some suggestions what should I do to correct that?
I appreciate you help.

P.S. I am sorry that I post a question not related to OS2, but it seems
that this is THE group where people really discuss gnu-c(emx).
Newsgroups: comp.os.os2.programmer
Subject: CSet/2 CSD CS0014
From: merrill@cs.arizona.edu (Darren Merrill)
Date: 12 Sep 92 07:48:33 GMT
Keywords: CSD CSet/2

The latest (CS0014) CSet/2 CSD is on hobbes in uploads.

-darren

--
Darren Merrill                  UUCP: uunet!arizona!merrill
University of Arizona           Bitnet: merrill%cs.arizona.edu@arizona.bitnet
Department of Computer Science  Internet: merrill@cs.arizona.edu
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: Icons in the title bar (a la EPM in ring enabled mode)
Date: 9 Sep 92 13:28:08 GMT
Distribution: comp.os.os2.programmer
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <h1qn40+.msmith@netcom.com> msmith@netcom.com (Martin P. Smith) writes:
>The subject pretty much says it for me. How can I create icons in the title
>bar. I would really like to build this capability into a product I am
>developing. I have looked through the programmers guide volume two but
>cannot seem to find the relevant info.       

You may not be able to do it with WinCreateStdWindow.  You may have to
do a WinCreateWindow, and create the elemnts by hand.  Then when you
get to the titlebar, you can slip in your own window class.  Perhaps
simply a title bar with an OWNERDRAW characteristic (can you do that?)

But I've no experience with this, so there may be an easier way.



-- 
   |)  David Charlap           "TELEPHONE, n.  An Invention of the devil which
  /|_  dic5340@hertz.njit.edu   abrogates some of the advantages of making a
 ((|,)                          disagreeable person keep his distance."
  ~|~                              --- Ambrose Bierce, The Devil's Dictionary
Newsgroups: comp.os.os2.programmer,comp.os.os2.networking,comp.sys.novell