HDTenEightyP/NetNews huggingface dataset:
From: os2man@panix.com (Larry Salomon Jr.)
Newsgroups: comp.os.os2.programmer
Subject: Looking for a few good programmers
Date: 10 Jan 93 16:15:47 GMT
Organization: PANIX Public Access Unix, NYC

I am looking for a few good programmers who are interested in the
following:

Hopefully, on Monday night, I will be releasing my Common/2 subroutine
library (complete with programming reference).  It contains all kinds of
goodies.  However, when I was at IBM, I wrote something called the
"Image Toolkit", which I would like to write again (this time so that
I can have the source code...).  I'm looking for a few people who would
be interested in helping with the design *AND* (this is the more important
item) who would be able to write some code to handle various raster image
formats.  Send me email if you're interested.  I will probably not be able
to devote any real time to this until the item mentioned in the next
paragraph is finished, though...

Also, I'm currently finishing up the text for some chapters in a book
I am coauthoring and would like 1 reviewer for each of the following
subjects - Help Manager, drag-n-drop, printing under PM, and the
container control.  If you are interested (and if my publisher approves
me doing this), send me a note listing why you are qualified.  I'm looking
for someone to insure that the technical aspects are correct (I'm pretty
sure about what I've written, but I'm an egotistical, conceited bastard
who's been wrong many times before.  :) , not someone to correct my
grammer (although I'll gracefully consider any suggestions  :)

Cheers,
Q
-- 
"If you choose not to decide, you  | "My other body is in the shop" - seen
 still have made a choice" - Rush  |  on a T-shirt
------------------------------------------------------------------------
Xref: sparky comp.os.os2.programmer:7335 comp.os.os2.misc:41292
From: louis@oak.ucsc.edu (Louis Goldstein)
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Re: How do I convert .TEX files???
Date: 5 Jan 1993 23:23:43 GMT
Organization: University of California, Santa Cruz
Distribution: world
Reply-To: louis@arapaho.ucsc.edu
NNTP-Posting-Host: oak.ucsc.edu

In article <1993Jan3.220744.3661@odin.diku.dk>, joker@diku.dk (Morten Christian Holmgreen) writes:
|> Hi there,
|> 
|> I'm experimenting a bit with GCC/2, but how do I read the docs, which 
|> are in TeX format (.tex) ???
|> 
|> I don't want to download an entire TeX just for this, so isn't there
|> a TeX -> PostScript or TeX -> PCL for LJet III converter somewhere
|> around?
|> 
|> How do you guys read the .tex files ?
|> 
|> Thanks in advance,
|> 
|> Christian
|> -- 
|> M. Christian Holmgreen / joker@diku.dk / mochmch@uts.uni-c.dk
|> M.Sc. student, University of Copenhagen, Dept. of Computer Science
|> "Human errors can only be avoided if one can avoid the use of humans"

I ended up taking the whole thing over to UNIX and printing out the manual
there.  I have the resultant postscript file available via anonymous ftp to
oberon.ucsc.edu, in /pub/gcc-ps.zip.

Enjoy!
Louis
Newsgroups: comp.os.os2.programmer
From: papresco@cantor.math.uwaterloo.ca (Paul Prescod)
Subject: Re: Getting DOS to talk to OS/2
Organization: University of Waterloo
Date: Mon, 11 Jan 1993 03:32:25 GMT

Well, thanks!  All your help about pipes and streams is wonderful
except....the Rexx documentation doesn't mention half of the commands
you listed, like DosMkNmPipe etc.  Do I need a special .dll for these?
And why aren't they documented (stupid question...because NOTHING is
well documented!)

Thanks for all your help.

Newsgroups: comp.os.os2.programmer
From: giguere@csg.uwaterloo.ca (Eric Giguere)
Subject: Re: Dialogs + Threads = Problems. Help!
Organization: Computer Systems Group, University of Waterloo
Date: Tue, 5 Jan 1993 04:06:52 GMT

In article <1993Jan4.205811.107@actrix.gen.nz> Dennis.Ingram@bbs.actrix.gen.nz writes:
>As I understand it, in order for a thread to use WinSendMsg it must
>have a message queue.  I have always wondered what is the best thing
>to do when you have multiple threads that need to access a window - do
>you use WinPostMsg and block using semaphores, or define a queue and
>use WinSendMsg?  What is the overhead of defining a message queue (in
>terms of system resources), bearing in mind that the queue is only
>there to allow WinSendMsg access?

Well, it depends.  If the calling threads are yours -- you created them --
then I think creating a message queue is the simplest thing to do.  Don't
forget that you can limit the size of the queue to something small if
you're not going to be creating any windows.  Why not let PM do all the
synchronization work for you?

The WinPostMsg/semaphore method must be used if you're being called by
a thread that you didn't create, because then you can't reliably create
a message queue.  The PM docs state that creating a message queue should
only be done at most once per thread, and I have not found any way to
check for the existance of a message queue (if anyone knows, please tell me!).
This method definitely takes more work because you have to allocate
the semaphore and pass it to the other thread...

-- 
 Eric Giguere                                    giguere@csg.UWaterloo.CA
          So is Windows NT short for "Windows, NOT?"
From: joker@diku.dk (Morten Christian Holmgreen)
Newsgroups: comp.os.os2.programmer
Subject: Re: Porting to Borland Pascal for OS/2...
Date: 11 Jan 93 22:32:52 GMT
Organization: Department of Computer Science, U of Copenhagen

thompson@kuhub.cc.ukans.edu writes:

>Hello all,

>Anyone have any idea when Borland Pascal with Objects for OS/2 will
>come out?  Will it come out?

Try asking Borland themselves at: customer-support@borland.com

The more people do this, the better are the chances of a Pascal
for OS/2.

Christian
-- 
M. Christian Holmgreen / joker@diku.dk / mochmch@uts.uni-c.dk
M.Sc. student, University of Copenhagen, Dept. of Computer Science
"Human errors can only be avoided if one can avoid the use of humans"
Newsgroups: comp.os.os2.programmer
Distribution: world
Date: Fri,  8 Jan 93 11:48:56 -0800
From: Rick_Davis@f514.n202.z1.fidonet.org
Subject: Hardware Inventory (Diskette Drives)
Comment-To: All@f514.n202.z1.fidonet.org
Reply-To: Rick_Davis@f514.n202.z1.fidonet.org
X-FSC-PATH: 202/514

I need some help querying the installed diskette drives as to there
capacity.  DosQFSInfo/DosQueryFSInfo or the DevIOCtl calls after
'openning' the drive will provide the information but a diskette has
to be in the drive or the calls will fail.  Since I only need the
device's (not the inserted media's) capacity, I am not expecting a
diskette to be in the drive.  Does anyone know how to gather this
information?


--- Maximus/2 2.01wb
 * Origin: OS/2 Connection @ La Jolla, CA  <619-558-9475> (1:202/514)
Xref: sparky comp.os.os2.programmer:7398 comp.os.os2.advocacy:11853
From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
Subject: Re: Why you should get everything in writing (long)
Date: 8 Jan 93 00:26:40 GMT
Organization: University of Maine, Department of Computer Science

In article <1993Jan7.220154.446@fcom.cc.utah.edu> brian@jaguar.cs.utah.edu (Brian Sturgill) writes:
>In article <1ii7alINNon4@controversy.math.lsa.umich.edu> spexet@math.lsa.umich.edu (D. Robert Spexet II) writes:
>>In article <1993Jan7.192103.16828@netcom.com> rcain@netcom.com (Robert Cain) writes:
>>>I joined the Developers Assistance Program and through that arm
>>>obtained a verbal assurance that there would be "no problem" obtaining
>>>said source code since there was nothing proprietary.  Based on this
>>>assurance and the license I had negotiated for using the interpreter I
>>>quit my day job to live off my savings and develop this product which I
>>>was going to call SimpleScript.
>>
>>Not to question your judgement in this case, but do you think that it was
>>really a wise move to do what you did on the basis of a verbal promise,
>>with nothing backing it up in writing?
>
>
>I think you misunderstand Bob's problem.  All he wanted was a sample printer
>driver.  IBM should have had this available well before OS/2 2.0 GA shipped.
>The point is that they didn't, and they still don't.
>I would agree with you comment if Bob had wanted something unusual from
>IBM, but this is standard stuff.

Well, let's go back a little here.  He wouldn't have had a problem if MS
hadn't bailed out of OS/2.  Don't be so quick to jump further on the IBM
bash band wagon that you drive.  In essence, all three are at fault.
IBM *should* have remedied this by now, but I suspect MS is stonewalling
and IBM is scurrying to try and get this stuff out...

Jeff


-- 
--------------------------------------
jurlwin@gandalf.umcs.maine.edu
Newsgroups: comp.os.os2.programmer
From: skagos@mercury.cs.uregina.ca (Takis Skagos)
Subject: malloc() and swapper.dat problems ....
Date: Sun, 10 Jan 1993 20:04:12 GMT
Organization: University of Regina, SK, Canada

Hi,

  I was curious to see how OS/2 handled malloc()ing big chunks of
memory, so I wrote a quick and really-dirty program last night to
test out some stuff.  Anyway, the program dumped core before
completing.  Here is a copy of the code and following that is a
copy of what was displayed when the program dumped.  By the way,
I used "icc -c-" and "icc -c- -gd+" to compile the program, but the
same thing happened either way.

---source code---

#include <stdio.h>

main()
{
  int k = 0;
  int *p;
  setbuf(stdout,NULL); setbuf(stdin,NULL);
  p = (int *) malloc(12000000);  /* bytes */
  printf("\n malloced 12000000 bytes.");
  while(k <           10000000 )
  {
    p[k] = 1;
    k++;
    if(k % 10000 == 0)
      putchar('.');
  }
  free(p);
  printf("\n freed 12000000 bytes.\n");
}

---output---

[d:\taki\misc\misc1]MAL.exe

 malloced 12000000 bytes........................................................
................................................................................
................................................................................
................................................................................
.....General Protection Fault exception occurred at EIP = 0001005B on thread 000
1.
Register Dump at point of exception:
EAX = 000D0010    EBX = 00000000  ECX = 002DC7FC    EDX = 0000013C
EBP = 00022C3C    EDI = 00000000  ESI = 00000000    ESP = 00022C0C
CS =     005B  CSLIM = 1BFFFFFF   DS =     0053  DSLIM = 1BFFFFFF
ES =     0053  ESLIM = 1BFFFFFF   FS =     150B  FSLIM = 00000030
GS =     0000  GSLIM = 00000000   SS =     0053  SSLIM = 1BFFFFFF
Process terminating.


I still had plenty of space left on my swap partition, so I don't know
why it crapped out.  Any info would be appreciated.  Thanks.

  P. Takis Skagos
  (skagos@cs.uregina.ca)
From: aki@cruzio.santa-cruz.ca.us
Newsgroups: comp.os.os2.programmer
Subject: Re: Why you should get everything in writing (long)
Date: Sun, 10 Jan 93 11:54:49 PST
Reply-To: aki@cruzio.santa-cruz.ca.us

In article <1993Jan10.065318.8344@netcom.com>, stewarta@netcom.com (Alex Stewart) writes:
> Sorry, I guess I missed that bit of your followup posting.  And "contract" is,
> admittedly, not the right word.
> 
> There are, however, still some people that don't get my point:
> 
> aki@cruzio.santa-cruz.ca.us wrote:
> : [some of my points listed here]
> 
> Exactly what do you expect IBM to do?  As I see it, there are two ways that
> IBM could have handled this differently:
> 
> 1)  They could have been prescient and known that this guy was going to give
>     out wrong information before he did.
> 2)  They could have broken copyright law and given out the source code and been
>     sued by Microsoft.
> 
> If you can manage to make either of these options reasonable alternatives, then
> I'll start listening.


I guess you are just pretty much unimaginative.  In the world of PR
it doesn't matter what you do as long as you do _SOMETHING_.  Here
is just a few that I could think of in a minute:

  1) Call Cain, say I'm sorry but this can't work. Give him the PS/2
     which would make him happier (at a cost of $500 for the PS/2 thats
     no loss for IBM)
  2) Talk with the guys at Microsoft, maybe even with Cain in conference
     and ask for the code (if this truly is the problem)
  3) Tell Cain whom to talk to at Microsoft for getting the code
  4) Offer alternatives to the code,  say an other driver that IBM does
     have the rights to.
  5) Assign a person to help Cain in producing the required code
     without the framework; you can have a person telling Cain the
     essence of the code even if you can't give him a copy of it.
  6) Make a public statement saying how sorry I am for my mistake
     and talk about how much everyone has learned from it
  7) If it truly is Microsoft's fault, tell the world that because
     Microsoft's restrictive practices caused Mr. Cain's problem.
 
If you ask me,  I'd go with point #1 if _NO_ code truly can't be
released (especially since Mr. Cain brought it up). By default I 
prefer #4 and give him the source to anything that was based on
driver source he wanted... IBM is sure to have SOME code that it
owns and not Microsoft.  If nothing else, do a NDA with Mr. Cain.
All the other stuff is for turning negative PR to positive.

Aki.

-- 
/  Phone: 408-662 9664   Fax: 662 9676  |  586 is a 586 no matter what  \ 
\  125 Searidge Ct #D, Aptos, CA 95003  |  Intel seez.  "Pent... WHAT?" /
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: Steve.Withers@bbs.actrix.gen.nz
Subject: Don't bet the farm on verbal agreements.....:-(
Organization: Actrix Information Exchange
Date: Tue, 12 Jan 1993 18:39:54 GMT

In article <1993Jan7.200819.27774@fcom.cc.utah.edu> brian@jaguar.cs.utah.edu (Brian Sturgill) writes:
> In article <1993Jan7.192348.17502@netcom.com> rcain@netcom.com (Robert Cain) writes:
> >Oh, if there is anyone who is as disenchanted as I that uses the OS/2
> >compuserve forums I would appreciate having my last post transcribed
> >to there.
> >
> >Bob
> 
> If someone else has not already done so, I'll put your last post on
> CompuServe this evening.
> 
> For the newcomers to this group, I'd like to point out that back even before
> there was a comp.os.os2.advocacy, Bob Cain was a regular contributor to
> comp.os.os2.{misc,programmer}.  He was a near-FANATICAL OS/2 supporter.
> If I remember correctly, he is also a former IBM employee that remembered
> his former employer fondly.  Definitely not the sort of person that
> would leave OS/2 easily.
> 
> I too was an OS/2 supporter then (though not as big a one as Bob Cain), but
> due to similar silliness on IBM's part, changed mainly to the Microsoft camp.
> 

Bob's real mistake was going ahead with quiting his job *before* he had the
source code in hand *or* a written agreement signed by someone in authority
allowing him to have it. 
 
In the first instance, he would have no trouble. In the second, he could sue
for damages on the default of the contract. 
 
I feel sorry for Bob. He has always been a worthwhile contributor to this
newsgroup and others. But he made the classic mistake of not covering his
butt. He could have spared himself a lot of money and anguish if he had dotted
all the i's and crossed all the t's.

I see this sort of stuff happening all the time. It's sad, but you have to
have it all signed, sealed and delivered before yu bet your livelihood on it.


Steve

 
-- 
Steve Withers - Wellington, New Zealand |      
Steve.Withers@bbs.actrix.gen.nz         |        Space for rent.
+64 4 478 4714                          |   - cheap rates, nice location. 
**** Happy user of OS/2 b2.1 ****       |
From: francis@vnet.ibm.com (Tim Francis)
Date: Wed, 6 Jan 93 19:22:27 EST
Subject: Re: Is there a PMSPY?  Does PM have transparent windows?
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 <19930106.151406.146@almaden.ibm.com>,
bigbill@vnet.ibm.com (Bill Sarantakos) writes:
>
>In <C0GC04.36w@watserv2.uwaterloo.ca> Eric Giguere writes:
>>1) Is there a PMSPY (functional equivalent to the Windows SPY.EXE) available
>>   from anyone, free or commercial?  (I.e., a program that lets you view
>>   messages sent to windows...)
>
>The WorkFrame/2 product has a fully functional sample program called
>PMSPY that should do what you want, source is included.
>
>Bill Sarantakos    OS/2 C++ Compiler Development     Toronto, Ontario

...or, if you have the November PDK, the new IPMD debugger includes
a message queue monitor built in (from thread->show->message queue
monitor).    -tim
From: brett.baudin@freddy.ersys.edmonton.ab.ca (Brett Baudin) 
Newsgroups: comp.os.os2.programmer
Subject: HLP FILES IN GA+SP
Date: 7 Jan 93 12:28:00 GMT
Reply-To: brett.baudin@freddy.ersys.edmonton.ab.ca (Brett Baudin) 
Distribution: world
Organization: Freddy's Place BBS - Edmonton, AB - 403-456-4241

Ever since upgrading to the Service Pack for 2.0 I can't get
 .MET files included in my .HLP files to work.  The help system
comes up fine but as soon as I access a panel with a .MET picture
in it the program dies.  The same thing happens if I create an
.INF version.  The OS/2 View program blows up. Can anyone verify
if this is a known bug?
Brett
                                   
Newsgroups: comp.os.os2.programmer
From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
Subject: Substitute for DosSetFileMode?
Organization: University of Maine, Department of Computer Science
Date: Wed, 13 Jan 1993 00:35:09 GMT

I know there must be something, but...I can't seem to find a substitute in
CSet/2 or the Toolkit for DosSetFileMode.  It was in the old MSC 6.0.

Any quick ideas?

Thanks,

Jeff

P.S.  I know I must be blind...so you don't have to remind me.


-- 
--------------------------------------
jurlwin@gandalf.umcs.maine.edu
From: john.navas@uttsbbs.uucp (John Navas) 
Newsgroups: comp.os.os2.programmer
Subject: RE: SURRENDERING TIMESLIC
Date: 12 Jan 93 09:05:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: john.navas@uttsbbs.uucp (John Navas) 

amitp@ruf.rice.edu (Amit J Patel) writes:

 >>> Once you know you're in an OS/2 DOS box, calling interrupt 2F
 >>> with AX set 01680h will release the timeslice.

 >> Well, I tried this, and the program became REALLY slow.  The
 >> interrupt seemed to be giving up almost a half-a-second, far more
 >> than I wanted.  Why might this be?  I had in mind more like
 >> 1/100th of a second, so my program would respond realtime.

 > I tried the timeslice code, too, and my program became unusably
 > slow.  I also tried giving up the timeslice every n keyboard polls,
 > but that didn't help (after I thought about it, it made sense that
 > it wasn't better).

The reason is that the yield timeslice interrupt does *more* than
simply releasing the timeslice -- although undocumented, it drops the
priority of your VDM, in effect putting it to sleep for a while until
something like a keypress interrupt is reflected into it.  This is
either good news or bad news depending on what you are trying to do.
(I submitted an APAR and this may eventually be changed.)  BTW, there
is similar but slightly different undocumented behavior for this
interrupt under Window 3.x.

 > Are there any other time-slice methods in use?  Perhaps by doing
 > the DOS idle interrupt (28h?)?

There is no other way that I know of (other than relying on OS/2's
idle detection).  For an app I was working on I was forced to write a
VDD (virtual device driver) to implement a private yield timeslice
(and nothing else) interrupt.

Best regards,
John

p.s.  You significantly decrease overhead in an OS/2 VDM (virtual DOS
machine) if you simulate an interrupt with a FAR CALL to an interrupt
vector rather than issuing an actual interrupt.
                                                                                   
----
+------------------------------------------------------------------------+
| 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,comp.os.os2.advocacy
From: ekl@kvamdata.no (Eirik Lygre)
Subject: Re: Why you should get everything in writing (long)
Organization: Kvam data as
Date: Sat, 09 Jan 1993 13:39:09 GMT
Followup-To: comp.os.os2.advocay

In article <1993Jan8.185240.19628@orlith.bates.edu> lmalloy@abacus.bates.edu (Laura G. Malloy) writes:
>
>While it's naive of me to think that MS might permit an OS/2 developer
>to use its code, I would have thought that IBM, having been an OS/2
>partner with MS for some time, would have rights to code developed at
>least during the time of their joint work together or, depending upon
>agreements, even after (it's not as if MS would really *need* code to an
>OS/2 2.x driver, right?).  Doesn't IBM have any real say in this at all?
>
>Joe Malloy
>German Department / Hamilton College / Clinton, New York  
>

It has been known for a rather long time that Microsoft own some code
that relates to device drivers, and that it is not willing to release
it. This has been used as one excuse for not delivering a device
driver development kit -- negotiations of source code release has
taken a long time.

Eirik Lygre

----------------------------------------------------------------------
Eirik Lygre                                     Phone:    +47 4 623766
Kvam data as                                    Fax  :    +47 4 623985
PO Box 1101 Lura                                Email: ekl@kvamdata.no
N-4301  SANDNES, NORWAY
======================================================================
From: os2man@panix.com (Larry Salomon Jr.)
Newsgroups: comp.os.os2.programmer
Subject: Re: OS/2 HELP facility -- how?
Date: 4 Jan 93 19:13:45 GMT
Organization: PANIX Public Access Unix, NYC

In <1993Jan04.144904.56475@watson.ibm.com> cnadler@vnet.ibm.com (Cliff Nadler) writes:

>In <1993Jan04.083533.9752@kub.nl> hoppie@kub.nl (Jeroen Hoppenbrouwers) writes:
>>In the extensive original IBM OS/2 Reference Guides and Programming Guides
>>I cannot find *anything* about OS/2's system help facility. I saw there's
>>a Help Manager in the system, and I can call this one, but no word about 
>>compiling a help database. How do I create such a beast? Is this a reason
>>to get the IBM C-set/2 kit?

>If you are trying to make files like the Command Reference or the REXX
>Information, all you will need is the Toolkit and the Information Presentation
>Facility manuals. If you are trying to add help to a program, then you will
>need C-Set/2.

>BTW, the /INF option of the IPFC compiler is now documented.

Some time ago, when I was still a beemer, I wrote a long "How-to" guide for
doing online help for an application.  You could chop out the part about the
C code and use the /INF switch to make an online book instead.

Unfortunately, although I placed this guide at an anon-ftp site, I cannot
remember any of the 2 or 3 sites I placed this at.  Can someone else help
me with this dilemma?

Cheers,
Q
-- 
"If you choose not to decide, you  | "My other body is in the shop" - seen
 still have made a choice" - Rush  |  on a T-shirt
------------------------------------------------------------------------
Xref: sparky comp.os.os2.programmer:7429 comp.os.os2.advocacy:11913