HDTenEightyP/NetNews huggingface dataset:
From: man@labrea.zko.dec.com (Richard Man)
Subject: beta WorkFrame/2 problem with nmake
Reply-To: man@labrea.zko.dec.com (Richard Man)
Organization: Digital Equipment Corporation
Date: Mon, 23 Nov 1992 22:16:14 GMT


This seems to a bug in beta workframe/2: 

1. create a makefile (for used with nmake) with one C file.
2. invoke make under "Action"
	system invokes icc, then link386 (twice??!!), then an apparent
	bogus "cl" call. Since I don't have cl, system returns error.

	a. why two link386? One seems to be from icc, one from nmake
	b. why the call to cl?

FYI, when creating the makefile, I selected the C file on the file list,
and compile and link on the action list, then "start." Is there anything
I did wrong?
--
- Richard F. Man (man@labrea.zko.dec.com)
"Small Rovers, Big Dreams"

Newsgroups: comp.os.os2.programmer
From: rfm@access.digex.com (Bob Myrick)
Subject: PVCS & Brief with Workframe/2
Organization: Express Access Online Communications, Greenbelt, MD USA
X-Newsreader: Tin 1.1 PL3
Date: Thu, 19 Nov 1992 16:52:16 GMT

Has anyone configured the Workframe to be used with PVCS or Brief?

--
Bob Myrick (rfm@access.digex.com)
-------------------------------------+-------------------------------------
These ideas and others like them can | These opinions are mine and mine.
be had for $.02.                     | alone.
Newsgroups: comp.os.os2.programmer
From: jahonen@cs.joensuu.fi (Jarmo Ahonen)
Subject: Communicating from REXX programs to another programs
Organization: University of Joensuu
Date: Tue, 17 Nov 1992 09:03:26 GMT


Hello,

I hope that that you would answer to that even if it is a FAQ.

How can I start a REXX program and use it to pass messages between
two other processes?

I would like to write a REXX program which I could start from one 
program and then use that REXX program to do the communication
between the original program and another program started from the
REXX program.

In other words, if I have e.g. a program to calculate various 
results from a set of data and I would like to connect that program
to various possible databases etc by writing a REXX "driver" to
handle the communication between my program and the database,
how can I do it?

Thanks for your help,

----------------------------------------------------------------------
Jarmo J. Ahonen
Computing Centre, Lappeenranta University of Technology, P.O.Box 20,
SF-53851 Lappeenranta, Finland. email: Jarmo.Ahonen@lut.fi
Newsgroups: comp.os.os2.programmer
From: des@inmos.co.uk (David Shepherd)
Subject: Re: I want NaN and Inf to crash program.  Is this possible?
X-Newsreader: Tin 1.1 PL5
Date: Mon, 23 Nov 92 12:17:31 GMT

Brooke Paul Anderson (brooke@cco.caltech.edu) wrote:
: The problem is that, if your program has generated a NaN or an Inf,
: something is definitely wrong, and the calculation needs to be halted.
: To me, having to sprinkle tests all over to check for these conditions
: is just as inconvenient and annoying as trying to catch bad pointers
: in an OS that doesn't have protected memory (like in DOS, where pointers
: can stomp all over the OS until the whole machine locks up).

what you need is a full implementation of IEEE-754 where the production
of a NaN or Inf (under most circumstances) can cause a trap to be taken
which could either halt you program or go to a special bit of
fix up code.

IEEE-754 uses NaNs and Infs to allow for calculation to procede as far
as possible while tracking the propogation of "dodgy" values. However,
the standard is design around the idea that you should be able to trap
out of your program in these circumstances.

However, sticking in all the support for traps etc can be a bit
excessive if you believe that the vast majority of users won't
need it, hence many people only implement the arithmetic core
or IEEE-754.

having traps, though, allows all sorts of interesting concepts to
arise like "quiet" and "noisy" NaNs!


--
--------------------------------------------------------------------------
david shepherd: des@inmos.co.uk or des@inmos.com    tel: 0454-616616 x 625
                inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq
                1992: celebrate the quincentenary of columbus getting lost
Newsgroups: comp.os.os2.programmer
From: ekl@kvamdata.no (Eirik Lygre)
Subject: Re: Profiling tools for C Set/2?
Organization: Kvam data as
Date: Sat, 14 Nov 1992 11:04:06 GMT
Keywords: n

In article <1992Nov13.171956.17061@nynexst.com> andreasg@nynexst.com (Andreas Girgensohn) writes:
>Are there any tools for profiling programs like UNIX gprof that can be used
>with C Set/2 under OS/2 2.0?  Please reply by email since I don't read this
>newsgroup on a regular basis.  Any pointers will be appreciated.
>
>Andreas Girgensohn
>andreasg@nynexst.com

The next version of the C Set/2 will have PROFIT, which is a profiling
tool. PROFIT is available on the DAP CD-ROM in beta form. Join the DAP!

I have not yet installed PROFIT, but from the readme-files on the CD,
it looks *very nice*. I have used unix profiling (prof and pixie), and
PROFIT seems very capable.

Eirik
From: unruh@physics.ubc.ca (William Unruh)
Newsgroups: comp.os.os2.programmer
Subject: Re: Why HPFS SHOULD be secret.
Date: 24 Nov 1992 01:39:06 GMT
Organization: The University of British Columbia
Distribution: world
NNTP-Posting-Host: physics.ubc.ca

etb2s@uvacs.cs.Virginia.EDU (Erik Timothy Brandsberg) writes:


>...
>I realized that IBM should NEVER release this information, and if they
>...  If someone decides to make a driver
>to access the HPFS from DOS or Linux...  Then these security measures
>can very easily be stripped off and anything on the disk can be read
>by anybody.  
...

Security by obscurity? Anyone able to install a device driver should be
able to read everything (eg, root on a Unix system). If you don't ahve
permission to read everything you should not be ablke to install a new
device driver either. If IBM allows that then they have made a big
mistake. If someone can boot bare DOS on your system then your system is
in trouble anyway. A secure system should either not allow DOS to be
booted, or should have a password for bootup. Yes, getting a secure
OS2/WindowsNT/Unix on a 386 will be tough without protection from
booting into DOS. But trying to keep the details of HPFS hidden isn't a way
to go.
Newsgroups: comp.os.os2.programmer
From: smbrush@lims01.lerc.nasa.gov (Andy Brush @Sverdrup)
Subject: Re: CD Technology, Inc. "discount" offer
News-Software: VAX/VMS VNEWS 1.41    
Keywords: PDK SCSI CD-ROM
Organization: NASA Lewis Research Center
Distribution: usa
Date: 16 Nov 1992 12:18 EST  

In article <BxtG1t.JMt@apollo.hp.com>, ced@APOLLO.HP.COM (Carl Davidson) writes...
[stuff removed] 
>My questions to anyone who may have already ordered and received shipment are:
> 
>    1. Did Alberto mis-speak when he quoted the model number
>       of the Future Domain adapter? 
No... I got an FD-850-MEX, according to what's printed on the adapter card 
>    2. Do they really ship something like the Future Domain TMC1670,
>       which generally goes for between $159 and $179?
No, and they would not as an extra-cost option, when I asked them to
>    3. Did what you got from CD Tech. work?
Yes
>    4. Do you have any other comments on the experience?
They included a short SCSI cable, a terminator, and DOS and MAC CDROM
drivers. They TOLD me that the kit included new OS/2 drivers, but it does
not. Fortunately, the FD8XX.ADD from the GA release works with the CD beta.
 The external version is in a small case with a separate power supply which
is rather large. 
> 
Andrew S. Brush             | SMBRUSH@LIMS01.lerc.nasa.gov
Sverdrup Technology         | 2001 Aerospace Parkway
NASA LeRC Group             | Brook Park, OH 44142
"Opinions are Mine, Only"   | (216) 826-6770
From: bjorn@ludd.luth.se (Bjorn Fahller)
Newsgroups: comp.os.os2.programmer
Subject: What magic is needed for GpiLoadBitmap()?
Date: 18 Nov 92 17:36:20 GMT
Organization: Lule} Tekniska H|gskolas Datorf|rening - Ludd

I'm very new to PM programming, so I'm probably doing something rather silly,
but just what is needed to get GpiLoadBitmap() to work? No matter how I try,
a nullhandle is all I get. WinLastError() returns 0xa8001, which isn't even
defined. Sigh... I know the demo programs doesn't have this problem, but
I can't for my life see what important part(s) I've excluded. I even derived
my experimental program from one of the demos.
   _
/Bjorn.
-- 
Bjorn Fahller     Phone:              |The opinions above are not necessarily
Trollnasvagen 3A  Intl:+46 920 226870 |those of... Hey! Wait a minute. Do you
S-951 61 Lulea    Natl:0920-22 68 70  |seriously expect Me, a student, to carry
Sweden            << space for rent >>|the official voice of the University?
Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: CD ROM with Adaptec 1542 under OS/2
Keywords: CD ROM OS2 2.0
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Sat, 21 Nov 1992 03:55:10 GMT

In article <1992Nov16.145429.6455@netcom.com> leonid@netcom.com (Leonid Crossman) writes:
>Could someone tell me what do I need to make CD ROM with Adaptec 1542 work
>under OS/2 2.0? It looks like I have right config.sys but OS/2 doesn't
>see anything on the d: (CD ROM) drive. The same drive/controller works fine
>under Windows NT. When I prepare 2 installation floppies for the CD/ROM
>under Windows NT and start OS/2 installation, it loads the first part of OS/2
>from CD ROM and after rebooting (before configuration part) the system
>doesn't see the CD ROM any more ig I use SCSI ID 2 or 3 or it doesn't
>find any files on drive d: if I use SCSI ID 0.
>Could it be lack of support for the drive itself? ( I am using the drive
>from SUN)?

Try the CDROM_G driver, available via anonymous ftp from
software.watson.ibm.com and ftp-os2.nmsu.edu.

-- 
Timothy F. Sipples      | Read the OS/2 FAQ List 2.0g, available from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [Read the List, THEN post to ONE OS/2 newsgroup.]
From: sasmith@galaxy.gov.bc.ca
Newsgroups: comp.os.os2.programmer
Subject: Re: Command in REXX to execute the text in a variable?
Date: 18 Nov 92 11:15:54 -0800
Distribution: usa
Organization: BC Systems Corporation

In article <widow.722104795@camelot>, widow@camelot.bradley.edu (Shaun Burnett) writes:

> 	xxxxx Program,Filename
> 
> 	where xxxxx is a command that would pass "f:\utils\unzip -v
> 	g:\aoc.zip" to an environment shell (DOS or OS/2).
> 
> 	Any help would be greatly appreciated.  I haven't found a
> 	"quick reference" that describes all the commands on one page,
    How about 

       interpret Filename Program

    The REXX interpret command should handle this.
-- 
================================================================
       Steve Smith
       BC Systems Corporation
       Victoria, B.C.  Canada
       Internet: sasmith@bcsc02.gov.bc.ca
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: RE: WRITING TRIVIAL DEVIC
Date: 15 Nov 92 12:14:00 GMT
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

tommy@msc.cornell.edu (Mike Thompson) writes:

 > Okay, I've finally learned that OS/2 is not quite the perfect OS
 > for lab environments.  Maybe I long for a bit of the control of DOS
 > days.  Anyway, I have to write my own device driver to access
 > memory mapped controllers on a digital to analog (No - of course
 > the manufacturer has no intention of creating DD in the forseeable
 > future).
 > I need help.  I've got the development kits for OS/2 1.2 and 2.0.
 > They include some minimal examples of device drivers, but no real
 > documentation.  Can someone tell me where to get adequate
 > documentation to write a trivial device driver (it will be really
 > stupid).  Book suggestions?  Pay for more software from IBM?

As for a book, I highly recommend "Writing OS/2 Device Drivers" by
Raymond Westwater (this is from memory, but the author's last name is
definitely correct) -- it's 1.3 vintage, but works fine with 2.0.

I do not recommend "Writing OS/2 2.0 Device Drivers in C" by Steve
Mastriani, because it's not much use without the author's rather
expensive library.  (The code disk for the book is freely available on
CompuServe OS2DF1 -- a good place for OS/2 device driver help -- but
it doesn't include the library.)

Of course you'll want the IBM "Physical Device Driver Reference".  The
best way to get it (and a whole lot more besides) is to sign up for
the free IBM WorldWide Developers Assistance Program on CompuServe (GO
OS2DAP), and then order the $15 Professional Developers Kit CD-ROM.

Best regards,
John

p.s.  You'll need MASM to assemble your driver.
                                                                         
Newsgroups: comp.os.os2.programmer
From: nbl@solomon.technet.sg (Ng Beng Lim)
Subject: Rexx call for deleting WPS objects
Organization: TECHNET, Singapore
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 17 Nov 1992 12:44:12 GMT

I am trying to write Rexx programs to automatically create folders
and objects on the desktop.  Before I do that, I would like to delete
the old object first.  

Does anyone know if there is any call to do this?  I can only
find the routine to create objects, but not one to delete objects.

Hope someone can HELP!!!!!!!!!!!!!!!!!!!!!



--

==================================================================
Ng Beng Lim                       IDEMail:      NBL@MOEHQ
Computer Services Branch          Bitnet:       BENGLIM@ITIVAX
Ministry of Education             Internet:     nbl@solomon.technet.sg
Kay Siang Road                    Fax:          (65)-473-7513
Singapore 1024
===========================
From: francis@vnet.ibm.com (Tim Francis)
Date: Wed, 18 Nov 92 18:51:59 EST
Subject: Re: IBM Developer's Workset/2 - who knows what's in it?
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <jcmorris.721933576@mwunix>,
jcmorris@mwunix.mitre.org (Joe Morris) writes:
>
>I assume that you're quoting in Canadian dollars, but even so the current
>IBM/Link data base shows the price to be US$939, up from US$895 as
>of 8/24/92.  Where was the "special" announced?
>
>Joe Morris / MITRE

From the announcement of the most recent promotional price:

  ABSTRACT:  For a limited time only, all customers can acquire IBM
     Developer's WorkSet/2 (10G2995) (3.5-inch); (10G3363) (5.25-inch) for
     a one-time charge of only $375 -- a $520 savings off the normal $895
     one-time charge.
        Orders must be placed on or before April 6, 1993, if using a
     credit card by calling 1-800-3IBM-OS2 (9 a.m. to 9 p.m. Eastern
     time).  Orders must be placed on or after October 13, 1992, but no
     later than April 6, 1993, if using a purchase order by calling
     1-800-IBM-CALL (6 a.m. to 5 p.m. Mountain time).
     This discount cannot be combined with any other promotions.
     IBM reserves the right to modify or withdraw this promotion at any
     time.

Canadians can phone 1-800-465-7999.  The price is $445cdn.   -tim
From: msaletni@jade.tufts.edu (Michael J. Saletnik)
Newsgroups: comp.os.os2.programmer
Subject: Emacs /EMX
Date: 23 Nov 92 14:07:12 GMT
Organization: Tufts University - Medford, MA

A while back some kind soul posted the elisp code for OS/2 Emacs to
define the ^2 key as set-mark-command.  This is the default for Unix
implementations, but not for OS/2.  I reinstalled my system and blew
my .emacs away.  If someone could either post or mail me the
appropriate code, I would be eternally grateful.  I tried doing my own
elisp coding, but it appears that OS/2 Emacs is using a special keymap
for the F-keys, and I got very lost. :-)

					Thanks,
						Michael
--
Michael J. Saletnik, Tufts University E'91 G'93  / I reserve the right
Department of Civil Engineering Computer Lab TA / to be utterly and
michael@binkley.ext.tufts.edu (daily uucp)     / completely wrong.
Newsgroups: comp.os.os2.programmer
From: lowey@jester.usask.ca (Kevin Lowey)
Subject: Re: let FORTRAN program run under DOS to run under OS2
Organization: University of Saskatchewan
X-Newsreader: TIN [version 1.1 PL6]
Date: Sun, 15 Nov 1992 20:04:45 GMT

Yu-Min Liang (liang@cs.cornell.edu) wrote:
: Does anyone know if there is any tool available to help one
: modify a FORTRAN program originally run under DOS and make it 
: to be run in OS/2 environment?
: 
I'm not sure if I completely understand the question.

If you are talking about the DOS .EXE file, it should run under OS/2 2.0
with very few problems.

If you are talking about recompiling a Fortran program, there are many
OS/2 fortran compilers out there.  The ftp site listed below has the
Gnu C++ EMX compiler, as well as a fortran to c converter, in the
directory /pub/archives/os2/programr.

- Kevin Lowey (Lowey@Sask.USask.CA)
>>>>> Anonymous FTP to FTP.USASK.CA for DOS, OS/2, and Windows programs <<<<<
From: wein@disco-sun3.dfki.uni-sb.de (Michael Wein)
Newsgroups: comp.os.os2.programmer
Subject: Re: Emacs Help
Date: 23 Nov 92 10:47:34 GMT
	<1992Nov20.233151.10070@u.washington.edu>
Reply-To: wein@dfki.uni-sb.de
Organization: DFKI Saarbruecken GmbH, D-W 6600 Saarbruecken
In-reply-to: mts@shelley.u.washington.edu's message of 20 Nov 92 23:31:51 GMT

>I'm having trouble installing EMACS from ftp-os2.nmsu.edu.  When I execute the
>lib.cmd file and it inturn executes temacs.exe I get the error message:
>  Can't find file EMX
>
>I looked at the temacs.exe file using TYPE temacs.exe and the only english 
>there says EMX 0.8.  Is this another program I need to build the executable
>emacs.  I've done everything that the README file tells me to do without any
>luck.

Yes, you need EMX for running Emacs under OS/2. EMX gives you the possibility
to write programs both working under DOS and OS/2 because it also includes a
32Bit DOS Extender. EMX is written by Eberhard Mattes (author of emTeX, IMHO
the best TeX for PCs) and is free.  In addition, it makes it possible to you to
use GCC and other *nice* (GNU) utilities for OS/2. Therefore you should try to
get the emxdev.zip package as soon as possible. As far as I know the latest
version is 0.8e, available from ftp.uni-stutgart.de (in soft/os2/emx).

Have fun with Emacs,

        Michael Wein

  +------------------------------+-------------------------------------------+
  | e-mail : wein@dfki.uni-sb.de | "Translation is not a linguistic problem. |
  | Telefon: +(49)681/302-5303   |  It's a big problem." (Martin Kay)        |
  +------------------------------+-------------------------------------------+
 

Newsgroups: comp.os.os2.programmer
From: isc@panix.com (David Koosis)
Subject: WANTED: WYSIWYG View & Print Source Code
Summary: WANTED: WYSIWYG Print/View C Source for PM
Date: Mon, 16 Nov 1992 22:12:40 GMT
Distribution: usa
Organization: PANIX Public Access Unix, NYC
Keywords: SOURCE


Does anyone out there have C source for a file
viewer & printer?

I _know_ it must have been done a thousand times.

Call me & let's talk. 

Trying not to re-invent the wheel,
David Koosis
212-477-8800
From: genshirt@aegsg.UUCP (E312 Genshirt)
Newsgroups: comp.os.os2.programmer
Subject: accessing paged physical memory
Keywords: device driver, memory mapping, paging
Date: 17 Nov 92 10:13:54 GMT
Organization: AEG-Seligenstadt, W. Germany

We want to run a device-driver written for OS2-V1.3 under OS2-V2.0. The
driver uses DMA-transfer. V1.3 does not page physical memory. How does V2.0
make the adress-convertions for a memory block.

   virtual adress  --> linear adress --> physical adress

The DMA-controller needs physical contiguous memory. The OS2-system will
map the virtual data-buffer adress used in a DosRead() or DosWrite() to
a physical (or linear?) adress for the driver. Also the system will lock
the memory. Do we have to bother that the locked physical memory might not
be contiguous? Could IO-memory be parted in separeted 4k-pages?

Are there additional device-helper-functions? What can be done to get and
to verify contiguous memory?

Any information on OS2-2.x adress-mapping and paging would be highly
appreciated.

Thomas
Newsgroups: comp.os.os2.programmer
From: tranx@wl.aecl.ca
Subject: WorkFrame/2 problem
Organization: AECL RESEARCH
Date: Thu, 19 Nov 1992 18:50:19 GMT

Subj:   Problem with WorkFrame on OS/2

I am using WorkFrame/2 for wirting an application for OS/2. But everytime
I go to option "Action" and select "Make". I receive the error message like
"Unable to open message file". I don't know why. I put c:\ibmc\bin,c:\toolkt20\
os2bin , set include=c:\toolkt20\os2h;c:\ibmc\include in the path. And I also 
run "csetenv.cmd" to make sure the path was set-up right. But it doesn't help.
Could anybody help me out? Thanks
Newsgroups: comp.os.os2.programmer
From: ced@APOLLO.HP.COM (Carl Davidson)
Subject: CD Technology, Inc. "discount" offer
Date: Mon, 16 Nov 1992 15:51:29 GMT
Distribution: usa
Organization: Hewlett-Packard Company, Chelmsford, MA
Keywords: PDK SCSI CD-ROM

Has anyone out there taken advantage of the "discount offer" from 
CD Technology, Inc. which is included with the October 19th version
of the PDK CD-ROM? I've been tempted to, since I don't own a CD_ROM
drive or a SCSI adapter and have had to borrow hardware to load 
parts of the PDK, so I called CD Technology last week to inquire
about the "PC/XT/AT/386/486 Adapter" they are offering for $100 each
and was told (by Alberto) that the adapter in question is a
Future Domain TMC850M. Being the curious sort, I picked up a Computer
Shopper over the weekend to do some comparison shopping and found that
these adapters are widely available for from $59 - $79. The Toshiba
XM-3301 drive appears to be competitively priced at $400 - $450.

My questions to anyone who may have already ordered and received shipment are:

    1. Did Alberto mis-speak when he quoted the model number
       of the Future Domain adapter? 

    2. Do they really ship something like the Future Domain TMC1670,
       which generally goes for between $159 and $179?

    3. Did what you got from CD Tech. work?

    4. Do you have any other comments on the experience?

Thanks,
Carl

-- 
Carl Davidson  (508) 436-4361  |
Chelmsford System Software Lab | Microkernels: Where less is more.
The Hewlett-Packard Company    | 
DOMAIN: ced@apollo.hp.com      |
Newsgroups: comp.os.os2.programmer
From: orville%weyrich@uunet.uu.net (Orville R. Weyrich)
Subject: Re: I want NaN and Inf to crash program.  Is this possible?
Reply-To: uunet.uu.net!weyrich!orville
Organization: Weyrich Computer Consulting
Date: Sun, 22 Nov 92 07:39:43 GMT

In article <1emagvINNclf@gap.caltech.edu> brooke@cco.caltech.edu (Brooke Paul Anderson) writes:
>I want my programs to crash if some operation results in NaN or Inf.
>Is it possible for me to do this or for me to set some sort of trap?
>I don't know why gcc is set up so that it continues execution when a
>NaN or Inf shows up -- this is a real pain in the ass.

I at least prefer it that way -- it allows incomplete information to be
propagated when that makes sense; the programmer can test for normal
numerics at strategic points in the program and if need be shut the program 
down gracefully.

orville

--------------------------------------   **************************************
Orville R. Weyrich, Jr.                        Weyrich Computer Consulting
Certified Data Processor                     POB 5782, Scottsdale, AZ 85261
Certified Systems Professional                   Voice: (602) 391-0821
Certified Computer Programmer            Internet: orville%weyrich@uunet.uu.net
--------------------------------------   **************************************
Newsgroups: comp.os.os2.programmer