HDTenEightyP/NetNews huggingface dataset:
From: chauhand@sumax.seattleu.edu (Digvijay Chauhan )
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Info required on support for audio/audio compression in os2
Keywords: os2, audio, compression
Date: 24 Jul 92 20:10:07 GMT
Organization: Seattle University, Seattle WA

I am looking for information on features in os2 which support
audio capabilities in application software. Is there any support
for audio compression?

Any pointers to sources of information on these topics will 
be very much appreciated.

Digvijay
*********************************
internet address: chauhand@seattleu.edu
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: The expensive IBM doc set
Date: 30 Jul 92 18:05:05 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1992Jul29.171030.7248@tamsun.tamu.edu> dlb5404@tamsun.tamu.edu (Daryl Biberdorf) writes:
>
>Something that I haven't seen mentioned in this discussion (or I may have
>missed it) is that you don't have to buy all 17 volumes.  Each volume
>has its own IBM publication number, so you can order them separately
>(or so a Team OS/2 member tells me).
>
>Now, would someone who was rich enough to pay the $300 volunteer to
>post the title and publication number (and maybe even a brief
>description) of each volume in the set?  Chances are, most of us will
>only need a handful of volumes to get our job done.

The numbers are listed (including many other publications) in the os/2
book list on ftp-os2.nmsu.edu.  Get /pub/os2/2.0/info/os2pubs.txt

Here is the section on the programming reference:

S10G-3356	IBM OS/2 2.0 Technical Library (All 17 Volumes)
S10G-6260	OS/2 2.0 Application Design Guide
S10G-6261	OS/2 2.0 Programming Guide Volume I
S10G-6262	OS/2 2.0 Information Presentation Facility Guide
S10G-6263	OS/2 2.0 Control Program Programming Reference
S10G-6264	OS/2 2.0 Presentation Manager Programming Reference I
S10G-6265	OS/2 2.0 Presentation Manager Programming Reference II
S10G-6266	OS/2 2.0 Physical Device Driver Reference
S10G-6267	OS/2 2.0 Presentation Manager Driver Reference
S10G-6268	OS/2 2.0 Procedures Language 2/REXX Reference
S10G-6269	OS/2 2.0 Procedures Language 2/REXX User's GUI
S10G-6272	OS/2 2.0 Presentation Manager Programming Reference
S10G-6309	OS/2 2.0 System Object Model Reference
S10G-6310	OS/2 2.0 Virtual Device Driver Reference
S10G-6312	OS/2 2.0 Keyboard and Code Pages
S10G-6313	OS/2 2.0 Command Reference
S10G-6494	OS/2 2.0 Programming Guide Volume II
S10G-6495	OS/2 2.0 Programming Guide Volume III

Note that there are a LOT more publications on the list (including the
redbooks).  you can order them through your local IBM dealer.
-- 
   |)  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: rls@.wedge.nt.com (Robert L. Smith)
Subject: Hard Disk Interrupts?
Summary:  Can OS2/2.0 handle them?
Organization: Northern Telecom Inc., RTP, NC
Date: Sun, 26 Jul 1992 15:04:20 GMT

    I've been using OS2/2.0 for a month or so, on a '386DX with two
hard drives, and get the impression that OS2 does nothing else --
i.e., suspends multitasking -- while a hard disk operation is in
progress.  If true, the reason may be that OS2 must poll the hard
drive adapter to detect completion.  One piece of evidence for this
conclusion (among others) is that a simple disk-to-disk copy operation
in one partition disrupts a 9600-baud com transfer controlled by
another.
    The hard disk adapter on my machine is SCSI.  It contains posts
for a jumper, presently missing, to enable interrupts for operation
complete.  Can anyone say whether or not OS2/2.0 is capable of using
the hard disk interrupt?  Is there a mode whereby the OS allows non-
disk activities to proceed while disk-I/O is outstanding and depends
upon the interrupt to recover the disk-bound thread?  If so the
benefits are obvious and I'd like to take advantage of them.

Regards, rLs
Newsgroups: comp.os.os2.programmer
From: tanith@csd4.csd.uwm.edu (Michael D Kretzer)
Subject: Re: What does the graphics device driver kit look like?
Originator: tanith@csd4.csd.uwm.edu
Reply-To: tanith@csd4.csd.uwm.edu
Organization: University of Wisconsin - Milwaukee
Distribution: comp
Date: Wed, 22 Jul 1992 21:51:55 GMT

From article <TMH.92Jul22195350@keks.first.gmd.de>, by tmh@keks.first.gmd.de (Thomas Hoberg):
> We bought the "Presentation Driver Reference" manual from IBM, which
> had a coupon for pre-release presentiation driver code in it. We
> mailed that two weeks ago and tried just any phone number we could
> hunt down, but so far we got nothing...
> We would like to develop OS/2 graphics drivers for our TI34020 based
> family of graphics accellerators, but can't even start for lack of
> documentation/sample sources.
> 
> Has anybody gotten that pre-release driver software yet?
> Could you offer some information as to what exactly is contained in
> the package (VGA/8514/XGA driver source?) We'd really like to get
> started... (At least WINOS2 already works with TIGA drivers), but the
> WPS looks downright silly at 640x480 on a 20" monitor...

Unfortunately, the pre-release driver software does not include much
in the way of sources.  It includes the long-promised 32-bit graphics
engine, 32-bit XGA drivers, 32-bit Tseng 256 color drivers for 1024x768, 
800x600, and 640x480, 32-bit drivers for VGA/SVGA, and Toolkit support 
for the 32-bit graphics engine.  No source is included, only beta-level 
drivers of the above.  You will have to get in touch with IBM and request 
sources, I guess.
From: rodgers@engcon.marshall.ltv.com (KMRODGERS)
Newsgroups: comp.os.os2.programmer
Subject: C2 Security
Date: 23 Jul 92 17:21:25 GMT
Reply-To: rodgers@engcon.UUCP (KMRODGERS)
Organization: LTV MEG, Dallas, TX


All of this talk about NT's level of security misses a very important point:
The OS itself has no security rating.  ONLY hardware/software combinations
are security rated.  It makes no sense to talk about an OS having a C2 or
whatever rating.  A computer _system_ is rated -- not an OS.

------------------------------------------------------------------------------
Kevin Rodgers  rodgers%engcon@uunet.uu.net  LTV Aerospace
I only speak (in tongues) for Brother Bob Tilton!
------------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: toddc@cray.com (Todd Crowe)
Subject: Re: The expensive IBM doc set
Date: 30 Jul 92 12:29:36 CDT

toddc@cray.com (Todd Crowe) writes:
>dlb5404@tamsun.tamu.edu (Daryl Biberdorf) writes:
>>Something that I haven't seen mentioned in this discussion (or I may have
>>missed it) is that you don't have to buy all 17 volumes.  Each volume
>>has its own IBM publication number, so you can order them separately
>>(or so a Team OS/2 member tells me).
>>
>>Now, would someone who was rich enough to pay the $300 volunteer to
>>post the title and publication number (and maybe even a brief
>>description) of each volume in the set?  Chances are, most of us will
>>only need a handful of volumes to get our job done.
>>
>If you have a copy of the Developer's Toolkit, you can find the numbers
>in the back of the "Getting Started" manual.
>
>- Todd Crowe

If you don't have a copy of the Developer's Toolkit the numbers are:

10G3356   Complete Set

10G6260   Application Design Guide
10G6261   Programming Guide, Volume I
10G6494   Programming Guide, Volume II
10G6495   Programming Guide, Volume III
10G6263   Control Program Programming Reference
10G6264   PM Programming Reference, Volume I		  $35.00
10G6265   PM Programming Reference, Volume II		  $35.00
10G6272   PM Programming Reference, Volume III		  $35.00
10G6262   IPF Guide and Refence
10G6309   System Object Model Guide and Reference
10G6269   Procedures Language 2/REXX Users Guide
10G6268   Procedures Language 2/REXX Reference
10G6266   Physical Device Driver Reference
10G6310   Virtual Device Driver Reference
10G6267   Presentation Driver Reference
SC34-4289 SAA: CUA Guide to User Interface Design
SC34-4290 SAA: CUA Advanced Interface Design Reference

The numbers for ordering are:

	US:	  1-800-IBM-PCTB (1-800-426-7282)
	Alaska:   1-414-633-8108
	Canada:   1-800-465-1234 (except British Columbia?)
	B.C.:	112-800-465-1234

Perhaps this information could go into the the OS/2 Programmer's FAQ?
Sorry, I don't have any more prices; I was only interested in the PM stuff
when I called.  (The 3 PM books are about 800 pages each, BTW)

Todd Crowe
From: dmm@vnet.ibm.com (dave)
Date: Thu, 30 Jul 92 12:12:01 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: Help! Need to link 16bit LIB with 32bit Application
Organization: IBM Canada Lab
News-Software: UReply 3.0
X-X-From: dmm@vnet.ibm.com (Dave Mooney)

In <anderson.16.712435941@mayo.edu>  Alfred I. Anderson writes:
> Sybase distributes a .LIB file that is linked in with a C appliaction to
> allow access to their data base on the network.  Apparently it is not
> possible (?) to link this file against an application developed with the IBM
> CSet/2 compiler in 32 bit mode??
>
> Does anyone have a suggestion how we can link to this 16bit LIB??

You should probably get a list of the entry points in the library, list
these entry points in the EXPORTS sections of the .DEF file, and then
link the library as a .DLL.  That is, if the library exports the entry
points foo() and bar() (with the _pascal calling convention), write a
.DEF file SYBASE.DEF:

  LIBRARY SYBASE
  EXPORTS
    FOO @1
    BAR @2

and a .DEF file MAIN.DEF:

  NAME MAIN
  IMPORTS
    FOO    =SYBASE.1
    BAR    =SYBASE.2

Link the .DLL as

  link386 sybase.lib,sybase.dll,,,sybase.def

and your .EXE as

  link386 main,main.exe,,,main.def

The syntax may be off a bit here and there, but I have used this method
successfully before.

dave

-------------------------------------------------------------------------
Dave Mooney                                              dmm@vnet.ibm.com
 C Set/2 Development, IBM Canada Lab, 844 Don Mills Rd, Toronto, Ontario
            "If you've got a blacklist, I want to be on it"
Newsgroups: comp.os.os2.programmer
From: shiva@well.sf.ca.us (Kenneth Porter)
Subject: relation between allowed AVIO sizes and attribute sizes
Keywords: AVIO attribute
Organization: Kensington Labs Inc.
Distribution: comp
Date: Fri, 31 Jul 1992 19:50:20 GMT

(1.3 code)

I want to create an AVIO presentation space with a *lot* of lines of
scrollback.  The documentation specifies that the total AVIO buffer must
fit in 64k.  This led me to believe that by specifying only one
attribute byte for each character cell, I could have 32k cells.  As
illustrated in the following code, this appears not to be the case.  I
can only get 16k cells, which suggests that VioCreatePS uses the same
limits as when creating a 3-byte attribute space.

================================================================
// Code that works:
#define AVIOBUF 16384U
#define VIDEOWIDTH 40U
// FORMAT_CGA defined as 1 in PMAVIO.H
#define NUMLINES ((AVIOBUF/(1+FORMAT_CGA)) / VIDEOWIDTH)
error = VioCreatePS(&hvps,NUMLINES,VIDEOWIDTH,0,FORMAT_CGA,0);
// error is 0.
================================================================
// Code that fails
#define AVIOBUF 32768U
... (the rest is the same as above)
// error is 421 (ERROR_VIO_INVALID_PARMS)
================================================================
Newsgroups: comp.os.os2.programmer
Subject: Named pipe in DOS session
From: Chris_Sullivan@kcbbs.gen.nz (Chris Sullivan)
Date: 27 Jul 92 15:32:37 GMT
Organization: Kappa Crucis Unix BBS, Auckland, New Zealand

I have some debugging routines which accept input from a named pipe 
and display in a Presentation Manager window.

I'd like to use them to debug DOS applications running in an OS/2 2.0 
DOS session.

Can a DOS application open and write a named pipe?
If so, how do I do this?

Thanks.

Newsgroups: comp.os.os2.programmer
From: jochen@hotb.sub.org (Jochen Dornauf)
Subject: HELP: How to produce DLL's with GCC and LINK386
Organization: Home of the brave
Date: Tue, 28 Jul 92 22:41:33 GMT

Hi folks!

I need some help in compiling and linking a DLL.
I use GCC and LINK386 but do not know how 
to set options nor the right DEF-File for the Linker.

I was used to compile with MS C 6.0, what are the differences 
(in the C-Code) for producing DLL's?

Thank you...



Jochen Dornauf, Offenbach, Germany, (jochen@jogi.hotb.de)

--
From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
Newsgroups: comp.os.os2.programmer
Subject: Re: ObjectVision 2.0 for OS/2
Date: 28 Jul 92 01:02:12 GMT
Organization: Flinders University

In article <1992Jul26.070045.6393@weyrich.UUCP> tnet.com!weyrich!orville writes:
>Someone recently posted saying that Borland had released ObjectVision 2.0
>for OS/2 2.0 (but no BC++ yet).
>
>What can OV be used for? Will it work with IBM's CSET/2? Will it work
>with gnu gcc2.1? Does it provide the same functionality as Turbo Pascal
>6.0's TurboVision? Does it provide the same functionality that IBM's
>CUA Library does? What is it's street price?
>

ObjectVision has nothing to do with BCC. It is not a class library.
It is an application for developing form-like interfaces to databases.
It has a novel visual programming 'language' where you draw decision
trees. What is it good for? In my experience not much. Given another
couple of revisions it could develop into a good product but it is too
limited at the moment. Toolbook it 'aint. It also has an annoying
tendency to redraw everything constantly.

I am rather keen to get it (assuming the price is right) to see if it
is any better/faster under OS/2. I am also hoping that it will include
the Paradox engine DLL. I have the Paradox Engine for DOS/Windows and
would be very happy to have an OS/2 version. 

Trevor Lampre
MIS Unit
Flinders University of South Australia
Newsgroups: comp.os.os2.programmer
From: des@frogland.inmos.co.uk (David Shepherd)
Subject: Re: Can someone at IBM please explain why developers should develop for OS/2?
Organization: INMOS architecture group
Date: Mon, 27 Jul 92 17:43:27 BST

In article <19920727.074908.103@almaden.ibm.com>, dmm@vnet.ibm.com (dave) writes:
>we'll open up an APAR and get this fixed in an upcoming CSD.  And btw,
>this goes for anyone else with a C Set/2 question, kudo, or complaint...
>cset2@vnet.ibm.com is your 24-hour a day hotline to the C Set/2
>developers, workframe@vnet.ibm.com for Workframe/2.

are there other email addresses for problems/bugs in other bits
of OS/2  ...  if so can we know so we can help.  (e.g. i'd feel
much happier if i felt someone knew of the fact that the 10x6 and
12x5 font sizes in OS/2 windows are broke on my set up and that,
assuming its a bug, something's being done to mend it)

-- 
--------------------------------------------------------------------------
david shepherd: des@inmos.co.uk or des@inmos.com    tel: 0454-616616 x 625
                inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq
		"i speak latin to god,   spanish to men,   french to women 
		 and german to my horse."             - charles v of spain
Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: Run ZTC 32-Bit DosX Code under OS/2!!!
Date: Fri, 24 Jul 92 23:29:06 GMT
Organization: DAFCO: OS/2 Software Support & Consulting

I just got the X-32VM 32-bit dos extender from Flashtek. This item was
accompanied by an IBM update of VDPMI.SYS. With this software I
successfully ran a ZTC 32-bit dos application in an os/2 dos box.
Very nice and very fast!

Flashtek can be reached at 1-800-397-7310. X-32VM costs $69+shipping.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
---
What's the different between a Salem Witch Hunter and a modern day
Drug Warrior? - 3 centuries.
From: HARPER@VTVM1.CC.VT.EDU (Scott Harper)
Newsgroups: comp.os.os2.programmer
Subject: ANSI troubles
Date: 21 Jul 1992 02:14:15 -0500
Organization: UTexas Mail-to-News Gateway
NNTP-Posting-Host: cs.utexas.edu

Although I posted this in comp.os.os2.programmer a while ago, I have not
heard any response.  I thought I might try again with source code in case
nobody knew what I was refering to.

I seem to be having a problem with OS/2's ANSI.SYS (I think).  I have a
DOS program that uses the C library function outtextxy(col,row,outstring).
This function writes a text string to a graphics screen.  When I attempt
to write characters with ASCII values above 127 (a few symbols past the
lower case letters), I get rather odd characters.  They are not part of
any code page that I have ever seen.  Note: I am using codepage 437 (437
& 850 prepared in config.sys).  Strangly enough, the code page looks
competely correct if I use the text mode function putch() or if I use the
alt-keypad combinations at a prompt.

I am using the BGI libraries (from the Borland C++ 3.0 package) to enable
graphics.  Perhaps they are at fault?  As a final note, this program prints
the correct characters from pure DOS (or a DOS 5.0 image).

Perhaps someone who is doing DOS development under OS/2 has seen this before?
I've attached the code for a program that will demonstrate the difference
between the two code pages for anyone interested in seeing it for themselves.

.............................................................................
  Scott Harper                 ___   The moral of the story is: Never under-
                               \_ \_    estimate the bandwidth of a station
                                  \ \      wagon full of tapes hurtling down
                                    \_\_      the highway.
   EMail: HARPER @ VTVM1.cc.vt.edu     \\
                                         *            - Andrew S. Tanenbaum
.............................................................................


/* This program prints both the text-mode character set and the graphics-mode
   character set beside each other on a VGA or EGA screen.  Graphics
   characters are displayed in red, text in gray.                            */

#include <stdlib.h>
#include <conio.h>
#include <stdio.h>
#include <graphics.h>

void main(void)$

   int x,y=0;
   char outstring[2]=$0,'\0';
   int driver=DETECT;

   /* It may be necessary to add the path to your bgi drivers to the
      initgraph function if you have not added the object files to your
      graphics.lib                                                     */

   if(registerbgidriver(EGAVGA_driver)<0) exit(1);

   initgraph(&driver,0,"");
   if(x=graphresult())$
      printf("Graphics initialization error: %s\n",grapherrormsg(x));
      exit(1);
   clearviewport();

   setcolor(EGA_LIGHTRED);
   settextstyle(DEFAULT_FONT,HORIZ_DIR,1);

   for(x=1; x<=255; x++)$
      outstring[0] = x;
      if(!(x%20))y++;
      gotoxy((x%20+1)*4,y+1); printf("%c",x);
      outtextxy((x%20)*32+10,y*16+4,outstring);
      

Newsgroups: comp.os.os2.programmer
From: ladd@oscar.cs.unc.edu (Brian Ladd)
Newsgroups: comp.os.os2.programmer
Subject: PM Programming - Graphic Spaces?
Date: 28 Jul 92 14:44:16 GMT
Distribution: comp
Organization: UNC Department of Computer Science


What I CAN do: Draw squares, hexes, grids in a window's presentation space.
Vary the size or number of such figures when the window is resized (the
entire presentation space is redrawn with graphics primatives when this
happens). Create and manipulate scroll bars.

What I WANT to do: Draw a fairly complex figure once in a virtual
presentation space and use the window on the screen as a view into the
complex figure.

I think I have two questions, one how to do this in concept (presentation
space, graphics segments, retained graphics...I don't understand them very
well), the other what routines to call to accomplish it. The Technical
Reference Library should answer the second one, but even having read
_Programming Guide, Vol III_, understanding the first still eludes me. Any
illumination would be greatly appreciated, be it in news or e-mail.

Thanks, -bcl

Brian C. Ladd
Graduate Student & *NIX Court Jester
University of North Carolina - Chapel Hill

P.S. - I am using G++-EMX and attempting to extend the API; if anyone who
has the IBM OS/2 header files could send me the information on value sets
or slider bars (and maybe even the index numbers for their functions? Or a
way to figure that out without any of the *Set/2 tools), it would probably
make my life a lot easier.
From: Bill.Hirt@mtask.omahug.org (Bill Hirt)
Newsgroups: comp.os.os2.programmer
Subject: Basic compiler
Date: 28 Jul 92 11:33:14 CST
Reply-To: bill.hirt@mtask.omahug.org
Organization: Multitasking Systems, Kansas City
Followup-To: comp.os.os2.programmer

Is there a basic compiler for OS/2? Or does anyone know of one planned to take
advantage of OS/2 2.0? We have several basic programs at work under DOS we'd be
interested in moving to OS/2 if there is a decent compiler out there. If anyone
has any experience with an OS/2 basic compiler, please speak up.
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: Can someone at IBM please explain why developers should develop for OS/2?
Date: 29 Jul 92 15:44:28 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1992Jul28.021436.2865@hellgate.utah.edu> brian%jensen.cs.utah.edu@cs.utah.edu (Brian Sturgill) writes:
>Why does IBM charge so much for the hardcopy manual set?

Perhaps because it consists of 17 large volumes?

>How can anyone possibly justify a >$800 price tag?

Right now, it's only ~$300.  I'd be shocked if dealers didn't discount
it to about $600 or less.  $800 will be a list price.
-- 
   |)  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,comp.os.os2.misc,comp.protocols.tcp-ip.ibmpc,comp.os.os2.networking