HDTenEightyP/NetNews huggingface dataset:
From: andrew@cs.tu-berlin.de (Andreas Gehring)
Subject: Client-Server architecture with broken pipes due to overwritten pipehandles 
Keywords: OS2- inter process comunication, named pipes
Organization: Technical University of Berlin, Germany
Date: Tue, 14 Apr 1992 17:24:31 GMT


-- 
Andreas Gehring							email: andrew@medap3.cs.tu-berlin.de

I post this article for a friend. you can send the answer to my email address -
I will give it to him:

basic situation:
In my client server architecture every clientprocess logging to the serverprocess gets a subserverprocess specifically linked to that client via two named pipes, each of them readable at the ownerside. So, the client makes a read-pipe, waits for connection by the subserver and furtheron for requested data and vice versa the subserver on its side. A second and third client logging to the server will get their own subservers together with their own named pipes. The pipenames are generated through the client'


s processid plus an extention, so all pipenames are unique.

problem:
Having simply connected one client to the subserver architecture prooves working fine, logging a second client parallel to the first to the server ends in a termination of the first client. This happens probably due to the access to the first clients's pipe, because both client processes generate the same pipehandles (numbers starting with 3,4,...). Resumed, the first client fails in writing its request into the subserverpipe (ERROR_PIPE_BROKEN), and the second subserver fails in reading the second client'


s request (ERROR_DISCARDED).

If anybody has a solution to my problems - please let me know!
From: jjr@sgtech.UUCP (John Radigan)
Newsgroups: comp.os.os2.programmer
Subject: Re: Curses for OS/2 available?
Date: 15 Apr 92 18:28:45 GMT
Organization: Star Gate Technologies, Inc, Solon, OH

From article <mullins.703266853@convex.convex.com>, by mullins@convex.com (Don Mullins):
> 
>   I guess the subject says it all.  Is there an implementation of the curses
>   library used under *nix?

Call Aspen Scientific at 303-423-8088.
-- 
John Radigan, Star Gate Technologies, Inc., Solon, Ohio  
Email: jjr@sgtech.uucp        Telephone: (216) 349-1860
Newsgroups: comp.os.os2.programmer
From: tanith@csd4.csd.uwm.edu (Michael D Kretzer)
Subject: Re: programmer's kit w/o the compiler?
Originator: tanith@csd4.csd.uwm.edu
Reply-To: tanith@csd4.csd.uwm.edu
Organization: University of Wisconsin - Milwaukee
Distribution: na
Date: Sat, 11 Apr 1992 23:08:43 GMT

From article <1992Apr11.043245.25700@news.nd.edu>, by dmatiske@foster.helios.nd.edu (david matiskella):
Can you order the IBM toolkits with educational discounts direct for IBM 
or do you have to tangle with your local computer store? 

You can't order them directly yourself, unless you happen to be the purchase
coordinator for your campus :)  If you call the educational inquiry number
(given in the FAQ) and try to order, they will ask you for an APR number
or something like that.  What I ended up having to do was to go to the
microcomputer purchase coordinator on campus and got her to make the order
for me.  The toolkit was delivered to a local IBM rep (not to the school
or my home address) so I had to pick it up there (I never had to contact the
local computer store myself, though to place the order through).  Here's
the information on the Developer's Toolkit:

IBM Developer's Toolkit for OS/2 version 2.0, IBM Product Number 10G3355
	$83.00

From my own cursory (NOTE I did not do extensive tests yet) tests, the
libraries work fine with the GNU compiler.

Please be aware that the online docs are BRIEF (but complete).  If you are
not familiar with the OS/2 API then you will need to buy the extra
documentation from IBM or find some good introductory programming books.
I have the $1000+ documentation set from IBM, and I have found that the
Developer's Toolkit gives enough information to get by with unless you
are interested in special programming projects like device drivers and
such.  It is certainly much cheaper to go out and buy Advanced OS/2
Programming by Ray Duncan and Programming OS/2 Presentation Manager by
Charles Petzold to get you up to speed so you can use the Toolkit's online
docs than it is to buy IBM's complete documentation suite :)  I also
bet that OS/2 2.0-specific introductory programming books will be out
really soon, which will most certainly give enough information for
moderately complex programming projects.

Newsgroups: comp.os.os2.programmer
From: rcain@netcom.com (Robert Cain)
Subject: Re: 2 simple HPFS questions
Date: Sun, 12 Apr 92 23:15:33 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: na

The direction of slashes depends on the shell you use.  The PC shells
traditionally have used backslash.  The underlying operating system
doesn't care.  The API accepts either with relish and mustard.  The
Hamilton C shell which I am not sure is ready for OS/2 accepts forward
for a about a $300 ticket as does the MKS Korn shell for about the same.
The Korn shell is not ready yet for OS/2.
-- 
Bob Cain    rcain@netcom.com   408-358-2007

"There are some strings.  They're just not attached."
                                                    Victoria Roberts
From: jrs@panix.com (Jon Saxton)
Newsgroups: comp.os.os2.programmer
Subject: REXX and OS/2
Date: 11 Apr 92 16:34:53 GMT
Article-I.D.: panix.1992Apr11.163453.7936
Organization: PANIX Public Access Unix, NYC


Don't laugh.  I've just installed 6.304E and was delighted to discover that
REXX is a standard feature of CMD.EXE.  How long has this been the case?  I
had the Microsoft SDK versions #1, #2 and #3 but didn't know about REXX.
Did those versions support it without telling me how?

SDK #3 = 6.123.  I never had any version between that and 6.304E.
-- 
===========================================
MSDOS on a '386 is a waste of good silicon.
Jon Saxton - jrs@panix.com
From: nicolai@lysator.liu.se (Nicolai Wadstr|m)
Newsgroups: comp.os.os2.programmer
Subject: How do one program DMPI? What is exactly is DPMI?
Date: 11 Apr 92 22:00:00 GMT
Organization: Lysator Computer Club, Linkoping University, Sweden


Does anyone know more exactly what can be done with DPMI?
Is it possible to have a flat address space in an DPMI session?
What I'm thinking of is that with the external VDM's in OS/2
it would be possible to boot up something else than DOS, for
example UNIX maybe...


/ nicolai, nicolai@lysator.liu.se


--
Nicolai Wadstr|m                   # Internet:      nicolai@lysator.liu.se
                                   #
                                   # BBS:           +46-40-124554 (down)
                                   # Voice:         +46-40-975535
Organization: Ege University - Computing Center
Date: Thursday, 9 Apr 1992 13:18:04 TUR
From: Bahri Bora BALI AG <OPRJ36@TREARN.BITNET>
Newsgroups: comp.os.os2.programmer
Subject: I have some questions.. (nobody had answered)..

Hello.. I have some questions..

1. Is there a good text editor running under OS/2 1.3? If so,
   how can I get it?

2. Someone had told me that there is a paper documentation about
   use of PM functions in REXX. If still so, how can I get it?
   And I had heard that there is a help file named REXX.INF?
   True? If so, can I get it? Of course, from where?

3. I hate COBOL but here, programmers want to write with
   it. Do you have sample codes in COBOL/2, using
   PM functions or OS/2 Service Calls? If so, *8) will
   you send them to me?

4. In these networks, with WHICH NODE/SITE sould I contact to
   discuss something about IBM's FBSS/2?

5. Is it possible to develope Device Drivers for OS/2, by
   programming in COBOL/2? Here, programmers are asking
   about this.

Thank you for your interest.. Kind regards..

-Bahri Bora BALI
From: feustel@netcom.com (David Feustel)
Newsgroups: comp.os.os2.programmer
Subject: Re: os/2 C++ & gui development tools
Keywords: C++ GUI
Date: 17 Apr 92 00:02:47 GMT
Organization: DAFCO: OS/2 Software Support & Consulting

rod@philips.oz.au (Rod Roberts) writes:

>We are in the process of setting up a OS/2 devopment environment and are
>looking for C++ and GUI development tools for version 2.0. There seems to be a
>lot of Real-Soon-Now stuff out there but can any one tell me what is available
>NOW or realistialy close to NOW. Has any in this group seen seen a list of
>planned OS/2 2.0 apps and there expected availability dates. We are also
>interested in NFS ( Network File System ) client software for OS/2 2.0 .

>I would be most grateful to anyone out there in net-land for any infomation on
>the above.

IBM includes the System Object Manager in its OS/2 V2.0 Toolkit. This
C preprocessor provides OOP programming facilities. The Workplace
Shell was implemented with this tool.
-- 
David Feustel N9MYI, 1930 Curdes Ave, Fort Wayne, IN 46805. (219)482-9631
George Bush believes in the "carrot and stick" approach to social problems:
       - give carrots to the rich and stick it to the poor -
From: Guenter_Berner@dungeon.fido.de (Guenter Berner)
Newsgroups: comp.os.os2.programmer
Subject: Folders and hidden files
Date: 8 Apr 92 09:05:36 GMT
Article-I.D.: p999.e7b4f4d4
Organization: Attic Story
X-Comment-To: `@f1.n6000.z2.fidonet.org (`)


 `>  When using DosFindFirst and DosFindNext to retrieve the contents
 `> of a directory, how do i get directories and hidden files?

 `> I can get the normally visible files using the FILE_NORMAL 
 `> attribute, but cannot find aything else in the Programmer's Reference...

Try FILE_READONLY, FILE_HIDDEN, FILE_SYSTEM, FILE_DIRECTORY, etc...
If you 're programming under V2 you can also try MUST_HAVE_DIRECTORY, 
MUST_HAVE_SYSTEM,... which will exclude all files with non-matching attributes.


Guenter
From: risto@tuura.UUCP (Risto Lankinen)
Newsgroups: comp.os.os2.programmer
Subject: WinProgrammer's ?'s on WinOS/2
Date: 13 Apr 92 14:40:26 GMT
Distribution: comp
Organization: ICL Data Oy

Hi!

I'm considering OS/2 2.0 as a programming environment to write applications
for Windows 3.0/3.1 .

Specifically:
  - Do the Windows apps and OS/2 apps share the same message-passing system?
    Can I '{Send|Post}Message()' to an OS/2 app from a Windows app?
  - Are the Windows DLL's truly shared (ie. loaded just once even for multi-
    ple clients)?  I've got colliding info on this from different sources...
  - Can an OS/2 app call a Windows DLL ?  How about the other way?
  - I've currently set up dual boot: MS-DOS 5.0 & OS/2 1.2 .  Can I install
    the 2.0 on top of the 1.2 without breaking my dual boot functionality?

An objective voice-of-experience is what *might* win a *single* convert, yet
I'm still planning to write for Windows users only.  So *PLEASE* don't tell
me about 'the advantages of OS/2' - I've heard of them up to the point I'm
fed up with.

Terveisin: Risto Lankinen
-- 
Risto Lankinen / risto@tuura.icl.fi ***************************************
Software designer, Systems Division *  1                              2   *
ICL Personal Systems, Helsinki Fin. * 2 +1 is PRIME!  Now working on 2 +1 *
You ain' nothing but a hound dog... ***************************************
Newsgroups: comp.os.os2.programmer,comp.os.os2
From: larrys@watson.ibm.com (Larry Salomon, Jr.)
Subject: Re: CreateThread using malloc
Date: Thu, 16 Apr 1992 21:54:10 GMT
News-Software: NewsKit 1.2 - LaMail
Reply-To: larrys@watson.ibm.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM Research

In <jj91eqk@twilight.wpd.sgi.com>, fanj@remb6489.wpd.sgi.com (Fan Jiao) writes:
>
>I was using CreateThread call to create several threads.  Before that I was
>using 'malloc' to create the stack which is needed as one of the parameters
>for 'CreateThread' call.

I assume you mean DosCreateThread.

>I donot know if use of 'malloc' is proper.  I also looked into the
>use of 'DosAllocSeg'.  And I got "wrong ring level" error msg while using
>'DosAllocSeg'.

If you are writing a 16-bit application, DosAllocSeg should work.  Are
you passing it the proper parameters?  If you are writing a 32-bit
application, DosCreateThread will create the stack for you, so you don't
need to do it.

Cheers,
Larry Salomon, Jr. (aka 'Q')            LARRYS@YKTVMV.BITNET
OS/2 Applications and Tools             larrys@watson.ibm.com
IBM T.J. Watson Research Center         larrys@ibmman.watson.ibm.com
Yorktown Heights, NY                    larrys@ibmman2.watson.ibm.com

Disclaimer:  The statements and/or opinions stated above are strictly my
own and do not reflect the views of my employer.  Additionally, I have a
reputation for being obnoxious, so don't take any personal attacks too
seriously.
Newsgroups: comp.os.os2.programmer
Subject: Building HELP with IPFC
From: Chris_Sullivan@kcbbs.gen.nz (Chris Sullivan)
Date: 15 Apr 92 18:04:50 GMT
Organization: Kappa Crucis Unix BBS, Auckland, New Zealand


Can anyone answer the folowing questions on programming 
help for OS/2 ?
 
(1)  When creating a .HLP file using the IPFC compiler, is there
any way of binding the .HLP into the .EXE.  I'd like to do away
with a seperate .HLP file but I'm not sure if this is possible.
 
(2)  When creating a .IPF source file for the IPFC compiler, is
there any way to use symbolic constants from a .H file instead of
literal constants?

Newsgroups: comp.os.os2.programmer
From: GG.MPD@forsythe.stanford.edu (Michael Durket)
Subject: Help in setting up SDK in DOS sessions
Organization: Stanford University, California, USA
Date: Tue, 14 Apr 1992 19:19:25 GMT

Hello,

   I'm playing around with the Microsoft Windows SDK and the C
6.0 compiler under OS/2. I installed them as directed by their
installation manuals and now I'd like to set them up for use.

   I have a few questions:

   1) Should I set each of the tools in the C compiling system
      up to run in a separate DOS session (i.e. run PWB, CL
      and NMAKE separately)? Or, should I set up one DOS session
      that can run them all?

   2) If I set them up in separate DOS sessions, how do I specify
      the additional variables that must go into the environment,
      such as SET HELPFILES= for PWB, say. And, can I set these
      up on a per DOS session basis or do I have to edit AUTOEXEC.BAT
      and thus affect all DOS sessions under OS/2? What do I do
      if I run out of environment space - where is that set.

   I've looked in the OS/2 online help and can't seem to find the
answers to these questions, particularly with regard to having
unique AUTOEXEC.BAT settings for each DOS session.

   Any advice will be greatly appreciated,

   Mike Durket
Newsgroups: comp.os.os2.programmer
From: mullins@convex.com (Don Mullins)
Subject: Curses for OS/2 available?
Summary: Is there one?
Keywords: os2 curses
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Tue, 14 Apr 1992 15:54:13 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

  I guess the subject says it all.  Is there an implementation of the curses
  library used under *nix?

Thanks,
Don

--
Don Mullins
I/O Product Engineering
Convex Computer Corporation
EMAIL: mullins@convex.com
From: harris@garfield.catt.ncsu.edu (Michael Harris)
Newsgroups: comp.os.os2.programmer
Subject: Re: Dialog as Mainwindow: Problems, help!!!
Date: 15 Apr 92 05:47:02 GMT
Organization: North Carolina State University

nicolai@lysator.liu.se (Nicolai Wadstr|m) writes:

>The system (mailer & bbs) I'm working on right now has given me some
>troubles... For convinience I use a Dialog as a main window, but this
>causes some problems, I can't (or don't know how) to set the icon for 
>the window (the windows has a minimize button), and when the application
>is started it doesn't get focus! The program windows comes to the foreground
>but it does not become the active application!

For the icon... look at WM_SETICON.  You should send this message to the
dialog frame.  (ie from inside the dialog proc, send the message to yourself.)

For the focus problem, are you returning TRUE from WM_INITDLG in your
dialog proc?  Returning TRUE disables the default processing of setting
focus to the first control in your dialog.  If you must return TRUE to
WM_INITDLG, use WinSetFocus to change the focus to a control on the dialog.
If you create the dialog invisible and set the position in your code with
WinSetWindowPos are you specifying SWP_ACTIVATE?

______________________________________________________________________________
     Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
  Vice-President, Computer & Technologies Theme Program, NC State University
(My opinions are my own and do not represent those of NCSU or IBM Corporation)
Newsgroups: comp.os.os2.programmer
From: jlang@Physik.TU-Muenchen.DE (Jan Langhans)
Subject: Hook for PrtSc (PM 1.x)
Keywords: PrtSc Hook
Organization: Technische Universitaet Muenchen, Germany
Date: Wed, 15 Apr 1992 13:37:36 GMT
Summary: How can I hook PrtSc without having focus ?

I want to write a simple application printing a graphic hardcopy of the PM
screen. That should be comfortably triggered by pressing PrtSc, even when my
application window does not have the focus. Even equipped with all programmers
refs I was too stupid to get this done. Can anybody help me with some sample
code or so ? Any help is appreciated.
Jan Langhans.
From: peterf@vnet.ibm.com (Peter Forsberg)
Date: Wed, 15 Apr 92 16:56:21 SWE
Newsgroups: comp.os.os2.programmer
Subject: Hook for PrtSc (PM 1.x)
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

In <jlang.703345056@Physik.TU-Muenchen.DE> Jan Langhans writes:
>I want to write a simple application printing a graphic hardcopy of the PM
>screen. That should be comfortably triggered by pressing PrtSc, even when my
>application window does not have the focus. Even equipped with all programmers
>refs I was too stupid to get this done. Can anybody help me with some sample
>code or so ? Any help is appreciated.
>Jan Langhans.
>

The standard way of doing something like this is to register a PM System
Input Hook (check your PM references). Basically, you write a DLL which
contains a function with predefined parameters. You then call WinSetHook
to register your hook function in PM. A good idea is to have the hook
function clear a semaphore which another thread in your program is waiting
on when the event that you're interested in occurrs (e.g. PrtSc pressed).
That way the hook will do as little work as possible (it gets called for
_every_ PM message in the system). Contact me offline if you'd like some
sample code.

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Newsgroups: comp.os.os2.programmer
From: bwa@mullian.ee.mu.OZ.AU (Barry W Anderson)
Subject: RCS for os2 - filedates qn.
Summary: Found a few make programs which understand RCS, *BUT* ...
Keywords: RCS OS/2 make
Organization: Computer Science, University of Melbourne, Australia
Date: Thu, 9 Apr 1992 03:21:05 GMT

I now have make programs with auto RCS dependencies... *BUT* the problem is
that co doesn't check the files out with the last altered date of the
workfile but of the RCS file...so of course make makes everything in sight.

Does anyone know any way of working around this?

Failing this, does anyone know of a program which will set the last
altered date of a file to a given date?

Any help would be greatly appreciated.

Barry
--
------------------------------------------------------------------
 email : bwa@munagin.ee.mu.OZ.AU | snail :     408 Clarke Street,
---------------------------------              Northcote, 
 phone : +61 3 489-5875          |             VIC 3070 Australia
From: dmatiske@foster.helios.nd.edu (david matiskella)
Newsgroups: comp.os.os2.programmer
Subject: Re: programmer's kit w/o the compiler?
Date: 11 Apr 92 04:32:45 GMT
Reply-To: dmatiske@foster.helios.nd.edu (david matiskella)
Distribution: na
Organization: Univ. of Notre Dame

In article <vvrjht-.rcain@netcom.com>, rcain@netcom.com (Robert Cain) writes:
|> tanith@csd4.csd.uwm.edu (Michael D Kretzer) writes:
|> : > I read that thet IBM programmer's kit is $119 (educational), but includes
|> : > a compiler.      
|> : > 
|> : > Can people like me who have Watcom C/386 v.9 get it cheaper without the
|> : > compiler, since we already have one?
|> : 
|> : Yes, order the IBM Developer's Toolkit for OS/2 2.0 (I don't have the
|> : product number handy) $83 (educational) [are you SURE that the programmer's
|> : kit that you were looking at included a C compiler?]).  It includes
|> : the libraries, tools, and online documentation needed for 2.0 development.
|> 
|> I beg to differ.  It contains the documentation needed to use the tools.
|> And it contains the condensed O.L. references to API's that are useful when
|> you already basically know them.  The real documentation to tell you how
|> to use those API's to do 2.0 development is called the Technical Reference
|> Library and costs $1021.00 ala carte.
|> 
|> No upgrade path from the 1.3 SDK which included most all this in the meal.
|> -- 
|> Bob Cain    rcain@netcom.com   408-358-2007
|> 
|> "There are some strings.  They're just not attached."
|>                                                     Victoria Roberts
	Can you order the IBM toolkits with educational discounts direct for IBM or do you have to tangle with your local computer store? Could the Developers toolkit be used with the Gnu compiler to make PM programs? If not what would be the minimum system needed to make PM programs? ( I think I can pass on the official IBM documentation. I have few books on programming PM under 1.1 and am willing to wait for third party books to come out). thanks for the help.
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
Newsgroups: comp.os.os2.programmer
Subject: Re: Mini OS/2 V2 System
Date: 6 Apr 92 22:39:13 GMT
Organization: Staff if IBM Fellow - NetWork Computing

In <1992Apr6.214524.11635@athena.mit.edu> Barr3y Jaspan writes:
>What is the smallest useful OS/2 v2 system that can be created purely from the
>installation program?  It is unreasonable to have to manually delete
>individual files in order to achieve an advertised "minimum configuration."
>
>--
>Barr3y Jaspan, bjaspan@mit.edu
>


I never stated that this was the "advertised minimum configuration" for V2.
What I stated was this was an "excercise" for those that wanted/needed a
smaller system that that that could be installed through the disks.  If you
use the install disks, the "minimum" system is about 18-19M.

There are a number of "special" situations though where a lot of what is
installed even on a "minimum" system is not needed.  For example let's say
you're setting a LAN server to run OS/2 V2.  There's no reason for this to
have games or on-line documentation; it could but it's certainly not needed.
All you really need is a basic 32-bit system that can run your Server Code
and any 16- or 32-bit supporting code.

That's not to say that the OS/2 V2 install process couldn't be made more
flexible so you could tell it not to install a lot of things that now
come with the basic system.
From: d9mikael@dtek.chalmers.se (Mikael Wahlgren)
Newsgroups: comp.os.os2.programmer
Subject: Re: Launching a DOS app from an OS/2 app?
Date: 7 Apr 92 11:13:00 GMT
Organization: Chalmers University of Technology

>Has anyone succeeded in launching a DOS application from an OS/2 application 
>(OS/2 v1.x)?  Is such a thing possible?

Yes, it is possible, by writing to the DOS.SYS driver.  I could dig up an
example program.

Mikael Wahlgren      d9mikael@dtek.chalmers.se