HDTenEightyP/NetNews huggingface dataset:
From: Stephen.M..Lacy@f1.n100.z60.wlink.nl (Stephen M. Lacy)
Newsgroups: comp.os.os2.programmer
Subject: What's the format of the DAP CD?
Date: Tue, 13 Oct 1992 07:31:47 -0100

Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

I have ordered the DAP CD, but only have access to CD ROM drives on
DecStation 5000's.  I've been told that they read the IS09660 format. 
(I think thats right...)  Is this the format that the CD is on?  How
many floppies will it fit onto?  Or, how much harddrive space is it
(uncompressed) 

Steve


"I don't like much really, do I?  But what I do like, I love
passionately!" -Pet Shop Boys

Newsgroups: comp.os.os2.programmer
From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
Subject: Re: Beta Release of Sound Blaster Device Driver
Originator: parry@yoyo.cc.monash.edu.au
Organization: Monash University, Melb., Australia.
Date: Thu, 15 Oct 1992 00:25:13 GMT

Michael Fulbright (msf@skaro.as.arizona.edu) wrote:
> I am announcing the release of a OS/2 V2.0 device driver for
> the Sound Blaster and Sound Blaster Pro. I have a brief description
> of the driver posted below. I am looking for people who want to
> test the driver for me on their systems. The driver is
> available via anonymous ftp on

I downlaoded and installed the driver last night and it seems to work fine.

I do not have a SBPRO so I only tested the device driver. All you need to
do is copy a sound file to SBDSP$ and it plays. The VOC header causes a
very small (almost unnoticeable) 'pop' as the header is 'played'.

One thing to remember, which is not in the docs is if copying files to the
device, use the /b option otherwise the copy stops at the first EOF (I
think there may be one in the VOC header!!!)

so 'copy filename.voc /b SBDSP$' works great. I had chkdsk and 2 DOS apps
running at the same time and there was no change in sound quality. If I run
VPLAY from a DOS session in these circumstances, it pauses every now and
again and the sound quality deteriorates. 

One problem I did have was that because the test programs are written for
EMX I could not ocmpile them with GCC 2.2.2. For some reason DosDevIOCtl is
in the GCC include files but could not be found in the library.


-- 
Tom J Parry.
Your reality is a figment of my imagination.
Newsgroups: comp.os.os2.programmer
From: Steve.Withers@bbs.actrix.gen.nz
Subject: Re: Novell OS/2 2.0 Requester
Organization: Actrix Information Exchange
Date: Wed, 14 Oct 1992 18:56:41 GMT
Keywords: help, problems

In article <2589@cronos.metaphor.com> jlautman@mettech1.metaphor.com (John Lautmann) writes:
> In article <Bv9Lu3.9CL@virtech.uucp> rickr@virtech.uucp (Rick Rodman) writes:
> >I'm having funny problems with the Novell Netware OS/2 Requester.
> >
> >I can't get it to work on my home LAN with Extended Services using LANSUP
> >or ODINSUP.  Extended Services still works with RDS (NetBIOS) when I use
> >LANSUP and the IBMTOK driver, but with Novell's TOKEN.SYS, Extended Services
> >won't work.
> >
> >The symptom is the usual one, NW0015: Error getting connection ID (0x880F).
> >
> >Now, Novell never documents any error messages in the  manual, and, when I
> >call them, says they require $150 before they'll listen to me.  (As I replied,
> >they have an interesting, albeit self-serving, concept of who is supporting
> >whom.)
> >

I had this problem when the "lastdrive=?" parameter in the config.sys was a
drive lower than L: (on a Novell LAN). 
 
If it is trying to create drive L: (or whatever) and the drive address is not
avaialbe, you get the NDW0115 message you have got. 
 
Check this parameter!
 
Steve
-- 
Steve Withers - Wellington, New Zealand | On Sept. 19th, 88% of NZ voters opted
Steve.Withers@bbs.actrix.gen.nz         | for proportional representation. It
withers_s@kosmos.wcc.govt.nz            | looks like we may get a more  
**** Happy user of OS/2 v2!! ****       | democratic system "real soon now".
Newsgroups: comp.os.os2.programmer
From: giguere@csg.uwaterloo.ca (Eric Giguere)
Subject: SOM compiler gotcha with implied metaclasses
Originator: giguere@csg.uwaterloo.ca
Organization: Computer Systems Group, University of Waterloo
Date: Wed, 14 Oct 1992 03:44:08 GMT

If you are using SOM to develop some classes with implied metaclass
methods, be careful of the following situation:

1) Create a CSC file with a class method as the last item, i.e.

     methods:

        void foo(), class;

2) Generate the C file from the CSC file.

3) Later on, add an instance method to the end of the CSC file 
   and regenerate the C file.  SOM will append the new function
   to the end of the existing C file.

If you look at the C code that gets generated, you'll see something
like this:

    #undef SOM_CurrentClass
    #define SOM_CurrentClass SOMMeta

just before the definition for the foo class function.  But 
the SOM_CurrentClass macro will not be correct for the instance
function that you just added, because the SOM compiler forgot
to add the following lines just before the new function definition:

    #undef SOM_CurrentClass
    #define SOM_CurrentClass SOMInstance

Ooops... this causes all kinds of havoc when you try to invoke
parent methods and the like.  To be safe, I'm keeping all of my
class methods at the _end_ of the CSC and C files!

Which brings me to my biggest beef about SOM as it currently stands:
If you make major changes to the CSC file, as you are liable to do
in the beginning stages of a system, it's hard to keep the corresponding
C files in sync with the CSC file, the example above being one of the
problems you'll run into.

-- 
 Eric Giguere                                    giguere@csg.UWaterloo.CA
          So is Windows NT short for "Windows, NOT?"  
Xref: sparky comp.os.os2.programmer:5735 comp.os.os2.misc:33106
From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Re: Linking problems onder gcc 2.2.2
Date: 15 Oct 92 04:27:33 GMT
Organization: Flinders University

In article <92287.163931U52468@uicvm.uic.edu> U52468@uicvm.uic.edu writes:
>
>  I'm having problems linking under gcc/os/2.  First, gcc won't link by itself.
>Fine, I use gcc -c and link386.. This works.. sometimes..  I have had, as of
>yet, no success linking c++ programs.  The linker always reports this error:
>
>Unresolved external entry:
>  __CTOR_LIST__
>  __DTOR_LIST__
>
>I searched the object files I was linking and did not find these strings.  I
>did find them, once each, in libc.lib and a number of times in the c++
>library file.  This is confusing!   What am i doing wrong??
>

You need to run collect on the output. See sample program no 2 for an
example. The next version of gcc/2 will not require this.

>  Also, I have some object files I would like to turn into a library.  How
>can I do this??
>

Get glibp113.zoo from ftp-os2.nmsu.edu. It is in
pub/os2/2.0/programming/gcc2-222.

(Actually, I thought glib was at version 1.14, where did it go?)

Trevor Lampre
<mmtl@cc.flinders.edu.au>
From: joe2@vnet.ibm.com
Date: Thu, 8 Oct 92 18:42:26 FWT
Newsgroups: comp.os.os2.programmer
Subject: Re: Launching Windows apps into seamless WinOS2?
Reply-To: <joe2@vnet.ibm.com>
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

In <2582@cronos.metaphor.com> Chun Cheng writes:
>Hello,
>   Does anyone know of any way to launch Windows apps into the
>seamless WinOS2 session?  Thanks in advance for any suggestions.
>                            Regards,
>                                 Chun
>
>

    Yes, you can use a DosStartSession, and use 14 as the application
type (I dunno why this application type is not documented though...)

-Joel Armengaud
Newsgroups: comp.os.os2.programmer
From: grasshof@rzdspc1.informatik.uni-hamburg.de (Gerd Grasshoff)
Subject: how to run unix shell scripts
Organization: University of Hamburg, FRG
Date: 10 Oct 92 17:56:51 GMT

 I would like to use the emx-package to port unix programmes to os2. As far as
 I can see there is no direct way to run shell scripts. Is there a cure?

 Gerd Grasshoff
 Uni Hamburg
Newsgroups: comp.os.os2.programmer
From: Larry Margolis <margoli@watson.ibm.com>
Subject: Re: EPM SYS3175 Error
Date: Thu, 15 Oct 1992 06:22:57 GMT
Reply-To: margoli@watson.IBM.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: The Village Waterbed

In  <tdukes.921014153710@ohm.ee.eng.auburn.edu>  tdukes@eng.auburn.edu (Todd J Dukes) writes:
>
> I got the EPM 5.51 stuff of of software.watson.ibm.com and started using
> it. Almost immediately I noticed that it no longer recognised .cpp .cc or
> ..hpp files as needing C syntax assist.
>
> I looked through the macros that I got along with epm and saw that it
> looked like all I needed to do was recompile. The code to determine this
> was in ckeys.e.
>
> Now every time I exit the editor I get a SYS3175 error.

Register details would help.  Specifically, CS:EIP and CSLIM.

> As far as I
> know, I didn't change anything in any of the macro files. I did
> create a file called MYCNF.E that has the following lines:
>
> const
>      EXTRA_EX = 1

Did you then recompile EPM *and* EXTRA ?  Those two .ex files really need
to be kept in synch.

Note that EPMGCNF.SMP is the MYCNF.E used to build the shipped .ex files.

Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: Need DHCALLS.LIB and ADDCALLS.LIB
Organization: DAFCO: OS/2 Software Support & Consulting
Date: Sun, 11 Oct 1992 02:01:30 GMT

I found the source code for the 506 disk driver on the IBM CDROM.
I want to modify it and rebuild it so that it works with an IDE
controller set to the alternate disk address and IRQ. Unfortunately
there is no makefile included AND the link step requires the files
DHCALLS.LIB and ADDCALLS.LIB which appear to be part of an IBM device
driver development kit not included on the CDROM.

Does anyone know whether these files are available and, if so, where
from?

Thanks.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
[.sig on vacation]
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: Can other CD ROM Players
Date: 8 Oct 92 11:58:00 GMT
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

sundaram@cps.msu.edu (Divya Sundaram) writes:

 > I have access to cd-rom players for the amiga 2000. I was wondering
 > if there was any way to read the stuff off the DAP CD and bring it
 > down to my PC. Can I use the CD-player for the Amiga to read the
 > DAP? Can I use a cd-player that runs fine under DOS/Windows to read
 > and copy files or install stuff from the OS/2 DAP CD?

I don't know about the Amiga, but you can use DOS/Windows to create
floppies from the PDK CD-ROM, and then use those floppies to install
the PDK components.

 > I was wondering if programming for OS/2 is all that different from
 > programming for MS-Windoze 3.x? I realize that the commands would
 > be different, but are the concept radically (if at all) different?

The are similarities (in concepts) and differences (in
implementation).  In particular, OS/2 has a much more regular (and
powerful) API than Windows.

Best regards,
John
                                                                                                     
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: OS/2 2.0 Frequently Asked Questions, Programmer's Edition 1.3
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Tue, 13 Oct 1992 15:39:03 GMT

In article <1992Oct12.174923.4717@desire.wright.edu> jstewart@desire.wright.edu writes:
>	I wouldn't suppose there's any way for those of us who bought it for
>$295 to get the technical libraries for say $100 more?  If I'd have known
>you were going to do this, I would have waited.

How about on CD-ROM for $15?

The OS/2 PDK CD-ROM contains all that information in electronic form.

See the FAQ List (2.0f) for details on ordering.

-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST 2.0f is avail.
sip1@ellis.uchicago.edu | from 128.123.35.151, anonymous ftp, in /pub/os2/all
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [For the Internet, vote Clinton-GORE this year.]
From: jan@acpub.duke.edu (Jan Gittelman)
Newsgroups: comp.os.os2.programmer
Subject: Debugging device drivers (or KDB)
Keywords: KDB device driver
Date: 9 Oct 92 16:58:59 GMT



Does anyone out there have any experience with KDB? I'm trying to debug
a simple device driver and can't get KDB to work properly. I installed
the debug version of the kernel and I can enter the debugger no problem,
both from the debugging terminal keyboard (a vt100) and from my device driver.

The problem occurs after I enter the debugger, no commands work. I can't
do anything including exit. To recover I have to reboot. Anyone have any
suggestions, ideas, or knowledge of documentation?

I got the debug version of the kernel from IBM as part of their development
toolkit, but it came with NO documentation and no one at IBM seems to know
anything about it.

Please mail me any information at jan@dukehrl.mc.duke.edu and I will be
glad to post a summary.

Thanks, 
Jan Gittelman
jan@dukehrl.mc.duke.edu
Newsgroups: comp.os.os2.programmer
From: ceschel@isrc.sandia.gov (Chad E. Schell)
Subject: COM ports under OS/2 2.0
Organization: Sandia National Labs, Org. 1600, Albq., NM
Date: Thu, 15 Oct 1992 21:07:22 GMT

Do anyone know of a way to flush the receive buffers
of the OS/2 2.0 com drivers?  I need to do this
in order to make sure that I am receiving recent
data from a constant stream that I sample only at
intermittent periods.

Chad Schell  
ceschel@cs.sandia.gov

Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
From: fritz@ra.csc.ti.com (Fritz Whittington)
Subject: Re: Example code to insert cmd files in startup folder
Organization: Texas Instruments
Date: Fri, 16 Oct 1992 21:02:27 GMT

In article <1bkdq6INNcmp@gap.caltech.edu> hacker@cco.caltech.edu (Jonathan Bruce Hacker) writes:
>>> 
>>> You can also create a file called STARTUP.CMD in the root of your boot
>>> volume.  This is the old (OS/2 1.2) way of starting up apps, but it
>>> works.  You just "start" or "detach" apps from it.  Be sure to end the
>>> file with an "exit" statement or the window will remain open at a
>>> prompt.
>>> 
>
>Is there any way to get the minimized icons from programs started
>using startup.cmd to minimize to the minimized viewer folder? 
>
>I have two programs from TCP/IP (sendmail.exe, inetd.exe) that, when
>started by startup.cmd,  can't be moved off the desktop.  If I drag
>them to the viewer folder they 'fall' right through it and land on the
>desktop.  Is this weird behaviour because these programs were started
>before the WPS?  Is there a workaround?

I'm also running the PC/TCP package.  On my system (GRE32 beta) the
windows are left open after starting.   If I click on them to minimize
before the desktop has come up, then they minimize to the desktop.
Later, when the Minimized Viewer is opened, I can double-click on them
to open, and then click on minimize, and they'll go into the Viewer
window.  Or, if I just wait for my Viewer window to open, then click on
minimize, they go into the Viewer.

Your work-around is to open, then minimize.  You can't drag them to the
Viewer. 


-- 
Fritz Whittington Texas Instruments, P.O. Box 655474, MS 446 Dallas, TX 75265
    Shipping address: 13510 North Central Expressway, MS 446 Dallas, TX 75243  
fritz@csc.ti.com             Office: +1 214 995 0397     FAX: +1 214 995 6194
Since I am not an official TI spokesperson, these opinions contain no spokes.
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: LINK386.EXE
Date: 9 Oct 92 19:18:12 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1992Oct04.234736.7949@r-node.gts.org> tcomsing@chasm.scar.utoronto.ca writes:
>I recently installed GNU C 2.2.2 and find one thing annoying about it.  That
>being, LINK386 must be run on the OBJect files.  As such, I am attempting to
>write a REXX "program" to automate this process, but I cannot find, no
>matter how hard I look, any kind of documentation for LINK386.

It's in the OS/2 2.0 Toolkit.  There is no documentation supplied with
the OS.  As far as I can tell, LINK.EXE and LINK386.EXE are supplied
as a courtessey.

>I would like to have my REXX "program" execute LINK386 without having
>LINK386 prompt the user for any additional information.

Just provide all the parameters on the command line.  You know how you
get prompted when you type LINK386 with no parameters?  Well, supply
the parameters on the command line, separated by commas, in the same
order the program asks you for them.  Terminate the command line with
a semicolon.

Type LINK386 /? for a brief summary.  It should be enough.

>Also, after LINK386 is run, I get a warning similar to the following:
>L4071: no pmtype specified; assuming WINDOWCOMPAT

You can ignore this if your program is intended to run in a text window.

>Can someone tell me what are valid options to use with the /PMTYPE switch?

WINDOWCOMPAT    - will run in a text window
NONWINDOWCOMPAT - will only run in a full-screen session
WINDOWAPI       - a PM program

Note that you can specify this information in the app's .DEF file as
well.  This is the recommended place for definitions that go into the
.EXE header (like the pmtype).  See almost any OS/2 programming book
for information on .DEF files.
-- 
David Charlap         |"there aren't 50,000 things for which it's worth writing
dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
----------------------+ programmers to create that much good software.
Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
Newsgroups: comp.os.os2.programmer
From: peter@Schultz.ON.CA (Peter Roeser)
Subject: Re: DAP CD in Canada?
Organization: S-S Technologies Inc.
X-Newsreader: TIN [version 1.1 PL6]
Date: Thu, 15 Oct 1992 17:03:57 GMT

Dave Perry VE3IFB (dp@hydra.carleton.ca) wrote:
: Does anyone know how to get the DAP CD sent to a Canadian address? I called the
: US 800 number and they told me they couldn't do it. This is a worldwide
: developers assistance program, isn't it?

 It appears that you must fill out aa OS/2 Developer Assistance Program
 Application Form. Contact:

	IBM CANADA Ltd.
	Software Vendor Operations
	D4/575/3600/MKM
	3600 Steeles Ave East
	Markham, Ontario
	L3R 9Z7
 
 We got our application from the Manager of the Software Enabling Center,
 K.A.(Ken) Fadelle, 1-416-946-3786

 You can only get the US CD if you have a US address where you can receive
 postal mail.

-- 
Peter Roeser                 | peter@Schultz.ON.CA
S-S Technologies Inc.        | uunet.uu.net!watserv1.uwaterloo.ca!schultz!peter
88 Ardelt Avenue             | voice: (519) 571-1434 x227
Kitchener, ON Canada N2C 2C9 | FAX:   (519) 743-3610
From: fang@cs.unc.edu (Qin Fang)
Newsgroups: comp.os.os2.programmer
Subject: help needed with not enough memory problem
Date: 12 Oct 92 15:47:45 GMT
Distribution: comp
Organization: University of North Carolina, Computer Science Department


  I have an image application which needs about 36 Mbytes memory. I compile 
the program using emx/gcc 0.8e. When the program tries to malloc a 24Mbytes
array, the system complains "Not enough memory". I have 60M available disk
space for swapping and my system is 486/50DX2 with 8 MB.
  Any help would be arreciated.
--


-Qin

*****************************************************************************
*    Qin Fang              University of North Carolina at Chapel Hill      *
*    fang@cs.unc.edu 	   Department of Computer Science                   *
*****************************************************************************
From: db3l@ans.net (David Bolen)
Newsgroups: comp.os.os2.programmer
Subject: Re: COM ports under OS/2 2.0
Date: 16 Oct 92 15:36:33 GMT
Organization: Advanced Network & Services, Inc. - Elmsford, NY

In article <1992Oct15.210722.26773@isrc.sandia.gov> ceschel@isrc.sandia.gov (Chad E. Schell) writes:

>Do anyone know of a way to flush the receive buffers
>of the OS/2 2.0 com drivers?  I need to do this
>in order to make sure that I am receiving recent
>data from a constant stream that I sample only at
>intermittent periods.

If you are truly only issuing I/O calls to the COM port periodically,
then you could make an initial IOCtl call (68H) to query the number of
characters in the receive queue, and then issue a read request for
just that many characters, so you don't block, but you get them all.

Personally though, I think that whenever you are dealing with the COM
port, you really should dedicate a thread to *always* be blocked ready
to read data from the port, and stick it into your own internal
buffer.  The queue of the COM driver isn't all that large (a K or two
maybe), and if you don't check soon enough you can lose data.

Now the one "problem" is that by default, if you issue a read for n
characters, it will block until you get all n characters, which is
presumably not what you want.  The best thing to do is to use a
different read timeout mode - "Wait-For-Something".  Use the Set DCB
IOCtl (53H) to enable wait-for-something read timeout processing.  In
this mode, a read to the COM device will block if nothing is
available, but will return as soon as something shows up, returning as
much data as showed up.  You can then buffer that data locally, and
return to request more.  If no data shows up for the full read timeout
period (default=1min), then the read will return anyway with 0 bytes,
and you can just loop back and issue the read again.  You can also
adjust the actual read timeout if you'd like.

--
-- 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