HDTenEightyP/NetNews huggingface dataset:
From: ladd@oscar.cs.unc.edu (Brian Ladd)
Newsgroups: comp.os.os2.programmer
Subject: EMX Manual
Date: 2 Sep 92 13:20:20 GMT
Distribution: comp
Organization: UNC Department of Computer Science

After some work, I have converted the develop.doc file which accompanies
the EMX distribution into a Texinfo document; that's right, one document
which produces a nice TeX formatted manual AND .info files for use with
Emacs.

Now for the bad news: The C Library documentation is still sketchy (that
part, while prettier to look at, was lifted whole-cloth from the
develop.doc), the info files require the newest version of Makeinfo (Emacs
cannot compile them internally; I followed the v2 documentation and some of
the features are not yet supported) and you need a very current version of
texinfo.tex (2.991 works and comes with the Makeinfo port for OS/2).

The files are available for anon ftp from ftp.cs.unc.edu in the /pub/ladd
directory:

        File            Description
        emxdvi.zoo      DVI version of printed manual, zoo 2.1
        emxinfo.zoo     .info files for use with Emacs, zoo 2.1
        emxtexi.zoo     The source Texinfo file, zoo 2.1

If there are any problems, corrections, or additions you would like to
volunteer, I am more than happy to accept them; my next goal in the
documentation is a tutorial on PM programming with EMX and some interest
has been expressed in filling in the gaps in the C Library documentation
(and then there is the PM API docs :->), but the school year has begun
again, so progress may be a little slow.

-bcl
Brian C. Ladd
Graduate Student & *NIX Court Jester
University of North Carolina - Chapel Hill
As always, the University will disavow all knowedge of this posting and its
poster. This message will self-destruct in 5 seconds: 5..4..3..2..1...
From: sthiagar@bronze.ucs.indiana.edu (sivasailam thiagarajan)
Subject: Re: C Set/2 CS00013, did it make it out?
Organization: Indiana University
Date: Tue, 1 Sep 1992 13:39:21 GMT

In article <19920831.175327.594@almaden.ibm.com> ameline@vnet.ibm.com (Ian Ameline) writes:
>
> CSD 14 is up there now -- I just uploaded it. It's also on the OS/2
>Support BBS, and will be on the NSC BBS in a day or so.
>
>Regards,
>Ian.
>P.S. It's been less than a month since CSD 11. I put that up on 08/08.
>There's 14 new fixes in CSD 14. (coincidence? -- you be the judge :-)

Four rude questions:

1) Are you (or IBM :-) planning to put CSD 14 on an ftp site? Hobbes
or software.watson.ibm.com would be nice.

2) If the answer to 1) is "No," would there be any objection to
someone (possibly me) posting it to Hobbes after getting it from
CompuServe?

3) If the answer to *that* is no, is there an official phone number
that those of us with C Set/2 can call to get the latest CSDs?

4) Finally, is 14 an "official" CSD, or is it a beta?

Thanks for any light you can shed on these matters.

Raja Thiagarajan
(sthiagar@bronze.ucs.indiana.edu)
From: mikeh@microme.uucp (Michael L. Hasenfratz)
Subject: Re: Desktop: now you see it. Now you don't. Why???
Organization: Micro Memory Inc., Chatsworth, Ca.
Date: Mon, 31 Aug 92 17:58:12 GMT

In article <1992Aug28.041804.7627@news.columbia.edu> mig@cunixb.cc.columbia.edu (Meir I Green) writes:
>In article <1992Aug28.035047.12917@unixg.ubc.ca> ochealth@unixg.ubc.ca (ochealth) writes:
>>
>>Something odd and irritating happened to my OS/2 desktop.
>>

[ stuff deleted ]

>
>Did you have these problems before installing the new kernel, or are you
>on the old kernel, still?
>
>Did you install the black icon fix?
>
>I already had the black icon fix, but I just installed the new kernel, and I
>have just started having these WPS lockups!  Please tell me I did something
>else wrong :-)

I've seen the same problems. My system has had ZERO changes installed.
However, It seemed to start after installing FTP software, here at work.
And my system at home ONLY has had the update for the IBM506??? (for MFM
drives) fix installed (early on). The problems at home started weeks after
I installed the driver fix.

So, I can't corrilate any specific changes that would cause it. Nor, can I
predict *WHEN* it will occur.

BTW - The only thing I do to continue is wait for the "Not Responding.." 
screen. Things continue fine. (more patient than some, I guess :-)

>
> * * * * *  =================== Internet address is  mig@cunixb.cc.columbia.edu
>* * * * * * == Meir I. Green == Amateur Packet Radio N2JPG@W2XO.PA.USA.NOAM
> * * * * *  = mig@columbia.edu= Amateur Packet Radio N2JPG@K2KJC.NY.USA.NOAM
>* * * * * * =================== Amateur TCP/IP       N2JPG@uhm.ampr.org


Mike Hasenfratz - WA6FXT * mikeh@uMEM.COM or uunet!microme!mikeh
Micro Memory Inc.
Chatsworth, Ca. 91311
From: celarier@reed.edu (Stuart Celarier)
Newsgroups: comp.os.os2.programmer
Subject: FAQ file -- can't locate
Date: 4 Sep 92 17:10:43 GMT
Article-I.D.: reed.1992Sep4.171043.24717
Organization: Reed College, Portland, OR

Recently someone posted to this group asking about the FAQ file for  
programmers, and the responce was that it is out on news.answers.  I had no  
luck finding it there.  The only article with "OS/2" in the subject line is the  
FAQ for comp.os.os2.  The only articles with "programmer" in the title have to  
do with other OSs.  Where is the FAQ file *really*, and what is its subject  
like likely to contain?

Thanks!
Stuart
--
Stuart Celarier
celarier@reed.edu	PO Box 82842
503/236-9386		Portland, Oregon 97282
Newsgroups: comp.os.os2.programmer
From: cnadler@vnet.ibm.com (Cliff Nadler)
Subject: Re: WPS Program objects from cmd, Rexx, or C
Date: Fri, 04 Sep 92 14:55:41 GMT
News-Software: IBM OS/2 PM RN (NR/2) v0.11 by O. Vishnepolsky and R. Rogers
Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
Organization: IBM T. J. Watson Research

In  <Bu1zIH.3u6@world.std.com>  bsn@world.std.com (Brent S Noorda) writes:
> I set up program objects' settings so that by double-clicking on them in
> the WPS I can launch them in wonderful ways. For example, I can set up
> a desktop Program Object to launch a program in a DOS session with such-and-
> such memory and window, etc...  Now I can launch this program with these
> setting whenever I want by using a mouse on the shell.  But is there any
> way to launch these same programs with the same settings from the command
> line or from Rexx or from C programming?
> Can messages be sent to the shell?
> Are the settings saved somewhere accesible?
> 

Yes, they are (if you know the OBJECT_ID of the object, and you have the very
latest REXX20 updates). You can use SysSetObjectData to open an object that
exists on the desktop, or you can use SysCreateObject with <WP_NOWHERE> and
(I think) "OPEN=DEFAULT" in the setup string parameter.

--
Cliff Nadler (cnadler@vnet.ibm.com)
IBM Federal Systems Company - TEAM OS/2

Disclaimer: This post represents the views of the poster, not IBM Corporation.
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
From: mig@cunixb.cc.columbia.edu (Meir I Green)
Subject: Re: Desktop: now you see it. Now you don't. Why???
Reply-To: mig@cunixb.cc.columbia.edu (Meir I Green)
Organization: Columbia University, New York
Date: Fri, 28 Aug 1992 04:18:04 GMT

In article <1992Aug28.035047.12917@unixg.ubc.ca> ochealth@unixg.ubc.ca (ochealth) writes:
>
>Something odd and irritating happened to my OS/2 desktop.
>
>When I restart my computer, it boots etc. I get a startup.cmd window.
>The desktop flashes grey as usual, then returns to the desktop color.
>
>So far so good.
>
>Now the system does one of two things:
>1. finishes the startup, and puts all my icons and stuff on screen
>2. sits there and does nothing. No icons etc. Moving the startup.cmd
>window or ctrl-esc hangs PM until a "Desktop not responding" window comes up,
>and I can kill it.
>
>So where does my desktop go? Bad day? Doesn't feel like coming out to play?
>
>Fortunately, I have the startup.cmd window up, and I'm getting used to  typeing
>"kill 5" to kill the desktop, and recycle it. It then comes out to play :^)
>
>(If I didn't have a startup.cmd window, and kill, I'd be more than irritated!
>at least now I can recover)
>
>-I always shutdown properly, even "refresh" before shutting down. No help
>-I rebooted from the install disks etc. and tried chkdsk /f:3 and
>that didn't find any weirdness
>
>Any helpful suggestions?

Did you have these problems before installing the new kernel, or are you
on the old kernel, still?

Did you install the black icon fix?

I already had the black icon fix, but I just installed the new kernel, and I
have just started having these WPS lockups!  Please tell me I did something
else wrong :-)

 * * * * *  =================== Internet address is  mig@cunixb.cc.columbia.edu
* * * * * * == Meir I. Green == Amateur Packet Radio N2JPG@W2XO.PA.USA.NOAM
 * * * * *  = mig@columbia.edu= Amateur Packet Radio N2JPG@K2KJC.NY.USA.NOAM
* * * * * * =================== Amateur TCP/IP       N2JPG@uhm.ampr.org
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: GCC/2 header files fixed.
Date: 28 Aug 92 20:50:10 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <EebMf6u00Vox8Y119E@andrew.cmu.edu> sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:

>> I have just ftp'd a new version of gcchdr.zoo onto
>> ftp-os2.nmsu.edu:/pub/downloads. 
>
>> This file now includes all header files.
>
>And what exactly were these fixes?

All the headers are there.  The <sys/*> and <machine/*> include files
were missing.



-- 
   |)  David Charlap           "I don't even represent myself
  /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
 ((|,)
  ~|~  Hi! I am a .signature virus, copy me into your .signature file.
Newsgroups: comp.os.os2.programmer
From: harris@cheshire.catt.ncsu.edu (Michael Harris)
Subject: Re: Help: Cannot set colors in MLE controls
Organization: North Carolina State University
Date: Wed, 26 Aug 1992 22:00:48 GMT

grega@netcom.com (Greg Altman) writes:

>I am trying to set colors in MLE controls using presentation parameters, i.e.
>FOREGROUNDCOLOR and BACKGROUNDCOLOR. I am using longs to pass in RGB values.
>This works just fine in all the other controls, by MLE set their colors to
>the 16 provided by the system.

>Is something wrong? Should I use some other methods for setting MLE colors?

I don't know... but there are MLM_ messages to do this.  I don't have the docs
in front of me but I think they are MLM_SETBACKCOLOR MLM_SETFORCOLOR (or
something close to that).  The messages use the CLR_ system values.
______________________________________________________________________________
     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: KENKAHN@PKSMRVM.VNET.IBM.COM ("Kenneth A. Kahn")
Newsgroups: comp.os.os2.programmer
Subject: Re: _dos_getdiskfree for Os2 ??
Date: 1 Sep 92 02:15:23 GMT
Article-I.D.: ucbvax.9209010228.AA28529

Organization: Staff of IBM Fellow - NetWork Computing
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)

In <1992Aug31.175018.3157@progress.com> Dave McMahon writes:
>Is there an OS/2 function that returns information about a disk?
>
>The _dos_getdiskfree function returns disk information in the _diskfree_t
>structure that allows you to calculate the amount of free space on a
>particular disk.

For 16-bit, look at the DosQFSInfo API.  For 32-bit look at the DosQueryFSInfo
API.  In both cases use the FSIL_ALLOC function to obtain free and available
allocation information for a particular drive.
From: pstevens@Metaphor.COM (Paul Stevens)
Newsgroups: comp.os.os2.programmer
Subject: Tracking down DLL incompatibilities
Date: 3 Sep 92 20:17:47 GMT
Reply-To: pstevens@Metaphor.COM (Paul Stevens)
Organization: m4

We are developing a set of applications that make use of several different
DLL's to share common code.  We frequently encounter problems when one of
the applications or even a DLL itself has not been linked with the most 
current version of one of these DLL's.  When this happens the application
will terminate silently; no error message, just return to the command prompt.
You are faced with the problem of figuring our which piece out of all of
these components is out of sync.

We have even found that if you don't link with the right combination of
the IBM supplied DLL's, dde4mbs[i] and dde4mbm[i] you can get into
the same situation.

Can someone explain exactly what fails during image activation that causes
this "silent" failure?

Is there not some way that a developer can get more information about
what the incompatibility is?  Problems of these sort continually cost
developers significant amounts of time.  It's just one more of the things
that makes almost all the developers here loathe OS/2 as a development
environment.  

+------------------------------------------------------------------------+

   Paul Stevens                        {apple|decwrl}!metaphor!pstevens
   Metaphor Computer Systems           pstevens@metaphor.com
   Mountain View, CA
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: C Set/2 Problem with getch()
Date: 27 Aug 92 19:18:12 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1992Aug24.203004.2629@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:
>In article <5s-n5j.feustel@netcom.com> feustel@netcom.com (David Feustel) writes:
>>I'm trying to use getch() in C Set/2 to read from the keyboard with no
>>echo. Link386 reports getch() not found.
>
>According to the Unix box I have here, you should use getchar().
>That's in <stdio.h>.  The getch() function is a curses function and is
>located in <cursesX.h>, a header/library that probably isn't available
>for OS/2 yet, and certainly doesn't ship with C Set/2.
>
>I getch() is a common language extension, but it isn't ANSI.  So
>there's no gurantee that it should exist.  Just because Microsoft and
>Borland used it, doesn't mean that everyone does.  (IBM's old C/2
>compiler was MS-C repackaged)

A correction to myself:  C-Set/2 does indeed have getch().  It is
located in the <conio.h> header, just like it is under Microsoft C.
Sorry for the confusion.  I assumed that since you used it before in a
DOS compiler, that you had already included <conio.h>.

Note that <conio.h> is non-ANSI, and shouldn't be used if you want
your code to be completely portable.
-- 
   |)  David Charlap           "I don't even represent myself
  /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
 ((|,)
  ~|~  Hi! I am a .signature virus, copy me into your .signature file.
Newsgroups: comp.os.os2.programmer
From: shiva@well.sf.ca.us (Kenneth Porter)
Subject: WinDefWindowProc source
Organization: Whole Earth 'Lectronic Link
Date: Thu, 3 Sep 1992 20:20:26 GMT

I just got a Norton book about programming Windows using Borland's
Object Windows, and an appendix contains the source for the Windows
WinDefWindowProc.  It claims that this comes with the SDK.

Is the source for the OS/2 WinDefWindowProc available?  This would be
nice for instantly clearing up any ambiguities about what it does and
what a client proc should generally do with messages.

Ken
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: How to crash OS/2 1.2 & 1.3?
Date: 1 Sep 92 22:55:36 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1992Sep01.153604.35238@ans.net> db3l@ans.net (David Bolen) writes:
>
>I'm not sure the call is even relevant nowadays.  It doesn't seem to be
>documented any longer under OS/2 2.0 (at least not in the 2.0 toolkit docs
>or header files), although it still has an entry point in the system dll.

Lots of outdated calls have entry points.  Like MouSetHotKey.  There
are only two calls that were in the 1.0 spec but aren't in the 2.0
library:  DosSystemService, and VioReadStr.  The former has been
superceded by a number of API's, and the latter has been replaced by
VioReadCellStr, which appears to work identically to it.

-- 
   |)  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
From: jsykes@dadd.ti.com (Jonathan Sykes)
Subject: GLIB.EXE for GCC/2
Reply-To: jsykes@dadd.ti.com
Organization: Texas Instruments Inc
Date: Tue, 1 Sep 1992 16:48:39 GMT

I have uploaded version 1.0.0 of GLIB.EXE to ftp-os2.nmsu.edu. It can be
found in /pub/downloads as:

glib.zoo        .... glib.exe and man page.
glibsrc.zoo     .... glib source and MS App notes on OBJ/LIB files.
                     (source requires an HPFS partition)

This program allows you to create and manage .LIB files.

The files should eventually be moved to /pub/os2/2.0/programming.

---
           __o
           \<,
_________()/ ()_______________________________________________________________
Jon Sykes                                                   jsykes@dadd.ti.com
Design Automation Div.                                          (214) 997-2916
Texas Instruments Inc. Dallas, Tx.
From: seg@Ingres.COM (scott e garfinkle)
Newsgroups: comp.os.os2.programmer
Subject: Re: C Set/2 Problem with getch()
Date: 27 Aug 92 12:46:11 GMT
Organization: Ingres, an Ask Company

In article <19920826.163024.940@almaden.ibm.com> ameline@vnet.ibm.com (Ian Ameline) writes:
>In article <1992Aug26.222918.14442@pony.Ingres.COM>,
>seg@Ingres.COM (scott e garfinkle) writes:
>>Actually, I find it  just as convenient to use KbdCharIn  as getch().  They
>>are both 16 bit calls, anyway.  Code fragment:
>   Nope. the migration libraries are all compiled with C-Set/2, and are
>32 bit. Now that particular function probably just calls the Kbd
>function anyways.

If it walks like a dog, barks like a dog, (etc.), then it is a dog.  If the
function requires a call to EDCThunkProlog, then just turns around and
calls a 16 bit function, who cares if  the calling sequence is 16 or 32 bit?
Newsgroups: comp.os.os2.programmer
From: aspect@sun1g.informatik.Uni-Bremen.DE (ASpecT (=jvh+ric))
Subject: Does link386 prefer lowercases?
Keywords: linker gnu-c
Organization: Universitaet Bremen
Date: Thu, 3 Sep 1992 08:58:19 GMT

Yesterday we tried to port a large program from UNIX to OS/2
using GNU-C. Compiling was no problem (no changes required)
but the linker (link386) caused us crying (in pain).
* alot of symbols could not be resolved ... but they are defined
  in one of the modules (about 60) - if they were not the other
  linkers (several) on UNIX-machines would not be able to link
  that.
  ???? Perhaps one has to order the modules ... but a little test
       makes us believe thats not necessary
* some object files could not be found ... but they are all in
  the same directory ... especially link386 does not find any
  of the standard libs ... which it can find while linking smaller
  examples
  ???? No idea how to solve this
* an the most annoying one: the link386 seems to convert all 
  of the identifiers to lowercase ... which caused several
  multiple-defined-errors ... i.e. we defined a free of our own
  naming it FREE (which seemed to be natural to us) ... just that
  small program
   void f(){}
   void F(){}
   main(){f();F();}
  could not be linked due to _f been multiply defined. Examining
  the object file shows the correct (uppercase and lowercase) 
  identifiers.
  ???? I cannot believe that we have to reprogramm the whole
       stuff and forget about case sensitive identifiers.
We have no docs for link386 - just doing it by "imagination" and
"experience" ... maybe there's the one or the other switch which solves
all this mess. Any advices, flames, etc.?

Joern (University of Bremen/Germany)
aspect@sun1g.informatik.Uni-Bremen.de
From: ecco@rniwh.rni.sub.org (Martin Sckopke)
Newsgroups: comp.os.os2.programmer
Subject: PL/I compiler for OS/2 2.0
Date: 29 Aug 92 13:04:53 GMT
Organization: Not organized in any way

The subject says it all: Does anybody know where to get a PL/I compiler for
OS/2 ?? Could he/she please mail me the address ?
Thanx in advance...

-- 
+------------------------------------------------------------------------+
+ Martin Sckopke                Weinheim, Germany                        +
+ ecco@rniwh.rni.sub.org        This space is reserved 4 sth VERY witty  +
+------------------------------------------------------------------------+
From: mlevis@ringer.cs.utsa.edu (Mike Levis)
Newsgroups: comp.os.os2.programmer
Subject: Re: How to crash OS/2 1.2 & 1.3?
Date: 29 Aug 92 19:02:56 GMT
Organization: University of Texas at San Antonio

In article <1992Aug29.074354.3803@desire.wright.edu> jstewart@desire.wright.edu writes:
>In article <1992Aug28.205121.20677@njitgw.njit.edu>, dic5340@hertz.njit.edu (David Charlap) writes:
>> In article <1992Aug28.131233.26834@klaava.Helsinki.FI> silvonen@klaava.Helsinki.FI (Mikko Silvonen) writes:
>>>The subject says it all: I need a program that crashes OS/2 versions 1.2
>>>and 1.3. Plain GP faults are no good; the crasher must stop the whole
>>>system without mercy.
>> 
>> Why do you want this?  Planning on writing a new virus?  Or are you a
>> Microsoft field researcher?
>
>	Nice and anal...since when did curiosity become a crime?

Nice and anal?  Mikko *needs* to crash OS/2, and Dave was *curious*
as to why.  Since when did curiousity become a crime?

I, too, would like to know why someone would *need* to crash
a system.  I'm just curious.  I hope that it is not a crime.

>						John Stewart
>
>> -- 
>>    |)  David Charlap           "I don't even represent myself
>>   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
>>  ((|,)
>>   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
                     ^^^^^^^^^^^^^^^^
Hey... this virus does not crash OS/2!!!  #8^)

-- 
==== Mike Levis   mlevis@ringer.cs.utsa.edu ====
::   ftp ftp-os2.nmsu.edu (128.123.35.151)    ::  .--.
::   for OS/2 software & information.  Get    :: (OS/2)
:::: the OS/2 FAQL in dir /pub/os2/all/faq :::::  ~--~
Newsgroups: comp.os.os2.programmer
From: db3l@ans.net (David Bolen)
Subject: Re: How to crash OS/2 1.2 & 1.3?
Date: Tue, 1 Sep 1992 20:03:13 GMT
	<1992Sep1.134936.6800@njitgw.njit.edu> <1992Sep01.153604.35238@ans.net>
	<1992Sep1.225536.22075@njitgw.njit.edu>
Organization: Advanced Network & Services, Inc. - Elmsford, NY

In article <1992Sep1.225536.22075@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:

>Lots of outdated calls have entry points.  Like MouSetHotKey.  There
>are only two calls that were in the 1.0 spec but aren't in the 2.0
>library:  DosSystemService, and VioReadStr.  The former has been
>superceded by a number of API's, and the latter has been replaced by
>VioReadCellStr, which appears to work identically to it.

Oh I agree - unfortunately since it does still have an entry point you can't
really tell if it's a toolkit bug (no documentation/header) or if it is
truly outdated and just kept around for compatibility.  I think I'd vote
the latter since there really isn't any mention of it that I can find.

--
-- 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    \
\-----------------------------------------------------------------------/
Newsgroups: comp.os.os2.programmer