HDTenEightyP/NetNews huggingface dataset:
From: chiu@iscnvx.lmsc.lockheed.com (Po W. Chiu)
Subject: Help with GNU C v2.2 and PM
Organization: Lockheed Missiles and Space Co.
Distribution: comp.os.os2.programmer
Date: Thu, 8 Oct 92 21:15:48 GMT


   I need help on simple PM programming with GNU C v2.2.  I'm trying create
a PM window but all that happens is my os2/window changes title screen & icon
and returns to os2/window.

   gnu -c hello.c
   rc -r hello.rc hello.h hello.ico
   link386 hello,,,,hello
   rc hello.res


I've run the sample3 program and don't see any major difference in code.
Can anyone see any errors?  Please post or email chiu@iscnvx.lmsc.lockheed.com
Thanks in advance for any info.



/************************************************************************/
#define	 INCL_PM
#define	 INCL_BASE
#define	 IDR_RESOURCES	1
#define	 INCL_WIN
#define  INCL_GPI

#include <os2.h>
#include <stdlib.h>
#include "hello.h"

HAB	hab;
HMQ	hmq;
HWND	hwndHello;
HWND	hwndFrame;
char	ClassName[]="Hello";

int main()
{

   QMSG qmsg;
   static ULONG FrameFlags = 
		FCF_TITLEBAR | FCF_SIZEBORDER | FCF_MINMAX |
		FCF_SYSMENU | FCF_SHELLPOSITION | FCF_TASKLIST;

   static ULONG FrameStyle = WS_VISIBLE | FS_ICON;

   hab = WinInitialize(0);

   hmq = WinCreateMsgQueue(hab,0);

   WinRegisterClass(hab, ClassName, (PFNWP) ClientWndProc, CS_SIZEREDRAW, 0);

   hwndFrame = WinCreateStdWindow( HWND_DESKTOP, FrameStyle, &FrameFlags,
   		ClassName, 0L, WS_VISIBLE, (HMODULE) 0, IDR_RESOURCES,
		&hwndHello);

   WinShowWindow( hwndFrame, TRUE);


   while (WinGetMsg(hab, &qmsg, NULL,0,0))
      WinDispatchMsg(hab, &qmsg);

   WinDestroyWindow(hwndFrame);
   WinDestroyMsgQueue( hmq);
   WinTerminate(hab);
}



MRESULT EXPENTRY ClientWndProc( HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2)
{
   HPS		hps;
   RECTL	INVLDRECT;

   switch(msg)
   {
      case WM_CREATE:
      case WM_PAINT:
   	 hps=WinBeginPaint(hwnd, 0, 0);
	 WinQueryWindowRect(hwnd, &INVLDRECT);
	 WinFillRect(hps, &INVLDRECT, CLR_WHITE);
	 WinEndPaint(hps);
	 return 0;
      case WM_CLOSE:
	 WinPostMsg( hwnd, WM_QUIT, 0L, 0L);
	 return 0;
      default: 
	 return( WinDefWindowProc( hwnd, msg, mp1, mp2));
   }
   return 0;
}

Newsgroups: comp.os.os2.programmer
From: chaibp@iscs.nus.sg
Subject: re-programming the 8253 Timer chip wouldn't jeoperdize the OS ?
Reply-To: CHAIBP@NUSDISCS.BITNET
Organization: Dept. of Information Systems and Computer Science, National University of Singapore
Date: Fri, 16 Oct 1992 05:13:52 GMT

If a device driver re-programmes the 8253 Timer chip (e.g. changing its mode
from the default mode 3 to mode 2 or changing its interrupt frequency), 
why wouldn't the OS be jeoperdized ? At least I would expect the OS 
scheduling and disk access be affected because all these functions 
are based on the timer. But apparently none of these is affected at all 
with a timing program that I got hold of from ftp-os2.nmsu.edu under
/pub/os2/2.0/ibm. Why ?
Newsgroups: comp.os.os2.programmer
From: byu@white.toronto.edu (Benjamin Yu)
Subject: Re: gcchdr.zoo from ftp-os2
Organization: University of Toronto
Distribution: na
Date: 7 Oct 92 15:36:37 GMT

Well, I just installed gcc2-222 last night so everything is fresh out
of my memory .... and I installed it in FAT.  Get zoo (don't know the 
actual filename) from pub/os2/1.x/archivers at hobbes.nmsu.edu
which allows you to extract to different directories.  Do Not use
booz as it doesn't know directories.  Now create the following 
directories.

gcc\gcc-incl\
gcc\gcc-incl\machine
gcc\gcc-incl\sys
gcc\gpp-incl\
gcc\gpp-incl\gen
gcc\gpp-incl\sys
gcc\os2-incl\

Go to each directory and extract only the files for that directory.  For
example:
    cd gcc\gcc-incl\machine
    zoo x: a:gcchdr.zoo gcc/gcc-include/machine/*.*

    or

    cd gcc\gpp-incl\gen
    zoo x: a:gcchdr.zoo gcc/g++-include/gen/*.*

If you are not sure the actual file/directory names, do a
    zoo -list a:gcchdr.zoo

Be careful with all the / and \!!
Have fun!
Benjamin Yu
Newsgroups: comp.os.os2.programmer
From: "mike frisch" <mike.frisch@canrem.com>
Subject: installing gcc
Reply-To: "mike frisch" <mike.frisch@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 11 Oct 92 14:38:41 EST


     Is it possible to install GCC for OS/2 onto a FAT partition using
the ZOO archives with stored directory information?  The archives that I
have contain extended filenames and full directory information making an
installation on to an HPFS partition quite simple.  Unfortunately, I
don't have an HPFS partition.  Is it possible?

Mike.

+----------------------------------------------------------------+
|  Mike Frisch                  Usenet:  mike.frisch@canrem.com  |
|  Newmarket, Ontario, Canada                                    |
+----------------------------------------------------------------+

---
  OLX 2.2  Envy is thin because it bites but never eats.
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
From: cheng@jackal.metaphor.com (Chun Cheng)
Newsgroups: comp.os.os2.programmer
Subject: Launching Windows apps into seamless WinOS2?
Date: 8 Oct 92 00:18:13 GMT
Distribution: usa
Organization: Metaphor Computer Systems, Mountain View, CA
Originator: cheng@jackal

Hello,
	Does anyone know of any way to launch Windows apps into the 
seamless WinOS2 session?  Thanks in advance for any suggestions.
						Regards,
							Chun

Newsgroups: comp.os.os2.programmer
From: ljensen@netcom.com (Colin Jensen)
Subject: Re: GCC 2.1 or GCC 2.2.2?
Organization: Netcom - Online Communication Services (408 241-9760 guest)
Date: Fri, 9 Oct 1992 05:46:46 GMT

In article <1992Oct7.101842.10487@wsl.ie> jja@wsl.ie (John J. Allen) writes:
>Well I've just checked and the pragmas are there but they are wrong.
>There is a pack(4) prior to the FILEFINDBUF2 & FILEFINDBUF3 and it should
>be pack(2). This caused me about two hours wasted time trying to find this
>bug.

I was just trying to say that gcc has the ability to do alignment.  I
didn't mean to imply that the headers for gcc/2 are correct - because
they're not!

I have modified the headers that come with the Developer's Toolkit
to work correctly with gcc/2 but have not uploaded them anywhere
since someone had already said they would.  [Yes - this is legal]

Is someone else going to do this- or should I upload my version
of the headers?
-
Colin Jensen
cjensen@ampex.com	ljensen@netcom.netcom.com
From: drkszk@ocf.berkeley.edu (Derek Suzuki)
Newsgroups: comp.os.os2.programmer
Subject: Developers' Assistance Program
Date: 7 Oct 1992 06:44:49 GMT
Organization: U.C. Berkeley Open Computing Facility
NNTP-Posting-Host: tornado.berkeley.edu
Keywords: DAP CD

	Hello all.  I'm wondering just how open the DAP is.  What do
I have to do to get in?  I really do plan on developing software, but
in the past I've found it hard to deal with IBM as a non-corporate
individual.  Also, I know the number has been posted a few times, but
could someone send it to me again?
	A couple of reports on the contents of the developers' CD-ROM
say it includes TCP/IP.  Is this just the base product or does it include
NFS, X, and the libraries?  Can the CD be read by a DOS system for
transfer to floppies?
	Thanks for any help.

	Derek Suzuki

Newsgroups: comp.os.os2.programmer
From: johns@mcs213c.cs.umr.edu (John Stone)
Subject: Re: Accessing memory (Monitor)
Date: Thu, 15 Oct 1992 18:32:59 GMT
Organization: University of Missouri - Rolla




Alright people, 

YES YOU CAN ACCESS VIDEO MEMORY DIRECTLY UNDER OS/2

If you don't believe me, get vgalib.zip from the hobbes 
pub/uploads directory.

I have given source to write DIRECTLY to the video ram in
320x200x256 mode.

All that needs to be done to use this in text mode is to change
the address of the physical video buffer start, and length
and change the parameters that go to VioSetMode().

If you have any questions on it, send me mail, I have some
docs for these Vio calls...

Later,
        John Stone
        johns@cs.umr.edu




Xref: sparky comp.os.os2.programmer:5703 comp.os.os2.misc:33002
From: hacker@cco.caltech.edu (Jonathan Bruce Hacker)
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Re: Example code to insert cmd files in startup folder
Date: 15 Oct 1992 18:37:57 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu

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

-- 
Jon Hacker
Caltech, Pasadena CA
hacker@tumbler-ridge.caltech.edu
Newsgroups: comp.os.os2.programmer
From: rickr@virtech.uucp (Rick Rodman)
Subject: Re: Accessing SCSI Tape Drive under OS/2?
Summary: Here's another interested person
Organization: Virtual Technologies Inc.
Distribution: na
Date: Fri, 9 Oct 1992 03:29:49 GMT

In article <1191@alsys1.aecom.yu.edu>, ed@balrog.aecom.yu.edu (Ed Geraghty) writes:
> Greetings,
>  
>    I have been given a task to create a program to read/write data from
> a SCSI tape drive under os/2. I mainly am trying to get tar/cpio to work.
> How do I access the SCSI tape. Do I work with the SCSI adaptor or is there
> hooks into the SCSI adapter device driver. Is there a SCSI developers kit
> like on SUN's and other WS's. My current setup is an Adaptec 1542 and
> and Archive Viper ST525 Tape drive. Any help would be appreciated.
> 
>                              Thanx in Advance,
> 
>                              Ed Geraghty
> 
> *******************************************************************************
> Ed Geraghty                         |  "There is no true escape - I am watching 
> Systems Manager                     |   all the time..." - JP "Electric Eye"
> Albert Einstein College of Medicine | 
> Dynamic Brain Imaging Lab           |  "Whenever you dream, you're holding a 
> Bronx, NYC 10461                    |   key. It opens a door to let you be 
> email: geraghty@aecom.yu.edu        |   free" - Ronnie James Dio
> *******************************************************************************
> 


-- 

Rick Rodman      uunet!virtech!rickr	Manassas, VA
"This government is the biggest fraud in the history of the industrialized
Western world.  There isn't any Western democracy that does so little for its
Newsgroups: comp.os.os2.programmer
From: rm3@ornl.gov (MCBROOM R C)
Subject: Re: problems in ar in emx 0.8d
Organization: Oak Ridge National Laboratory
Date: Fri, 9 Oct 1992 14:41:04 GMT

In article <ignacij.718554280@meishan.animal.uiuc.edu> ignacij@meishan.animal.uiuc.edu (Ignacy Misztal) writes:
>in 0.8e?
>
>On a related question, GNU make does not recognize the following line
>from SUN make:
>OBJECTS = $(SOURCES:.cc=.o)
>Is this a standard make statement?

Does Anyone have a chart for this minefield of "make"?  I've looked at dmake,
nmake, GNUmake etc. and every thing seems to use a slightly different syntax.
Looking at the makefile with the programs from the redbooks on ftp-os2 and 
IBM seems to have done a cset specific makefile syntax.  I've yet to find a
make program that understands the change directory command in the makefile for
samples included with GNU gcc.  One of the biggest problems in porting programs
seems to be finding all the hidden dependencies obscured by wildly varying
make syntaxes.

Is there any light?

Newsgroups: comp.os.os2.programmer
From: DBopen <dbopen@tigger.jvnc.net>
Subject: Help needed for Microsoft C/C++ v7.0
Organization: Indiana University
Date: Thu, 15 Oct 1992 14:37:57 GMT

   People, help !
I need patches for Microsoft C/C++ v7.0 to make it work in both environments:
in DOS 5 and in DOS 5 under OS/2 (without Windows).
At this moment, to debug my program, I am using the OS/2 Dual Boot feature to
switch between compile/link and run.
If you know something useful about this problem, any information will be
greatly appreciated.
     Vitaly Blokhin.
From: ramdas@natinst.com (Malathi Ramdas)
Newsgroups: comp.os.os2.programmer
Subject: Installing Interrupt Service Routines under OS/2 2.0
Date: 15 Oct 1992 13:33:37 -0500
Organization: National Instruments, Austin, TX
Distribution: world
NNTP-Posting-Host: eagle.natinst.com

   I am writing a charater based instrument control device driver for OS/2 2.0.
I am using the C callable DevHlp functions using drvlib.lib file. I use the SetIRQ 
to install the interrupt service routine. I have followed the procedures as is
stated in the book (Writing OS/2 device drivers in C) and the sample programs. But
For some reason the interrupt service routine is not getting installed. I know
that there is no interrupt conflict and when I check the bits in our 
instrument control board's registers that should have caused the interrupt I
see that they are set. But for some reason the ISR never gets invoked (maybe
b'cos it never got installed). The SetIRQ function which I call during initia
lization time returns without any error indicating that the ISR was installed
successfully. Would any device driver expert know what could be missing in
my device driver that is causing this problem? 
   Thanks
Malti Ramdas


Newsgroups: comp.os.os2.programmer
From: weinkam@fraser.sfu.ca (James Lawrence Weinkam)
Subject: Help with color selection.
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Wed, 14 Oct 1992 22:21:18 GMT

I would like to know if there is some way to access the colorwheel
in os2 from my own program.  For files, there is the file dialog box.
Likewise for fonts.  But there does not seem to be function calls
for a color dialog box.  Please answer the following

Can I access the color wheel from my programs?

If so, how?  If not, why not?

Please answer as this is the third time I have posted, and have not 
yet received a single reply.

James
Newsgroups: comp.os.os2.programmer
From: sci240s@monu6.cc.monash.edu.au (Wey Jing HO)
Subject: How to use EMX's ar?
Organization: Monash University, Melb., Australia.
Date: Tue, 13 Oct 1992 00:24:32 GMT

I am trying to make a library using EMX port of GCC. Everything was compiled
OK to *.o. Now, what do I have to do to make these *.o into *.a. I've tried
to use "ar r libMyLib.a MyObjs.o" and though I can get the libMyLib.a to be
created, trying to link it with *.o doesn't work. The message says something
like "Module from Text Segments not valid or found" (sorry, can't remember
the exact words .... hold on, I'll run it and see ..)
Here it is, it says:

libMyLib.a(MyObjs.o): Undefined symbol _dgetme_ referenced from text segment.

So, what am I doing wrong?
Thanks for any pointers.

-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Wey Jing Ho    Tel: 61-3-573-2567   E-mail : sci240s@monu6.cc.monash.edu.au<
>Physics Dept., Monash University ( Caulfield Campus ), Melbourne, AUSTRALIA<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Newsgroups: comp.os.os2.programmer
From: os2man@panix.com (Larry Salomon Jr.)
Subject: Re: Receiving LN_ENTER with a LS_MULTIPLESEL listbox?
Date: Mon, 12 Oct 1992 13:50:20 GMT
Organization: PANIX Public Access Unix, NYC

In <Bvwts7.EIF@news.cso.uiuc.edu> cjs33278@uxa.cso.uiuc.edu (Carl+Chris Samos) writes:

> <stuff deleted>

>The problem is this:  When I receive the LN_ENTER code, I need to know which
>item was double clicked.  Since it's multiple selection, other items in the
>listbox may be selected, so you can't just send an LM_QUERYSELECTION
>message to the listbox.  That will return the first selected item, or the
>next selected item, if you send multiple LM_QUERYSELECTION messages.

>Any ideas on how to accomplish this?  I spent about 2 hours last night, and
>I found a solution, but I'm interested to hear if anybody else has any ideas
>on how to do it.  I'll post my solution if anyone is interested.

The only easy way that I can think of would be to store a selection-state flag
in the item handle for each listbox item.  When you receive an LN_SELECT or
LN_ENTER message, repeatedly send LM_QUERYSELECTION messages to the listbox to
query all of the selected items and compare each with the selection state.  The
one item that is returned from LM_QUERYSELECTION but whose flag is FALSE is the
one that was selected.

If you need more help regarding this, let me know offline.

Cheers,
Q
-- 
"If you choose not to decide, you  | "A fool and his money are fun to go
 still have made a choice" - Rush  |  out with" - seen on a T-shirt
------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: etxabju@juno.ericsson.se (Anders Bjurman)
Subject: Help with CVS version control system
Organization: Ericsson Telecom AB, Stockholm, Sweden
Distribution: comp
Date: Thu, 8 Oct 1992 07:59:27 GMT

Hi!

I works with a medium sized programming project (about 150 source files)
and currently uses the RCS posted to c.b.os2 some months ago (5.6?) to keep
track of different versions.

Since the CVS program included with RCS seems to be better I've tried to
use it instead, but I can't make it work. I can't find anything in
the doc on how to get started, i.e. put my files under CVS control
( ~ "CVS init" ). Is there some guide or hints on how to do that? (do CVS
*works* in the first place?)

I am also looking for some practical experience about version control in CVS
or RCS? In my opinon it seems to be too much work to keep track of 150 files -
I want to version control the application, not individual files. Any hints
on how to do that?

Thanks in advance.

/Anders Bjurman
--
------------------------------------------------------------------------
                Anders Bjurman, TN/ETX/TM/JUG   Memo: eri.etx.etxabju
    \\|||//     Ericsson Telecom AB             etxabju@juno.ericsson.se
     |o o|      S-126 25 Stockholm, Sweden      +46 8 7191232
--w----v----w-----------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: jja@wsl.ie (John J. Allen)
Subject: Re: GCC 2.1 or GCC 2.2.2?
Organization: Project Papyrus, AIRAID, Dublin, Ireland
Date: Wed, 7 Oct 1992 10:18:42 GMT

ljensen@netcom.com (Colin Jensen) writes:
: In article <1992Oct5.123837.28122@wsl.ie> jja@wsl.ie (John J. Allen) writes:
: >Well 2.1 packs struct's automatically and 2.2.2 does not. I have not found
: >a way to do this. This is a real pain if you use any system calls.
: 
: [Warning: The following applies to gcc/2.  I know nothing about EMXGCC]
: 
: The version of gcc 2.2.2 that I am using *does* support packing structs
: by using a #pragma option.  ``#pragma pack(n)'' where n is the desired
: alignment that you want for structs will cause all structs declared

Well I've just checked and the pragmas are there but they are wrong.
There is a pack(4) prior to the FILEFINDBUF2 & FILEFINDBUF3 and it should
be pack(2). This caused me about two hours wasted time trying to find this
bug.
From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
Newsgroups: comp.os.os2.programmer
Subject: Re: Question about GCC and debugger
Keywords: GCC, EMX, OS/2, debugger
Date: 15 Oct 92 04:11:50 GMT
Organization: Flinders University

In article <1992Oct12.223906.21273@doug.cae.wisc.edu> dafnioti@cae.wisc.edu (Petros Dafniotis) writes:
>Dear netters,
>
>  I have read the whole FAQ before posting this message. The FAQ is *UNCLEAR*
>in the following point:
>* is there a debugger (source-level) for GCC? I understand that there is

No.

>  one (the standard gdb) for EMX. If not, what can i do (i.e. where can I
>  find a debugger)? Will IPMD (shipped with C set/2) work?

Not yet. GCC does not create debug info for *any* debugger to use. I
hope the next version will, so IPMD should work then. A port of gdb
will eventually be done.

>* can I generate real PM applications with GCC using the standard info in
>  the IBM etc books for OS/2 PM programming? Pros/cons? 
>

Should be able to.

Trevor Lampre
<mmtl@cc.flinders.edu.au>
Flinders University of South Australia
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
Date: Thu, 15 Oct 92 04:55:13 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: Vio buffer pointer question
Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)

In <1998@acf5.NYU.EDU> checker writes:
>I'm trying to get some Vio code working without any manuals (it was so
>nice of IBM to include no documentation on the freaking API in the
>WorkSet) and I'm having some trouble with direct video writes.
>
>I'm creating a VIOMODEINFO struct (and filling in the cb member with the
>size) and passing it to VioGetMode.  The buf_addr member has the correct
>address after the call for the mode I'm in (0x000B8000) but I get a GP
>fault when I try to write to it.  Do I have to do something before I can
>do a direct video write?  Can I even _do_ a direct video write?  If not,
>what is that pointer for?
>

The value 0xB8000 is the 'physical' address of your display memory.  In order
to write to it directly, you need access to the 'Logical Video Buffer', which
is the 'virtual' addres of this memory.  To get the LVB, use the VioGetBuf API

/***************************************************************************
 * Structure defining the layout of the LVB Buffers.  The Buffer consists  *
 * of Host_Rows*Host_Cols 2-Byte Cells.                                    *
 ***************************************************************************/
typedef union {
  struct {
    BYTE Character;               /* ASCII Character                         */
    BYTE Color;                   /* Foreground/Background Color             */
  } Byte;
  UINT Cell;                      /* Allows access to the 2-byte cell        */
} LVB;

LVB     *lvb_Ptr;                /* Logical Video Buffer                    */
USHORT  lvb_Size;                /* Size of LVB in bytes                    */

VioGetBuf(&lvb_Ptr,&lvb_Size,0);
Newsgroups: comp.os.os2.programmer
From: cl45@cunixf.cc.columbia.edu (Ching-Tse Liu)
Subject: Re: Gawk and floating-point numbers
Reply-To: cl45@cunixf.cc.columbia.edu (Ching-Tse Liu)
Organization: Columbia University
Date: Wed, 7 Oct 1992 07:24:57 GMT

In article <BvpIsC.CHx@news.cso.uiuc.edu> thoth@uiuc.edu (Ben Cox) writes:
>I have been having a bit of trouble with floating-point numbers in
>Gawk (2.13, I think) under OS/2 2.0.
>
>I have a script which tallies up some figures (dollar amounts, so they
>are floats) and then tries to print them.  I use a line something like
>
>   printf "Total: %.02f, bleagh\n", total;
>
>and all I get is:
>
>   Total: f, bleagh
>
>for output.  Using this same script with Gawk under Linux worked fine,
>so naturally I assumed it would work with Gawk under OS/2.
>
>I also tried
>
>   printf "Total:", total, ", bleagh";
>
>and that printed
>
>   Total: 12510 , bleagh
>
>which isn't even close to correct ("total" is nowhere near 12510, or
>even 125.10).
>
>Anyone have any ideas of what I can do (other than moving my Gawk
>script and my data file to a unix machine)?
>
>Followups have been directed to comp.os.os2.programmer, since I read
>that group (and not gnu.utils.bug). :-)
>
>Any info would be helpful; thanks in advance!
>
>--
>Ben Cox
>thoth@uiuc.edu

	I had the same problem and I asked the author of the port what
went wrong. It turned out that he inadvertently  modified one of the lines in 
the makefile and compiled it. But the source code and makefile that came
with the binary are the original intact ones. If you have the emx/gcc
development tool, yoou can do a simple make to get a working program.

       		                     	***********************
--cliu@merlin.appmath.columbia.edu	*   CLifton T. Liu    *
--cl45@cunixf.cc.columbia.edu		***********************