HDTenEightyP/NetNews huggingface dataset:
From: joe@jsnode.equinox.gen.nz (Joseph Skinner)
Newsgroups: comp.os.os2.programmer
Subject: Re: Split Window in EPM?
Date: 26 Jan 93 02:26:59 GMT
Organization: Me? Organized?

In article <1993Jan20.082516.5600@watson.ibm.com> margoli@watson.IBM.com writes:
>In <1jee8mINNj4r@hpscit.sc.hp.com> kitchin@lf.hp.com (Bruce Kitchin) writes:
>>
>>I too sorely miss this.  Most of my previous work has been using the
>>Sage Professional Editor and prior to that Brief.  What I would really
>>like is to be able to pop up N windows from one editing session so I
>>could move back and forth since I often need to be looking at one file
>>while editing another.  To have a separate instance of EPM for each
>>file seems rather excessive and hard to get from one file to another.
>
>We expect to have that in EPM 5.60 and 6.00; we're working on that now.
>
>>I would put this high on my request list.
>
>Thanks for the feedback.  We're very interested in what features people
>want, and how they would prioritize them.

The one feature that I miss from emacs that I would really like is an 
incremental search. 

Its great for scanning through files when your not fully sure what you
are looking for.

--
===============================================================================
Joseph Skinner                         | The return of the lost signiture  
usenet: joe@jsnode.equinox.gen.nz      | If at first you don't succeed, 
Invercargill, New Zealand              | you're doing about average.    
===============================================================================
From: john.navas@uttsbbs.uucp (John Navas) 
Newsgroups: comp.os.os2.programmer
Subject: OS/2 AS AN OPEN SYSTEM- B
Date: 27 Jan 93 00:26:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: john.navas@uttsbbs.uucp (John Navas) 

assela@marcus.its.rpi.edu (A. Andre Asselin) writes:

 > I was thinking recently about the future of the PC marketplace, and
 > thought of an interesting idea.  If IBM were to make OS/2 an open
 > system (i.e.  all source freely available or licenseable at a
 > reasonable rate), I believe its market share for desktop operating
 > systems would increase dramatically.  Just think: a windowing
 > system where you don't have to guess what the documentation means
 > on a certain point (programming Windows is as much reading the book
 > as experimenting to figure out what it means).  This advantage is
 > already available in X, but this would be the first time it'd be
 > available for a mainstream desktop OS.  And if you have some
 > obscure bug that seems to be caused by a strange interaction, you
 > could not only look at the source, but also trace right down into
 > OS/2 at a source level!  My question to the net is what do you see
 > as the advantages and disadvantages of an approach like this.  How
 > would it impact OS/2 sales?  How would it impact the programming
 > community?  Is such a system feasible?  Any thoughts?

A bad idea in my opinion, since UNIX demonstrates that when source
code is released, chaos results.  100 dialects of OS/2?  No thanks!

And since when is UNIX not a "mainstream desktop OS"?!  ;-)

Best regards,
John
                                                     
----
+------------------------------------------------------------------------+
| The Transfer Station BBS (510) 837-4610 & 837-5591 (V.32bis both lines)|
| Danville, California, USA. 400+ MB Files & FREE public Internet Access |
+------------------------------------------------------------------------+
From: pr@umiacs.umd.edu (Jesus M. Rodriguez)
Newsgroups: comp.os.os2.programmer
Subject: Re: Developers - Read this!
Date: 21 Jan 93 23:23:10 GMT
Organization: University of Maryland Institute for Advanced Computer Studies
Originator: pr@fnord.umiacs.umd.edu


In article <1993Jan20.193810.12140@gandalf.UMCS.Maine.EDU>, jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin) writes:
|> In article <31h3spb@rpi.edu> assela@rs6108.ecs.rpi.edu (A. Andre Asselin) writes:
|> >sal8@po.cwru.edu (Steve Luzynski) writes:
|> >>Some ideas for articles to start things off I had are stuff like:
|> >>-a simple skeleton PM application to get people started
|> >>-how to install and set up gcc, emx/gcc, gnu make, etc.
|> >>-reviews of any commercial development stuff that gets released
|> >>-good books to buy, etc.
|> >>-considerations for programming dos under os/2, releasing 
|> >>timeslices, etc.
|> >>-etc.
|> >
|> >By any chance, would you be interested in a series on writing Installable
|> >File Systems?  Although its rather obscure and specialized, I've done some
|> >work in that area and am willing to share what I've learned....
|> >       - Andre Asselin   (assela@rpi.edu)
|> 
|> First let me say, I'd love to have something like this...to both of you!
|> 
|> A "good" OS/2 *programmer's* mag would be great!  I'd very much like to read
|> up on both the mainstream and the relatively obscure stuff.
|> 
|> Jeff
|> 
|> 
|> 
|> 
|> -- 
|> --------------------------------------
|> jurlwin@gandalf.umcs.maine.edu


I think this would be great.  I am trying to get into OS/2 programming and would
love to be able to read a magazine about programming OS/2 :-)

I would definitely be a subscriber :-)

Jesus M. Rodriguez
pr@umiacs.umd.edu
Newsgroups: comp.os.os2.programmer
From: shiva@well.sf.ca.us (Kenneth Porter)
Subject: Re: Why I will choose Borland
Organization: Whole Earth 'Lectronic Link
Date: Mon, 25 Jan 1993 21:42:46 GMT


In article <8438@lib.tmc.edu> jmaynard@oac.hsc.uth.tmc.edu (Jay Maynard) writes:
>In article <1993Jan14.161935.5498@gandalf.UMCS.Maine.EDU> jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin) writes:
>>How about the warning about relational expression is always true?
>>while (1)
>>{
>>do something
>>if something
>>  break;
>>do some more...
>>}
>
>It proably wants you to rewrite that as
>flag=0;
>while(!flag) {
>        foo;
>        if (bar)
>                flag=1;
>        baz;
>}

I've successfully used "for (;;)" to mean loop forever. In fact, I've seen
system include files (I think on the Amiga) that have

#define FOREVER for (;;)

A couple of people also mentioned the trick of using a void cast to get
rid of the parameter-not-used warning, so I've now got a macro for it:

#define ParameterNotUsed(param) ((void)(param))

This seems to be portable (Borland C++ likes it, too, but MSC6
complains that "statement has no effect" :-( ), so I'll discontinue
using the associated pragma.

The empty for loop *can* be re-written as a while loop, as that
construct is usually used to search for a value in a list or array; I
like the for construct because it groups the initialization with the
test. I flag the empty for body by always putting the trailing
semicolon on a separate line.

Has anyone come up with an elegant way to eliminate the
"fall-through" warning if a case in a switch statement continues to
the next case? I've seen lint constructs like /*FALLTHROUGH*/, so I
put such a comment in when that's what I intend. This should occur a lot
in PM and Windows code where switch statements make up 90% of the code.
Newsgroups: comp.os.os2.programmer
From: ljensen@netcom.com (Colin Jensen)
Subject: Re: How to link C Set/2 library to GCC/2 or gcc-emx
Organization: Netcom - Online Communication Services (408 241-9760 guest)
Date: Tue, 26 Jan 1993 01:28:21 GMT

In article <1993Jan25.183155.20860@ucsu.Colorado.EDU> kassarji@spot.Colorado.EDU (KASSARJIAN STEVEN J) writes:
>Using GCC/2 and link386 I get unresolved external functions (the ones
>in the library provided by the hardware vendor, but proceeded by a
>single _ character).  Apparently GCC/2 and CSet/2 mangle function
>names differently.  Can this be averted?  How?

Assuming you have a vendor supplied function 
	void foo(void);
you will need to declare foo() as
	void foo(void) asm("foo");
in order for gcc/2 to be happy with it.

This advice only applies if the library is 32bit though...

Basically, DLLs and LIBs usually have no pre-pended underscore for symbol
names.  Gcc/2 by default wants pre-pended underscore.  The asm notation
tells gcc/2 that the symbol should really be refered to by a different
name - in this example, I tell gcc that the symbol "foo" should translate
as the symbol "foo" rather than the default translation of "_foo".
-- 
Colin Jensen
ljensen@netcom.netcom.com	cjensen@ampex.com
From: z_kupkams@ccsvax.sfasu.edu
Newsgroups: comp.os.os2.programmer
Subject: Re: ALL PROGRAMMERS - Write Microsoft
Date: 24 Jan 93 23:55:36 CST
Organization: Stephen F. Austin State University

In article <AfMi9Ze00WB505H0YO@andrew.cmu.edu>, "Peter W. De Bonte" <pd2n+@andrew.cmu.edu> writes:
> 
>> ALL PROGRAMMERS!  Please do the same!  If we send enough request to 
> < the MASM division of Microsoft, perhaps they will consider us real
>> enough to be included in future releases.  They give you a postage
> < free envelope.  Just add a note (preferrably on company letterhead)
>> saying:
> 
>> "Thank you for the information concerning MASM 6.1.  However, we are
> < committed to supporting OS/2 environments.  Would you please send me
>> information on a 32 bit version of MASM supporting OS/2 2.0.  Thank
> < you."
> 
> Don't forget to put an "ATTN: Management" (or something like that) in
> the address or it will probably just be tossed out by some data entry
> sales person who doesn't want to get out of his chair to forward it.
> (People are lazy these days)
> 
> I happened to have the C/C++ w/ Win31 SDK upgrade envelope sitting
> arround so I have also sent in a letter in regards to my disapointment
> in MSC no longer supporting OS/2 development.  In it I also wrote that
> many other comp.os.os2.programmer subscribers would also be sending
> letters of decline.  Ok, this was presumptous of me, but I figure were
> all have at least similar complaints.
> 
> Please don't let your fellow OS/2 developers down with your silence!
> 
> Work hard and prosper,
> 
> Pete W. De Bonte (x4173)                    pwd+@cmu.edu 
> "Knolege is powef, Speling is unimportnt"   (but pd2n is unaceptable)

	I talked to MS about MASM 6.1, and asked specifically if it supported
OS/2? He said not OS/2 has been dropped from 6.1, but MS will still offer 6.0
with OS/2 support. BTW 6.0 DOES 32-bit!!!

I also asked about C 6.0, and MS said that they will continue to sell/support
C 6.0 for OS/2 users.

Now granted, the guy I talked to could have been wrong about future support,
but from his rapid ( yes rapid not rabid ) response, he must have heard the
question before.

Michael Kupka
From: z_kupkams@ccsvax.sfasu.edu
Newsgroups: comp.os.os2.programmer
Subject: Re: Getting Source Code View in PM debugger
Date: 21 Jan 93 22:34:45 CST
Distribution: na
Organization: Stephen F. Austin State University

In article <1993Jan22.010500.15975@samba.oit.unc.edu>, Norman.Yee@launchpad.unc.edu (Norman Yee) writes:
> 
> I'm having a problem getting the PM debugger to show me the source
> code view of a program; all that shows up is the disassembly code view.
> This is the debugger from the November PDK.
> 
> I have turned on debugging info in the linker generation options and
> compiler debug options of Workframe/2.  I have turned optimization
> off in the compiler object code options.
> 
> Anyone have any hints?
> 
>   Norm
> 
> --
>    The opinions expressed are not necessarily those of the University of
>      North Carolina at Chapel Hill, the Campus Office for Information
>         Technology, or the Experimental Bulletin Board Service.
>            internet:  laUNChpad.unc.edu or 152.2.22.80

Did you specify -Ti+ for compile
and /co /map for linker?

These are what you need to do.

Michael Kupka
From: djn@ukc.ac.uk (D.J.Neades)
Newsgroups: comp.os.os2.programmer
Subject: Wanted: Sample code for SOM colour wheel
Date: 26 Jan 93 18:52:25 GMT
Organization: Computing Lab, University of Kent at Canterbury, UK.

Has anyone got any sample code using the SOM colour wheel object?
I'd be very grateful if you'd share it with me.

BTW, why is this a SOM object, and not one of the standard dialogs?

Thanks in advance,
--
Daniel J Neades         3rd year computer science undergraduate
                        University of Kent at Canterbury, England
Newsgroups: comp.os.os2.programmer
From: shiva@well.sf.ca.us (Kenneth Porter)
Subject: Experience in programming Query-Mgr. callable inertface ?
Organization: Whole Earth 'Lectronic Link
Date: Thu, 28 Jan 1993 04:29:39 GMT

> My Problem is that my system BREAKS DOWN if I do a
> system(" ... ") call from within another c-program
> ( this one is a PM-application ) to the corresponding
> compiled EXE-file.

You probably need to use DosStartSession, if one EXE is PM and the other
is command line.
From: lansche@torolab6.VNET.IBM.COM (Martin Lansche)
Date: Tue, 26 Jan 93 13:28:26 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: Linker bombout on Nov C++ beta.
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
            <19930126.060029.42@almaden.ibm.com>

In <19930126.060029.42@almaden.ibm.com> Martin Lansche writes:
>In <1993Jan26.095812.25676@umr.edu> Charles Kincy writes:
>>OK, this has probably been asked zillions of times before,
>>but I can't find the answer anywhere, so I will have to ask it
>>again.
>>
>>When linking a program that uses the iostream library,
>>I get the following error:
>>
>>C:\IBMC\LIB\dd34sbs.lib(H:\OS2\OLDFORM.C):
>>Error L2025:  WS__FR7istream : symbol defined more than once.
>>
>>Here are my options:
>>Compiler:  -c -Oi -Fd+ -I.
>>Linker:    /NOE
>>

To everyone, my extreme, apologies.  I should have looked closer at the
message listed.  I thought the message was WS_FR7istream not found.
You obviously have the Iostream diskette.

The correct answer is to use the NOI option for linking.

Again, my apologies for misreading your original posting.

Cheers,
Martin Lansche, IBM PRGS Toronto Lab, Canada

  ________________________________________________________________________
   Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
   numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
   ----------------------------------------------------------------------
   The father made the world for elves and mortals and he gave it into
   the hands of the Lords in the West.  They are blessed, holy and loved,
   except the black one.  He has fallen.  (J.R.R. Tolkien).
  ________________________________________________________________________
From: pmuellr@vnet.ibm.com (Pat Mueller)
Date: Fri, 22 Jan 93 11:19:14 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: OS/2 Developer's Electronic Magazine

>I'm also taking suggestions for: a) a cool title, since the subject of this
>message would be way too unwieldly; and b) votes for either .txt or .inf
>format (or both for that matter.)

Assuming the articles were written with IPF markup, you can
produce view-able documents, and from VIEW you can print them
fairly nicely.  Also assuming no really complicated IPF markup, a
rexx program could be written to convert the .ipf file to a plain
text file.  Even an .ipf -> .ps converter might not be out of the
question.

Patrick Mueller                  addr:  pmuellr@vnet.ibm.com
IBM Cary, North Carolina         phone: 919-469-7242
Newsgroups: comp.os.os2.programmer
From: jturley@netcom.com (Jim Turley)
Subject: CONTRACT: OS/2 C++ LISP San Jose
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Wed, 27 Jan 1993 19:52:35 GMT


------SAN JOSE, CALIFORNIA CONTRACT -------

3-6 months contract for OS/2 C C++ capable programmer.  Will assist
research team port a Symbolics LISP-based application to OS/2 in 
C++ and C.  MUST have current OS/2 expertise.  AI would be a plus,
LISP familiarity.  But *strong* OS/2.

Contract location: San Jose.

W-2 or 1099. Sorry, no expenses, so Bay Area conractor preferable.

Send resume (plan text of RTF Format, no troff) by email here,

or FAX to (408) 741-0511.

I will be out of the office until 2/3/93. But I *will* get back with
any respondees then.

Thanks!

Newsgroups: comp.os.os2.programmer
From: joe@proto.com (Joe Huffman)
Subject: Re: Does OS/2 support Memory Mapped Files ?
Organization: FlashTek, Inc.
Date: Sun, 24 Jan 1993 20:05:28 GMT

rommel@jonas.gold.sub.org (Kai Uwe Rommel) writes:

>In article <1jo2g2INNs9e@neuro.usc.edu> merlin@neuro.usc.edu (merlin) writes:
>>Does OS/2 2.1 beta support memory mapped files for user processes?

>Not as far as I know.

You can get memory mapped files if you are using a 32-bit DOS extender
such as FlashTek's X-32VM, but that feature fails to work under OS/2.
Must your application be run under OS/2?
-- 
netcom!proto!joe
joe@proto.com
Newsgroups: comp.os.os2.programmer
From: weinkam@fraser.sfu.ca (James Lawrence Weinkam)
Subject: Re: WHY OS/2 DOESN'T SUPPORT
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Thu, 28 Jan 1993 10:02:18 GMT

john.navas@uttsbbs.uucp (John Navas)  writes:

>With all due respect, I'm afraid I don't buy that argument.  The
>shadow memory required for a standard VGA 640x480x16 graphics screen
>is only 150Kb; for SVGA 800x600x16 it's only 235Kb.  True, it's easier
>to shadow the entire video buffer, but it's not strictly necessary.
>Even so, 256Kb, which is not a very big deal, is adequate to
>virtualize standard VGA 640x480x16 graphics; i.e., 4 virtualized VGA
>graphics applications would require a total of only 1Mb of shadow
>memory.  ( yawn :)

>In fact, OS/2 allocates a full shadow buffer of up to 1Mb for every
>full-screen DOS application, so that it can save the display when that
>application is switched to the background.  So the amount of shadow
>memory is not really an important factor.

Agreed.

>Again, with all due respect I don't buy that argument.  DESQview
>virtualizes standard VGA 640x480x16 "bit plane" graphics in a window
>or in the background with acceptable performance.  If DESQview can do
>it, there's no reason OS/2 shouldn't be able to do at least as well.
>Although 640x480x16 would certainly be enough to satisfy me,
>supporting 800x600x16 wouldn't be all that much harder.

640x480x16 should not be too difficult, but I would say that 800x600x16
would be quite difficult each display card type does this in a different
way.  There is no single standard for 800x600x16.  The highest resolution
that is a VGA standard is 640x480x16.  They should however be able to
create some sort of mechanism to simulate a SVGA mode, but it would
require a lot more work.

James Weinkam
Newsgroups: comp.os.os2.programmer
From: Norman.Yee@launchpad.unc.edu (Norman Yee)
Subject: Getting Source Code View in PM debugger
Organization: University of North Carolina Extended Bulletin Board Service
Distribution: na
Date: Fri, 22 Jan 1993 01:05:00 GMT


I'm having a problem getting the PM debugger to show me the source
code view of a program; all that shows up is the disassembly code view.
This is the debugger from the November PDK.

I have turned on debugging info in the linker generation options and
compiler debug options of Workframe/2.  I have turned optimization
off in the compiler object code options.

Anyone have any hints?

  Norm

--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  laUNChpad.unc.edu or 152.2.22.80
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Newsgroups: comp.os.os2.programmer
Subject: Re: basic
Date: 27 Jan 93 01:30:12 GMT
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago

In article <1993Jan26.210637.4258@apgea.army.mil> rcmerrit@apgea.army.mil (Robert C. Merritt <rcmerrit>) writes:
>ok, sincce there doesn't appear to be an os/2 version of basic or pascal,
>and since I refuse to work in C, 
>how can I take my dos basic or pascal complier and make programs that are
>os/2 and/or PM friendly?

You cannot, but your initial premise is flawed.

There are many 16-bit OS/2 BASICs, including, would you believe,
Microsoft's, IBM's, and a few others.  There is no 32-bit BASIC for
OS/2 (yet).

There is one 32-bit Pascal for OS/2, Microway's.  There are several
16-bit versions for OS/2, including Clarion's TopSpeed Pascal (which I
use).

Get ahold of the file tinf31.zip, available via anonymous ftp from
ftp-os2.nmsu.edu -- check file /pub/os2/00Index for location.  It
lists a lot of BASIC and Pascal compilers for OS/2.

-- 
Timothy F. Sipples      | READ the OS/2 FAQ List 2.0i, 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       | [Post to ONE newsgroup only AFTER reading the List.]
From: merlin@neuro.usc.edu (merlin)
Newsgroups: comp.os.os2.programmer
Subject: Does OS/2 support Memory Mapped Files ?
Date: 21 Jan 1993 21:59:30 -0800
Organization: University of Southern California, Los Angeles, CA
NNTP-Posting-Host: neuro.usc.edu

Does OS/2 2.1 beta support memory mapped files for user processes?
I'd like to access a file of 3D brain map data as though it is one
large array in memory.  I don't want to read those portions of the
file which I don't touch.

Thanks, AJ
Organization: Wirtschaftsuniversitaet Wien, Vienna, Austria
Date: Tuesday, 19 Jan 1993 15:35:08 CET
From: FLATSCHER Rony <RONY@awiwuw11.wu-wien.ac.at>
Newsgroups: comp.os.os2.programmer
Subject: Re: How do I call batch file from REXX?

Ken:

CALLing a REXX-procedure from within REXX is straightforward:

           CALL some_rexx_proc

CALLing a non-REXX-procedure from within REXX should work as follows:

           'CALL some_non_rexx_proc'   /* note the apostrophes */

In the latter case the string is presented to CMD.EXE which itself
should call the appropriate procedure.

---rony
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: GRAPHICS
Date: 24 Jan 93 09:28:00 GMT
Article-I.D.: uttsbbs.4084.18.uupcb
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

photons@oasys.dt.navy.mil (Julie Mills) writes:

 > I need to do some graphics primitives (draw line, put pixel sortoof
 > stuff).  Can this be done with C/Set 2?  MsC6.0?  How does
 > something like Turbo c/pascal for dos or windows work under OS/2?

Both Microsoft C6 (16-bit) and IBM C Set/2 (32-bit) can be used with
the OS/2 PM graphics API functions.  Windows tools can also be used to
build Windows apps that will run either in full-screen or seamless
WIN-OS2 sessions, albeit with somewhat less power and performance than
the native OS/2 PM API.

 > Any opinions on what my best course of action might be?

That depends.  If you want to write for OS/2 only, I'd suggest you use
C Set/2 from the low-cost PDK CD-ROM.

Best regards,
John
                        
----
+------------------------------------------------------------------------+
| The Transfer Station BBS (510) 837-4610 & 837-5591 (V.32bis both lines)|
| Danville, California, USA. 400+ MB Files & FREE public Internet Access |
+------------------------------------------------------------------------+
Newsgroups: comp.os.os2.programmer
Subject: Re: Developers - Read this!
From: paulg@a1.resmel.bhp.com.au (Paul Gallagher)
Date: 22 Jan 93 17:33:31 +1000

In article <31h3spb@rpi.edu> assela@rs6108.ecs.rpi.edu (A. Andre Asselin) writes:
>sal8@po.cwru.edu (Steve Luzynski) writes:
>By any chance, would you be interested in a series on writing Installable
>File Systems?  Although its rather obscure and specialized, I've done some
>work in that area and am willing to share what I've learned....
>       - Andre Asselin   (assela@rpi.edu)

YES YES YES YES (what more can I say?)

regards