
                   comp.os.os2.programmer.misc      (Usenet)

                 Saturday, 04-Dec-1999 to Friday, 10-Dec-1999

+----------------------------------------------------------------------------+

From: lewhoo@teamos2.org.pl                             04-Dec-99 12:50:16
  To: All                                               04-Dec-99 10:37:15
Subj: MLE problem

From: Lech Wiktor Piotrowski <lewhoo@teamos2.org.pl>

Did anyone encounter a diffren MLE than a standard OS/2 one? Standard
MLE blinks everytime the text is asdded and does not suppoort multiply
colors and fonts.... Maybe anyone have an idea, how to do a new MLE (I
am a begginer programmer)?

Lech Wiktor Piotrowski
lewhoo@teamos2.org.pl

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: TeamOS/2 Poland (1:109/42)

+----------------------------------------------------------------------------+

From: c.k.christacopoulos.REMOVEME@dun...               04-Dec-99 23:19:18
  To: All                                               04-Dec-99 19:48:22
Subj: REXX function/idea needed.

Message sender: c.k.christacopoulos.REMOVEME@dundee.ac.uk

From: Charles Christacopoulos <c.k.christacopoulos.REMOVEME@dundee.ac.uk>

Hi,

Any ideas(examples) fron any rexx programmers.  I am contemplating a
simple program but before I start I have the first difficulty.  I need
to "wake up" a rexx program when a file drops in a directory.  The file
will have an unkown name but a known extention, eg. xxxxxxx.txt.

I could permanently run the cmd using syssleep, every x interval I could
check for the file etc but it may be too expensive in terms of
performance.  I am trying to understand semaphores but I am not getting
the idea if I could use a semaphore to detect if a file is in place. 
The cmd will remove the file so I am not in danger of continous loops.

Any ideas and snippets of code appreciated.

I do not mind (have I got another choice?) to have the CMD live all the
time.  


Regards
Charles

If the thing ever works I might creating my first ever public domain
program.

Remove REMOVE_ME to reply.
-------------------------------------------------------------------
Charles Christacopoulos, Secretary's Office, University of Dundee,
Dundee DD1 4HN, (Scotland) United Kingdom.
Tel: +44+(0)1382-344891. Fax: +44+(0)1382-201604.
http://somis.ais.dundee.ac.uk/    (runs on OS/2)
Scottish Search Maestro http://somis2.ais.dundee.ac.uk/ (runs on OS/2
too)

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: University of Dundee (1:109/42)

+----------------------------------------------------------------------------+

From: jpolt@bradnet.legend.co.uk                        05-Dec-99 01:49:21
  To: All                                               05-Dec-99 03:19:15
Subj: Re: REXX function/idea needed.

From: jpolt@bradnet.legend.co.uk (John Poltorak)

In <3849A188.77EFD9CA@dundee.ac.uk>, Charles Christacopoulos
<c.k.christacopoulos.REMOVEME@dundee.ac.uk> writes:
>Hi,
>
>Any ideas(examples) fron any rexx programmers.  I am contemplating a
>simple program but before I start I have the first difficulty.  I need
>to "wake up" a rexx program when a file drops in a directory.  The file
>will have an unkown name but a known extention, eg. xxxxxxx.txt.

How will this file appear, an what will give it its name?...

If this is from an incoming mail you have a lot of control over any processing
if you use something like sendmail which allows you define your own delivery
mechanism through the Mlocal and Mprogram macros - see sendmail.cf.


>I could permanently run the cmd using syssleep, every x interval I could
>check for the file etc but it may be too expensive in terms of
>performance.  I am trying to understand semaphores but I am not getting
>the idea if I could use a semaphore to detect if a file is in place. 
>The cmd will remove the file so I am not in danger of continous loops.
>
>Any ideas and snippets of code appreciated.
>
>I do not mind (have I got another choice?) to have the CMD live all the
>time.  
>
>
>Regards
>Charles
>
>If the thing ever works I might creating my first ever public domain
>program.
>
>Remove REMOVE_ME to reply.
>-------------------------------------------------------------------
>Charles Christacopoulos, Secretary's Office, University of Dundee,
>Dundee DD1 4HN, (Scotland) United Kingdom.
>Tel: +44+(0)1382-344891. Fax: +44+(0)1382-201604.
>http://somis.ais.dundee.ac.uk/    (runs on OS/2)
>Scottish Search Maestro http://somis2.ais.dundee.ac.uk/ (runs on OS/2
>too)
--
John

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Legend Internet Ltd (1:109/42)

+----------------------------------------------------------------------------+

From: c.k.christacopoulos.REMOVEME@dun...               05-Dec-99 02:17:14
  To: All                                               05-Dec-99 03:19:16
Subj: Re: REXX function/idea needed.

Message sender: c.k.christacopoulos.REMOVEME@dundee.ac.uk

From: Charles Christacopoulos <c.k.christacopoulos.REMOVEME@dundee.ac.uk>

John Poltorak wrote:
> 

> How will this file appear, an what will give it its name?...
> 
> If this is from an incoming mail you have a lot of control over any
processing
> if you use something like sendmail which allows you define your own delivery
> mechanism through the Mlocal and Mprogram macros - see sendmail.cf.

We are on the same wavelength.  Sometime ago I started by using
sendmail.cf as it is designed to call an external program.  I did 50% of
the thinking and maybe 10% of the code for a simple majordomo.  The
sendmail.cf that comes with WSeB is a pain and as I was busy I stopped
looking at that.   Since then I tried Weasel 
http://www.ee.newcastle.edu.au/users/staff/peter/Moylan.html
This is the program that drops the files in each user's directory  (in
my case a user = a mailing list or a true user although we have other
central mail services for true users).

I guess I can always go back to sendmail.
If I wanted to do a minidomo using rexx there are three areas I am
coming unstuck.
1. Getting a trigger to kick the program that will take the incoming
mail.
2. Getting REXX to send email either through weasel or our central
server (done this some ago through sendmail and  the c: prompt).
3. Convert to html and place on the web is not a problem (even clearing
rubbish out of messages).  I'll have to think how best to thread
messages.  Not every list of messages I have seen on the web is as
usable as I would like it for my "customers".

----------------------
Why do all this?  I have a big job over the next 16 months and I get
flooded with EMail.  Users don't read instructions and they all ask me
the same questions.  Ideally a web forum would solve the problem (and I
have one, ceilidh for os/2).  Some of my users do not even read email
(that is life in an academic environment)
thus a they are even more unlikely to use a forum.  If I get a mailing
list and archive all messages on the web I might be half-way towards the
21st Century.

:-)
Charles

-- 
Remove REMOVE_ME to reply.
-------------------------------------------------------------------
Charles Christacopoulos, Secretary's Office, University of Dundee,
Dundee DD1 4HN, (Scotland) United Kingdom.
Tel: +44+(0)1382-344891. Fax: +44+(0)1382-201604.
http://somis.ais.dundee.ac.uk/    (runs on OS/2)
Scottish Search Maestro http://somis2.ais.dundee.ac.uk/ (runs on OS/2
too)

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: University of Dundee (1:109/42)

+----------------------------------------------------------------------------+

From: jpolt@bradnet.legend.co.uk                        05-Dec-99 11:51:10
  To: All                                               05-Dec-99 10:37:08
Subj: Re: REXX function/idea needed.

From: jpolt@bradnet.legend.co.uk (John Poltorak)

In <3849CB38.520B0DE5@dundee.ac.uk>, Charles Christacopoulos
<c.k.christacopoulos.REMOVEME@dundee.ac.uk> writes:
>John Poltorak wrote:
>> 
>
>> How will this file appear, an what will give it its name?...
>> 
>> If this is from an incoming mail you have a lot of control over any
processing
>> if you use something like sendmail which allows you define your own
delivery
>> mechanism through the Mlocal and Mprogram macros - see sendmail.cf.
>
>We are on the same wavelength.  Sometime ago I started by using
>sendmail.cf as it is designed to call an external program.  I did 50% of
>the thinking and maybe 10% of the code for a simple majordomo.  The
>sendmail.cf that comes with WSeB is a pain and as I was busy I stopped
>looking at that.

I've been using sendmail for about five years, and while it isn't perfect, and
does have some problems, I do like its configurabilty and extensibility. I
just
wish I could get the OS/2 port of sendmail 8.9.3 working properly on my 
system...

>Since then I tried Weasel 
>http://www.ee.newcastle.edu.au/users/staff/peter/Moylan.html
>This is the program that drops the files in each user's directory  (in
>my case a user = a mailing list or a true user although we have other
>central mail services for true users).
>
>I guess I can always go back to sendmail.
>If I wanted to do a minidomo using rexx there are three areas I am
>coming unstuck.
>1. Getting a trigger to kick the program that will take the incoming
>mail.
>2. Getting REXX to send email either through weasel or our central
>server (done this some ago through sendmail and  the c: prompt).

Sendmail can be used for sending mail in an unattended fashion, so using
it in a REXX program is straight forward. I have no knowledge of weasel.

>3. Convert to html and place on the web is not a problem (even clearing
>rubbish out of messages).  I'll have to think how best to thread
>messages.  Not every list of messages I have seen on the web is as
>usable as I would like it for my "customers".

Devising rules for creating 'usable' messages sounds difficult, but if you can
do that you may find a program such a procmail is very useful for
processing incoming mail.



>
>----------------------
>Why do all this?  I have a big job over the next 16 months and I get
>flooded with EMail.  Users don't read instructions and they all ask me
>the same questions.  Ideally a web forum would solve the problem (and I
>have one, ceilidh for os/2).  Some of my users do not even read email
>(that is life in an academic environment)
>thus a they are even more unlikely to use a forum.  If I get a mailing
>list and archive all messages on the web I might be half-way towards the
>21st Century.
>
>:-)
>Charles
>
>-- 
>Remove REMOVE_ME to reply.
>-------------------------------------------------------------------
>Charles Christacopoulos, Secretary's Office, University of Dundee,
>Dundee DD1 4HN, (Scotland) United Kingdom.
>Tel: +44+(0)1382-344891. Fax: +44+(0)1382-201604.
>http://somis.ais.dundee.ac.uk/    (runs on OS/2)
>Scottish Search Maestro http://somis2.ais.dundee.ac.uk/ (runs on OS/2
>too)
--
John

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Legend Internet Ltd (1:109/42)

+----------------------------------------------------------------------------+

From: cotroneo@stny.rr.com                              05-Dec-99 15:32:17
  To: All                                               05-Dec-99 14:26:03
Subj: Re: REXX function/idea needed.

From: cotroneo@stny.rr.com

In <3849c4b6.0@katana.legend.co.uk>, jpolt@bradnet.legend.co.uk (John
Poltorak) writes:
>In <3849A188.77EFD9CA@dundee.ac.uk>, Charles Christacopoulos
<c.k.christacopoulos.REMOVEME@dundee.ac.uk> writes:
>>Hi,
>>
>>Any ideas(examples) fron any rexx programmers.  I am contemplating a
>>simple program but before I start I have the first difficulty.  I need
>>to "wake up" a rexx program when a file drops in a directory.  The file
>>will have an unkown name but a known extention, eg. xxxxxxx.txt.

I really can't think of a way to do it without having some
background process running to do the checking.

Keith Cotroneo
cotroneo@stny.rr.com

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)

+----------------------------------------------------------------------------+

From: borchert@informatik.unibw-muench...               05-Dec-99 19:29:09
  To: All                                               05-Dec-99 21:17:17
Subj: Re: REXX function/idea needed.

Message sender: borchert@informatik.unibw-muenchen.de

From: borchert@informatik.unibw-muenchen.de (Uwe Borchert)

Hi Charles,

..[...]...

>to "wake up" a rexx program when a file drops in a directory.  The file
>will have an unkown name but a known extention, eg. xxxxxxx.txt.
>
>I could permanently run the cmd using syssleep, every x interval I could
>check for the file etc but it may be too expensive in terms of
>performance.  I am trying to understand semaphores but I am not getting
>the idea if I could use a semaphore to detect if a file is in place. 
>The cmd will remove the file so I am not in danger of continous loops.
>
Okay, the firts step: You have to look for the presence of a file with
the Name *.txt. This can be done at different ways. 

- Use an endless loop with SysSleep
- Use a cron or PIM

To prevent you from accessing a locked file you can create a lookfile 
like sendmail does or you can use SysFileTree or STREAM. You can find 
an easy example (lockfile-based):

http://pc45.informatik.unibw-muenchen.de/computer/server/sendmail/mqueuer.cmd

but the description is only in german, sorry:

http://pc45.informatik.unibw-muenchen.de/computer/server/sendmail/index.htm

This is a cron-based job. Its started once a hour and uses the lockfile
created by sendmail. 

You can try the SysFileTree command and test the size. It should be 
Zero if the file is opend. Another way is the stream command. 
stream('filename.txt','S') returns a READY if the file is opend and an
UNKNOWN if the file is closed.

***********************************************************************
This is an easy example, try it!
***********************************************************************

/* */
Say 'File test.txt is open.'
call lineout 'test.txt',time()
call SysFileTree '*.*' , 'LIST.' , 'F'
do J=1 to LIST.0
   Say LIST.J
end
RC=stream('test.txt','S')
Say 'Stream returns : 'RC
call lineout 'test.txt'
Say 'File test.txt is closed.'
call SysFileTree '*.*' , 'LIST.' , 'F'
do J=1 to LIST.0
   Say LIST.J
end
RC=stream('test.txt','S')
Say 'Stream returns : 'RC
call SysSleep 1

***********************************************************************

[E:\temp]test
File test.txt is open.
12/05/99   7:27p         406  A----  E:\temp\test.cmd
12/05/99   7:27p           0  A----  E:\temp\test.txt
Stream returns : READY
File test.txt is closed.
12/05/99   7:27p         406  A----  E:\temp\test.cmd
12/05/99   7:27p          10  A----  E:\temp\test.txt
Stream returns : UNKNOWN

***********************************************************************


..[...]...
>
>I do not mind (have I got another choice?) to have the CMD live all the
>time.  
>
No, use cron or PIM insted.

Tschuesssss.....

Uwe Borchert

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: peter@seagoon.newcastle.edu.au                    06-Dec-99 02:08:19
  To: All                                               06-Dec-99 03:38:15
Subj: Re: REXX function/idea needed.

From: peter@seagoon.newcastle.edu.au (Peter Moylan)

Charles Christacopoulos <c.k.christacopoulos.REMOVEME@dundee.ac.uk> wrote:
>John Poltorak wrote:
>> 
>
>> How will this file appear, an what will give it its name?...
>> 
>> If this is from an incoming mail you have a lot of control over any
processing
>> if you use something like sendmail which allows you define your own
delivery
>> mechanism through the Mlocal and Mprogram macros - see sendmail.cf.
>
>We are on the same wavelength.  Sometime ago I started by using
>sendmail.cf as it is designed to call an external program.  I did 50% of
>the thinking and maybe 10% of the code for a simple majordomo.  The
>sendmail.cf that comes with WSeB is a pain and as I was busy I stopped
>looking at that.   Since then I tried Weasel 
>http://www.ee.newcastle.edu.au/users/staff/peter/Moylan.html
>This is the program that drops the files in each user's directory  (in
>my case a user = a mailing list or a true user although we have other
>central mail services for true users).

John has the right idea: don't check for the existence of the file,
instead look at the process that's creating the file.

If you're using Weasel, then use its "filter" facility to run a Rexx
script each time mail is received.  (It doesn't have to be Rexx, but
I'd guess that Rexx is the easiest solution for most people.)  Use
this to do a signal on a named semaphore, and write your other
script in such a way that it will be woken up by this signal.  To
be honest, I have to admit that I've never done any semaphore
operations in Rexx, but I'll bet that it's possible and that the
details are in the Rexx documentation.

>I guess I can always go back to sendmail.

You can of course do much the same thing with the Mlocal facility of
sendmail.  I personally find sendmail far too cryptic to work with,
but tastes vary.

>If I wanted to do a minidomo using rexx there are three areas I am
>coming unstuck.

A good person to talk to on this subject is Heinz Mueller,
Heinz.Mueller@os2.oss.de, who runs a mailing list on the subject
of Weasel.  He doesn't quite have a "majordomo" working yet, but
the last I heard he was making progress on it.

-- 
Peter Moylan                                         peter@ee.newcastle.edu.au
See http://eepjm.newcastle.edu.au for OS/2 information and software

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: The University of Newcastle (1:109/42)

+----------------------------------------------------------------------------+

From: csaba_r@my-deja.com                               06-Dec-99 12:57:15
  To: All                                               06-Dec-99 11:08:24
Subj: Re: Porting information request ...

From: csaba_r@my-deja.com (Csaba Raduly)

SkidMARX@att.net wrote in <1bMmtd7zwYPT-pn2-Jhfn7mWgsder@200.akron-06-
07rs.oh.dial-access.att.net>:

>Hello,
>
>I recently downloaded the "free" for private use source code for 
>IntelliCAD 2000.  It's based on Visual C++ version 6 from Microsoft.
>
>I have Watcom C++ version 11b and all corresponding Warp 4 programming
>Toolkits, including the latest update via Developer's Connection.
>
>Also, I have installed the latest daily build of Netlab's Odin 
>project.
>
>Question:
>
>Does it sound feasable to port Intellicad over to Os/2 using the tools
>I outlined?
>Is this something that would be EXTREMELY hard to do considering MS 
>Visual C++ is involved?

If it uses MFC (search for includes containing MFC/AFX), you're out of 
luck. Try to compile with Watcom in Win32-land. If it succeeds, it will 
be easier to recompile the thing in OS/2. I'm not familiar with Open32 
so I don't know how transparent is the Win32->Open32(OS/2) transition.

Csaba

-- 
-----BEGIN GEEK CODE BLOCK----- 
Version 3.1
GCS/MU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
-----END GEEK CODE BLOCK----- 

Csaba Raduly,    Software Developer (OS/2),    Sophos Anti-Virus
mailto:csaba.raduly@sophos.com            http://www.sophos.com/
US Support +1 888 SOPHOS 9            UK Support +44 1235 559933
Life is complex, with real and imaginary parts.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: SOPHOS Plc (1:109/42)

+----------------------------------------------------------------------------+

From: service@fromhungary.com                           06-Dec-99 16:25:14
  To: All                                               06-Dec-99 16:29:25
Subj: Join Budapest  4913

From: service@fromhungary.com

!!!! LIVE FROM BUDAPEST !!!!
THE  HOTTEST  SHOW  LIVE  FROM  HUNGARY BUDAPEST
http://www.sex-excess.com

FREE PICS +++ FREE PICS +++ FREE PICS +++ FREE PICS 

Join our new site with a great FREE Picture Gallery

FREE PICS +++ FREE PICS +++ FREE PICS +++ FREE PICS++++


http://www.sex-excess.com


Special ++ HOT COUPLES ++ sweet LESBIAN Girls ++ ..........

http://www.sex-excess.com ++ http://www.sex-excess.com ++
http://www.sex-excess.com

uxofsbuuudrzypvksuvrgnhsglzqqxmichwfswszovkdsyrcdmgbitzbrrfyxmvcjv

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: EuroWeb Hungary http://www.euroweb.hu (1:109/42)

+----------------------------------------------------------------------------+

From: tnewman@news.cmc.net                              07-Dec-99 01:42:16
  To: All                                               07-Dec-99 12:14:19
Subj: Would like some newbie help with MySQL

From: "Tony Newman" <tnewman@news.cmc.net>

Hello,

  I'm beginning to dabble with MySQL, but I'm having trouble putting
together a program to talk to the database engine.  I have two machines
on a small network.  One is an OS/2 machine (Warp-4 FP-11) and the
other is a Linux box (Debian slink).  I've obtained MySQL for both
machines.  I have the server (mysqld) running on the Linux machine and
am trying to write a client program on the OS/2 machine.

  I have a small program that should just connect to the server and
then disconnect (no transactions, just a "Hello Database").  It fails
with a "Bad Handshake" message.  If I run the client program that came
with the OS/2 distribution, it talks to the Linux machine just fine, so
I figure I must be doing something wrong in the one I'm trying to
write.  Nothing complains during compilation and linking.

  If someone has a simple client program they'd be willing to email me,
it might stuff enough clues in my head to get me going.  If anyone
would like to see the test program I am trying to use, let me know and
I'll post it (it's less than 40 lines long).  By the way, this is
all in plain ol' C (compiled with gcc).  I may become comfortable with
C++ some day, but for now it gives me brain cramps.

  Thank you.



     Tony Newman
     <tnewman@news.cmc.net>
     Springfield, Oregon, USA



--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Who says I'm organized! (1:109/42)

+----------------------------------------------------------------------------+

From: cbzh@my-deja.com                                  07-Dec-99 10:29:05
  To: All                                               07-Dec-99 12:14:19
Subj: Re: Porting information request ...

From: cbzh@my-deja.com

In article <8E9483800quuxi@10.1.2.158>,
  csaba_r@my-deja.com (Csaba Raduly) wrote:
> SkidMARX@att.net wrote in <1bMmtd7zwYPT-pn2-Jhfn7mWgsder@200.akron-06-
> 07rs.oh.dial-access.att.net>:
>
> >Hello,
> >
> >I recently downloaded the "free" for private use source code for
> >IntelliCAD 2000.  It's based on Visual C++ version 6 from Microsoft.
> >
> >I have Watcom C++ version 11b and all corresponding Warp 4
programming
> >Toolkits, including the latest update via Developer's Connection.
> >
> >Also, I have installed the latest daily build of Netlab's Odin
> >project.
> >
> >Question:
> >
> >Does it sound feasable to port Intellicad over to Os/2 using the
tools
> >I outlined?
> >Is this something that would be EXTREMELY hard to do considering MS
> >Visual C++ is involved?
>
> If it uses MFC (search for includes containing MFC/AFX), you're out of
> luck. Try to compile with Watcom in Win32-land. If it succeeds, it
will
> be easier to recompile the thing in OS/2. I'm not familiar with Open32
> so I don't know how transparent is the Win32->Open32(OS/2) transition.

I was curious and I also downloaded the code: It actually IS using MFC
classes all over - which means porting would be practically not feasible
in my eyes, taking into account the fact that many if not most of the
many, many source modules would have to be rewritten :-((

OTOH, Odin is a completely different thing: It would take existing Win32
code and convert it to it's OS/2 equivalent, which can even be done in
such a way that the user just starts his WinXX program under OS/2 - and
it's not an emulator! The only disadvantage here is the fact that the
project is somewhere in an alpha stage, meaning that many if not most
programs do not work yet, but this will hopefully change in the not too
far future!

Greetings,
Cornelis Bockemhl <cbockem@datacomm.ch>
Author of "PmAs - Astronomy for the Presentation Manager"
http://www.datacomm.ch/cobo

> Csaba
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version 3.1
> GCS/MU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
> V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
> -----END GEEK CODE BLOCK-----
>
> Csaba Raduly,    Software Developer (OS/2),    Sophos Anti-Virus
> mailto:csaba.raduly@sophos.com            http://www.sophos.com/
> US Support +1 888 SOPHOS 9            UK Support +44 1235 559933
> Life is complex, with real and imaginary parts.
>


Sent via Deja.com http://www.deja.com/
Before you buy.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Deja.com - Before you buy. (1:109/42)

+----------------------------------------------------------------------------+

From: c.k.christacopoulos.REMOVEME@dun...               07-Dec-99 12:07:24
  To: borchert@informatik.unibw-muenche..               07-Dec-99 12:14:19
Subj: Re: REXX function/idea needed.

Message sender: c.k.christacopoulos.REMOVEME@dundee.ac.uk

To: Uwe Borchert <borchert@informatik.unibw-muenchen.de>
From: Charles Christacopoulos <c.k.christacopoulos.REMOVEME@dundee.ac.uk>

Uwe Borchert wrote:
> 
> Hi Charles,
> 
> 
> - Use an endless loop with SysSleep
> - Use a cron or PIM
> 
> To prevent you from accessing a locked file you can create a lookfile
> like sendmail does or you can use SysFileTree or STREAM. You can find
> an easy example (lockfile-based):
> 
>
http://pc45.informatik.unibw-muenchen.de/computer/server/sendmail/mqueuer.cmd
> 
> but the description is only in german, sorry:
> 
> http://pc45.informatik.unibw-muenchen.de/computer/server/sendmail/index.htm
> 
> This is a cron-based job. Its started once a hour and uses the lockfile
> created by sendmail.
> 
> 
> Tschuesssss.....
> 
> Uwe Borchert

Thanks.  I could do what you suggest with syssleep but my first choice
was a cron to look out for a file as a semaphore, then I thought if I
could get rexx to look for the same semaphore.  There have been a few
useful suggestions.  I am going to look at two existing packages and see
if I can make them work.  If not, I will have to do it in rexx.

Thanks
Charles

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: University of Dundee (1:109/42)

+----------------------------------------------------------------------------+

From: frank_mckenney@mindspring.com                     07-Dec-99 17:17:08
  To: All                                               07-Dec-99 16:53:19
Subj: OS/2 programming 

From: frank_mckenney@mindspring.com (Frank McKenney)

 [ My apologies for the "re-"posting... I left some stuff off, I forgot 
   to add a new Subject: when we went out-of-thread, and forgot to set a
    Followup-To line, now set to comp.os.os2.programmer.misc ]

In <82h0sr$pai$1@nnrp1.deja.com>, Bill "Wild Willy" Kredentser
<wwilly@one.net> writes:
>In article <82fq2g$1bo9$1@thoth.cts.com>,
--snip--
>> The underlying technology is makefiles, so you
>> can edit them directly, then double-click them to
>compile
>> (rather than have OS/2 do it all for you).
>
>Now this is what I'm talking about.  That sentence is
>complete greek to me.  I haven't the FAINTEST idea
>what you just said.  I've seen the term MAKEFILE
>before.  I DON'T GET IT.  I'm looking for a pointer
>to a . . . dictionary of terms, if you will . . . a
>translation of things like system linklib, load
>module libraries, STEPLIB, SYS1.PARMLIB, you know,
>MAINFRAME concepts.

Will,

I can't offer the pointer you're looking for, but I can give you the 
beginnings of a framework for all of it.

First problem is that you're trying to learn how to use...  well,
imagine you've never used a mainframe before, you don't know COBOL, and
you're trying to use a third-party COBOL-based tool to develop CICS
applications.  ANY question you might ask could involve information
related to:

  - Your application - what you _want_ to do.
  - The app builder software, how it installs, what it will do for you 
    and what it won't.
  - COBOL programming, and the mainframe's particular COBOL compiler.
  - Any COBOL subroutine libraries used by the company.
  - The company's database manager (DB/2? Something else), its access 
    routines, the company naming and database organization standards.
  - CICS concepts: getting information from a terminal, 
    accessing "the" database manager.
  - Getting source code compiled: how to invoke the compiler, how to 
    tell it where your source code is, and where it should put the 
    result.
  - _Creating_ your source code: learning The Editor (which one?).
  - The development environment: TSO? somethign else?
  - Oh, and JCL! How could I forget JCL!

I've probably left some areas out, but I think you get the idea -
there's a lot to learn, and many of the answers you get are likely, at
the beginning, to sound like nonsen...  er, assume a lot of knowledge
you don't have yet (;-). (Riiiight! _What's a SYSLIB???)

Okay, a framework.

A bare-bones "C" program for command-line execution (e.g. the console 
version of the traditional "Hello, world" program) starts as an ASCII 
text file. You can use E.EXE or EPM.EXE to create it, and it will have a
file name (e.g. d:\mypgms\hello1.c)

You would then provide this file as input to the C compiler, which would
create an "object file" (same concept as S/370 object code) and it will
also have a name (e.g.  d:\mypgms\hello1.obj).

You provide this object file to a linker (EXE file creator, again, much
like S/370). The linker combines this with the library subroutines 
you've referenced in your code, from a default set of object code 
libraries plus others if you need them to produce the EXE file (e.g. 
d:\mypgms\hello1.exe). The OS/2 linker also wants something called a 
"resource definition file" so the linker knows, for example, if the 
result needs to run in both OS/2 and DOS ("family mode app").

Okay, compilers have comand-line supplied options, stuff like:

     /Sp1 /Ss /Ti /Ft- /C

You _don't_ want to try to remember these (;-), so you set up a .CMD 
file to call the compiler:

   @Rem /Tm to use debugging versions of malloc() etc.                         
   
   icc /Sp1 /Ss /Fl+ /Fa+ /Ti /Ft- /C j:\fd-util\fd-util.c                     
   
   @Rem /pmtype vio                                                            
   
   icc.exe /nologo /B" /debug /st:32768 /nologo /m /l"  /Fefd-util.exe 
            /Fm"fd-util

Okay so far? There are some implicit assumptions here, such as PATH 
including the directory for icc.exe and LIBPATH containing the 
directory for hte compiler's DLLs, and so forth.

Eventually, as you move on in your programming, you find you've built a
program large enough (e.g.  more than 40 lines long (;-)) that you want
to split up, compile each module separately (but only as needed), and
then join into your final EXE.  This is where a "makefile" (term from
UNIX environment) cones in; it's a script file in an arcane "language"
fed to a program called "make" (NMAKE.EXE for VA/C++) which then invokes
the compiler and linker as required.

For S/370 SVCs (Supervisor Calls) and "System Macros", think DLLs 
(Dynamic Link Libraries, a.k.a. executable-code-outside-your-exe).

The C/C++ libraries will let you do file I/O (e.g.  printf()), but when
you get bored with working in a "TTY" window and decide to try out some
of the Presentation Manager features (e.g. windows, fonts, dialog 
boxes), I'll recommend Stefano Maruzzi's "OS/2 2.1 Workplace Shell 
Programming".

And, for a good place to get advice on programming in the OS/2
environment, stop by the comp.os.os2.programmer.* newsgroups.

You _can_ use VA/C++ as a command-line C/C++ development environment...
it's just not the one the documentation concentrates on.  All that GUI
stuff is to help you out when you want to develop GUI-based apps with
features like drag-and-drop, and client-server GUI applications. For 
someone already familiar with programming for (say) OS/2's WPS, it's 
handy... but probably overkill for you. Look in your docs for words like 
"command line" and "console".

There's a _lot_ more to all this, but maybe this is enough to get you
started.  You have my sympathy - I remember what it was like several
deca...  er, "a while back" trying to learn punched cards, JCL, linkage
conventions, OS/370 "system calls", and ASMF syntax and "macros" all at
the same time, not to mention how to brib...  er, encourage the system
operators to get one's program run quickly.

Hope this helps a bit.


Frank McKenney, McKenney Associates
Richmond, Virginia / (804) 320-4887
E-mail: frank_mckenney@mindspring.com

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: McKenney Associates (1:109/42)

+----------------------------------------------------------------------------+

From: sbowring+nospam@mpc-data.co.uk                    07-Dec-99 17:39:04
  To: All                                               07-Dec-99 16:53:19
Subj: Java without PM?

From: "Simon Bowring" <sbowring+nospam@mpc-data.co.uk>

I am interested in providing a Java application environment 
on an "embedded PC" (for a homebrew robotics project). Ideally 
I do not want to run too much "extra crap" like a GUI!

The only options I am currently aware of is to use 
OS/2 or Linux as the base OS.

Can anyone tell me if it's possible to host Java on OS/2
without running PM?

Obviously I would prefer to hear from anyone who has actually
tried doing this, but I am also interested in all those
standard usenet reponses that begin with "You could try..."!

Email replies appreciated (but adjust the email address please).

TIA

Simon Bowring


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: MPC Data Limited (1:109/42)

+----------------------------------------------------------------------------+

From: kenames@earthlink.net                             07-Dec-99 17:48:29
  To: All                                               07-Dec-99 16:53:19
Subj: Re: Porting information request ...

From: kenames@earthlink.net

On Fri, 3 Dec 1999 20:43:52, SkidMARX@att.net wrote:

> Hello,
> 
> I recently downloaded the "free" for private use source code for 
> IntelliCAD 2000.  It's based on Visual C++ version 6 from Microsoft.
<snip> 
So where can this src be found so I can look through it?

Ken


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: EarthLink Network, Inc. (1:109/42)

+----------------------------------------------------------------------------+

From: mamodeo@stny.rr.com                               07-Dec-99 12:59:19
  To: All                                               07-Dec-99 16:53:19
Subj: Re: Porting information request ...

From: Marty <mamodeo@stny.rr.com>

cbzh@my-deja.com wrote:
> 
> In article <8E9483800quuxi@10.1.2.158>,
>   csaba_r@my-deja.com (Csaba Raduly) wrote:
> > SkidMARX@att.net wrote in <1bMmtd7zwYPT-pn2-Jhfn7mWgsder@200.akron-06-
> > 07rs.oh.dial-access.att.net>:
> >
> > >Hello,
> > >
> > >I recently downloaded the "free" for private use source code for
> > >IntelliCAD 2000.  It's based on Visual C++ version 6 from Microsoft.
> > >
> > >I have Watcom C++ version 11b and all corresponding Warp 4
> programming
> > >Toolkits, including the latest update via Developer's Connection.
> > >
> > >Also, I have installed the latest daily build of Netlab's Odin
> > >project.
> > >
> > >Question:
> > >
> > >Does it sound feasable to port Intellicad over to Os/2 using the
> tools
> > >I outlined?
> > >Is this something that would be EXTREMELY hard to do considering MS
> > >Visual C++ is involved?
> >
> > If it uses MFC (search for includes containing MFC/AFX), you're out of
> > luck. Try to compile with Watcom in Win32-land. If it succeeds, it
> will
> > be easier to recompile the thing in OS/2. I'm not familiar with Open32
> > so I don't know how transparent is the Win32->Open32(OS/2) transition.
> 
> I was curious and I also downloaded the code: It actually IS using MFC
> classes all over - which means porting would be practically not feasible
> in my eyes, taking into account the fact that many if not most of the
> many, many source modules would have to be rewritten :-((
> 
> OTOH, Odin is a completely different thing: It would take existing Win32
> code and convert it to it's OS/2 equivalent, which can even be done in
> such a way that the user just starts his WinXX program under OS/2 - and
> it's not an emulator! The only disadvantage here is the fact that the
> project is somewhere in an alpha stage, meaning that many if not most
> programs do not work yet, but this will hopefully change in the not too
> far future!

The Odin DLLs can also be used by native OS/2 apps to implement common
Win32 controls and interfaces which are not directly equivalent to those
normally present in OS/2.  This makes porting apps a bit easier.  You
don't need to run the PE2LX converter in order to take advantage of Odin
for porting apps.

- Marty

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: IBM Global Services North -- Burlington, Vermont,
(1:109/42)

+----------------------------------------------------------------------------+

From: myself@pbn.dp.ua                                  07-Dec-99 20:57:12
  To: All                                               07-Dec-99 16:53:19
Subj: !16-bit <-> 32-bit

From: Ivan Klimenko <myself@pbn.dp.ua>

Hi !

	I need develop some 16-bit app (.DLL). This app should work
over standart IBM TCPIP (current version is 32-bit). Can somebody help
me ? May be some link or code-sample ?
I try use Watcom C 10.6 and MSC 6.0 (Anybody can teach me write DLL 
using MSC 6.0 (16-bit) ?)

-- 

Ivan Klimenko   [Team OS/2]
e-mail:         myself@pbn.dp.ua
net-mail:       2:464/69.11@fidonet, 2:464/27.26@fidonet
ccmail:         Ivan Klimenko at Privat-Nikopol


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: PrivatBank, Nikopol Branch (1:109/42)

+----------------------------------------------------------------------------+

From: peter@seagoon.newcastle.edu.au                    07-Dec-99 23:15:09
  To: All                                               07-Dec-99 21:27:02
Subj: Re: tcp/ip programming

From: peter@seagoon.newcastle.edu.au (Peter Moylan)

Jeff Proefrock <jeffp@isdwhq.com> wrote:

>This is a multi-part message in MIME format.

Just in passing: some of us find those vcards terribly irritating.  It
would be a good idea to see whether your newsreader has a way of
not adding MIME attachments to newsgroup postings.

>I'm trying to write a program using Visual Age C++ v 3.0, TCP/IP Version
>2.0 for OS/2 Programmer's Toolkit.  I'm using socket calls to
>communicate to a remote device.  I can connect to the address/port, but
>it occasionally hangs while I'm trying to receive (recv) information
>from the remote device.  Is there any way to set a timeout on the recv?
>I've tried using setsockopt(), but after further reading it doesn't
>support the SO_RCVTIMEO anymore.

You're right, the receive timeouts don't work.  Luckily, timeouts do
seem to work on a select() call, so a workaround for the problem is to
put a select() before the recv().

-- 
Peter Moylan                                         peter@ee.newcastle.edu.au
See http://eepjm.newcastle.edu.au for OS/2 information and software

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: The University of Newcastle (1:109/42)

+----------------------------------------------------------------------------+

From: stefanj@gte.net                                   08-Dec-99 00:55:07
  To: All                                               07-Dec-99 21:27:02
Subj: Re: Joystick Device Driver Contest Update #6

From: Jason Stefanovich <stefanj@gte.net>


Jason Stefanovich wrote:

> The prizes for the winner has gone up to $290 + prizes.
> That brings the value for the winner of this contest to
> over $350.  It's not too late to get started now!  Contest
> ends on December 31st.  Do something productive this
> holiday season instead of just getting fat on turkey and
> egg-nog!  :-)
>
> Write your own joystick device driver for OS/2 and you could win
> $290 + valuable prizes and earn the respect and gratitude of OS/2
> gamersaround the world! With the many new games available and the
> advance of game controllers there arises a need for a better joystick
> device driver than IBM's advanced joystick device driver. Support for
> new controller features, such as 8+ buttons or USB support, will greatly
>
> enhance the OS/2 gaming experience for gamers as well as developers.
>
> For rules and other information check out:
>
>   http://home1.gte.net/stefanj/contest.htm
>
> I am looking for additional sponsors for this contest. If you would
> like to contribute please go to:
>
>   http://home1.gte.net/stefanj/sponsor.htm
>
> Any questions can be sent to me at Stefanj@gte.net

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Origin Line 1 Goes Here (1:109/42)

+----------------------------------------------------------------------------+

From: cwr@cts.com                                       08-Dec-99 03:19:21
  To: All                                               08-Dec-99 03:27:26
Subj: Re: Java without PM?

From: Will Rose <cwr@cts.com>

Simon Bowring <sbowring+nospam@mpc-data.co.uk> wrote:
: I am interested in providing a Java application environment 
: on an "embedded PC" (for a homebrew robotics project). Ideally 
: I do not want to run too much "extra crap" like a GUI!

: The only options I am currently aware of is to use 
: OS/2 or Linux as the base OS.

: Can anyone tell me if it's possible to host Java on OS/2
: without running PM?

: Obviously I would prefer to hear from anyone who has actually
: tried doing this, but I am also interested in all those
: standard usenet reponses that begin with "You could try..."!

If you want something smalll, portable and embeddable I think I'd
look at Python first.  www.python.org has some notes on a cut-down
version of the Python compiler/interpreter which was built with
the GNU toolchain for a 256K (32-bit) system.  Python ended up
around 128K.

Python's a nice language, easy to learn, available on most platforms
and well-documented (included two Nutshell Handbooks).  Best of all
for embedded systems, it's easy to inter-operate Python and C; each
can call the other.


Will
cwr@crash.cts.com

well with

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: CTS Network Services (1:109/42)

+----------------------------------------------------------------------------+

From: cbzh@my-deja.com                                  08-Dec-99 09:53:26
  To: All                                               08-Dec-99 10:20:01
Subj: Re: Porting information request ...

From: cbzh@my-deja.com

In article <384D4B0B.1B675C21@stny.rr.com>,
  Marty <mamodeo@stny.rr.com> wrote:
>
[...]
>
> The Odin DLLs can also be used by native OS/2 apps to implement common
> Win32 controls and interfaces which are not directly equivalent to
those
> normally present in OS/2.  This makes porting apps a bit easier.  You
> don't need to run the PE2LX converter in order to take advantage of
Odin
> for porting apps.
>
> - Marty
>

I didn't think about this possibility: Interesting indeed!

Cornelis Bockemhl <cbockem@datacomm.ch>



Sent via Deja.com http://www.deja.com/
Before you buy.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Deja.com - Before you buy. (1:109/42)

+----------------------------------------------------------------------------+

From: cbzh@my-deja.com                                  08-Dec-99 10:33:07
  To: All                                               08-Dec-99 10:20:01
Subj: Re: OS/2 programming 

From: cbzh@my-deja.com

In article <82jfes$qv3$1@nntp9.atl.mindspring.net>,
  frank_mckenney@mindspring.com wrote:
>
 <<<snip>>>
>
> Eventually, as you move on in your programming, you find you've built
a
> program large enough (e.g.  more than 40 lines long (;-)) that you
want
> to split up, compile each module separately (but only as needed), and
> then join into your final EXE.  This is where a "makefile" (term from
> UNIX environment) cones in; it's a script file in an arcane "language"
> fed to a program called "make" (NMAKE.EXE for VA/C++) which then
invokes
> the compiler and linker as required.

...and here comes the point where _I_ had my terminology problems when
starting to use VAC++ (...but you can have the same problem elsewhere of
course!):

- You call "make" or "nmake" from the command line or press the "make"
button in the Workframe to start "making" your application, i.e.
nmake.exe reads the file called "makefile" and compiles, links etc.
everything where the input file is older than the defined output file
(i.e. blabla.c is newer than blabla.obj starts the compiler)
automatically, as said above.

- But what on earth does now the "build" button? From my knowledge of
the english language this should be more or less the same?! What I then
found out it actually does is one step more than the above: It first
creates the "makefile" and then does the make procedure with the newly
created makefile, so you don't even need to learn its "arcane language"
(although I preferred to do it anyway...). In order to create the
makefile (using a program called "makemake") it used the information you
provide when going to the "tools settings" in the Workframe, for the
compiler, linker, etc..

So if you want to create your own project from scratch, "build" would be
the right way to create an executable, after having provided the
necessary settings in the "tools" window. But if you get a complete set
of source files together with a "makefile" from somewhere else you
better don't touch the "build" button but only use the "make" button
instead!

A second point is about the step from console applications to graphical
user interface (GUI) apps. The steps that seem the logical ones to me
are:

1. Try to find an introduction to the architecture of the OS/2
Presentation Manager where you will learn the concept of the "window
functions", i.e. functions that are part of your application, but called
by the operating system - an entirely different way of thinking for the
programmer than what you might be used to.

2. Do some simple PM programming in C, where you explicitly have to
provide and these "window functions" yourself.

3. Possibly you now want to switch to C++ where all this can again be
hidden in "class libraries".

I think there must be still books around about these issues, but the one
I have is 1. old and 2. in german, so I might not be the right person to
give you any advice here!

No idea if this is any additional useful information for you, but these
basic things are actually almost never explained anywhere I know, so I
just added to my "pre-poster"!

Greetings,
Cornelis Bockemhl <cbockem@datacomm.ch>

PS: I don't want to tell you the story about how I had to find out what
on earth a "file" is, many, many years ago...


Sent via Deja.com http://www.deja.com/
Before you buy.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Deja.com - Before you buy. (1:109/42)

+----------------------------------------------------------------------------+

From: reddy_bnNOreSPAM@yahoo.com.invalid                08-Dec-99 08:01:24
  To: All                                               08-Dec-99 14:48:04
Subj: Loading a new PMMERGE.DLL

From: bnreddy <reddy_bnNOreSPAM@yahoo.com.invalid>

I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
How do I do it with locked files? Or is there a better way of doing it?

BNR


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: http://www.remarq.com: The World's Usenet/Discuss
(1:109/42)

+----------------------------------------------------------------------------+

From: sbowring+nospam@mpc-data.co.uk                    08-Dec-99 16:10:08
  To: All                                               08-Dec-99 14:48:04
Subj: Re: Java without PM?

From: "Simon Bowring" <sbowring+nospam@mpc-data.co.uk>

>: I am interested in providing a Java application environment 

>If you want something smalll, portable and embeddable I think I'd
>look at Python first.

Thanks, but I asked about Java.

Simon Bowring


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: MPC Data Limited (1:109/42)

+----------------------------------------------------------------------------+

From: blaschke@us.ibm.com                               08-Dec-99 10:39:01
  To: All                                               08-Dec-99 14:48:04
Subj: Re: Loading a new PMMERGE.DLL

From: Dave Blaschke <blaschke@us.ibm.com>


bnreddy wrote:

> I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
> How do I do it with locked files? Or is there a better way of doing it?

Well if you just have the one DLL to replace (in other words it's not part of
package that can/should be installed) then start by rebooting your system.  As
soon as you see the little bar with the OS/2 in the upper-left corner type
Alt-F1.  When the menu comes up select F2 to get a command line. When the
command line comes up change to the \os2\dll directory and replace the DLL. 
I'd
save the old one (i.e. rename it to pmmerge.old or something) just for kicks
until you're sure the new one works.  When done replacing, type exit and
you're
on your way...

>
>
> BNR
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!



--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: IBM Austin (1:109/42)

+----------------------------------------------------------------------------+

From: ilya@math.ohio-state.edu                          08-Dec-99 17:28:16
  To: All                                               08-Dec-99 16:40:13
Subj: Re: Loading a new PMMERGE.DLL

From: ilya@math.ohio-state.edu (Ilya Zakharevich)

[A complimentary Cc of this posting was sent to Dave Blaschke 
<blaschke@us.ibm.com>],
who wrote in article <384E89A6.9E4ED6D8@us.ibm.com>:
> > I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
> > How do I do it with locked files? Or is there a better way of doing it?
> 
> Well if you just have the one DLL to replace (in other words it's not part
of
> package that can/should be installed) then start by rebooting your system. 
As
> soon as you see the little bar with the OS/2 in the upper-left corner type
> Alt-F1.  When the menu comes up select F2 to get a command line. When the
> command line comes up change to the \os2\dll directory and replace the DLL.  
I'd
...

Why would not

  emxupd x:/os2/new/PMMERGE.DLL x:/os2/dll/PMMERGE.DLL

followed by reboot do it?

Ilya

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Department of Mathematics, The Ohio State Univers
(1:109/42)

+----------------------------------------------------------------------------+

From: reddy_bnNOreSPAM@yahoo.com.invalid                08-Dec-99 10:01:11
  To: All                                               08-Dec-99 16:40:13
Subj: Re: Loading a new PMMERGE.DLL

From: bnreddy <reddy_bnNOreSPAM@yahoo.com.invalid>

Dave,

Sorry that I wasnt more specific. We need to do it without manual
interaction i.e. by just excuting a command. What is emxupd by the way.
Where can I get this utility?

BNR


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: http://www.remarq.com: The World's Usenet/Discuss
(1:109/42)

+----------------------------------------------------------------------------+

From: jasper.dekeijzer@worldonline.nl                   08-Dec-99 19:59:09
  To: All                                               08-Dec-99 19:54:20
Subj: TCPIP Samples

From: jasper <jasper.dekeijzer@worldonline.nl>

Dear developer,

I few years ago I had nice TCP/IP samples together with my TCP/IP
developers kit. I lost the diskettes but fortunatly I found all the
headerfiles and libs on the Warp 4.0 CD. But the problem is that there
are no samples coming on the CD. Can someone zip them up and email them
to me?

Thanks in advance,
Jasper de Keijzer
http://home-5.worldonline.nl/~jdekeij


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: WorldOnline News server (1:109/42)

+----------------------------------------------------------------------------+

From: pfitzsim@NOSPAMBASTARDS!home.com                  08-Dec-99 20:09:00
  To: All                                               08-Dec-99 19:54:20
Subj: Re: Loading a new PMMERGE.DLL

From: Peter Fitzsimons <pfitzsim@NOSPAMBASTARDS!home.com>

bnreddy wrote:
> 
> I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
> How do I do it with locked files? Or is there a better way of doing it?
> 

#define INCL_DOS
#define INCL_NOPMAPI
#include <os2.h>
#include <stdio.h>

APIRET APIENTRY DosReplaceModule(PSZ pszOldModule, PSZ pszNewModule,
				  PSZ pszBackupModule);

 /*
  * When a DLL or EXE file is in use by the system, the file is locked.
It can
  * not therefore be replaced on the harddisk by a newer copy. This API
is to
  * allow the replacement on the disk of the new module whilst the
system
  * continues to run the old module. The contents of the file
pszOldModule are
  * cached by the system, and the file is closed. A backup copy of the
file is
  * created as pszBackupModule for recovery purposes should the install
  * program fail. The new module pszModule takes the place of the
original
  * module on the disk.
  * 
  * 
  * Note - the system will continue to use the cached old module until
all
  * references to it are released. The next reference to the module will
cause
  * a reload from the new module on disk.
  * 
  * Note - only protect mode executable files can be replaced by this
API. This
  * can not be used for DOS/Windows programs, or for data files.
  * 
  * Note - pszNewModule and pszBackupModule may be NULL pointers.
  * 
  * Note - this API uses the swap file to cache the old module. This API
is
  * expensive in terms of disk space usage.
  * 
  * 
  * 
  * It is located at DOSCALLS.417. Unlike some of the other undocumented
APIs,
  * this function IS defined in \toolkit\lib\os2386.lib,  so you
probably
  * won't have to import it in your *.DEF file.
  * 
  */

int main(int argc, char **argv)
{
    APIRET rc;

    if (argc != 4) {
	printf("Usage: <OldDll> <NewDll> <BackupDll>\n");
	return 1;
    }
    rc = DosReplaceModule(argv[1], argv[2], argv[3]);
    if (rc) {
	printf("error %d\n", rc);
    }
    return rc;
}

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: @Home Network Canada (1:109/42)

+----------------------------------------------------------------------------+

From: blaschke@us.ibm.com                               08-Dec-99 15:47:25
  To: All                                               08-Dec-99 21:21:26
Subj: Re: Loading a new PMMERGE.DLL

From: Dave Blaschke <blaschke@us.ibm.com>


bnreddy wrote:

> Dave,
>
> Sorry that I wasnt more specific. We need to do it without manual
> interaction i.e. by just excuting a command. What is emxupd by the way.
> Where can I get this utility?

Sorry, I am not familiar with and don't use EMX, so I described the way a
usercould do it without using any tools because I was not aware you needed to
replace it without manual interaction...

>
>
> BNR
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!



--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: IBM Austin (1:109/42)

+----------------------------------------------------------------------------+

From: hei@hatespam.norman.no                            09-Dec-99 08:01:06
  To: All                                               09-Dec-99 05:20:03
Subj: Re: Java without PM?

From: hei@hatespam.norman.no (Harald Eilertsen)

On Tue, 7 Dec 1999 17:39:08, "Simon Bowring" 
<sbowring+nospam@mpc-data.co.uk> wrote:

> Can anyone tell me if it's possible to host Java on OS/2
> without running PM?

I see no reason why it shouldn't. Java itself is not bound to a 
graphical UI (or a UI at all for that matter). A simple way to test is
to create a small character mode java application, and use pstat to 
see if the jvm process loads any PM DLL's when run.

Good luck!
--
Harald Eilertsen
Norman Data Defence Systems
http://www.norman.no/

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Norman Data Defence Systems (1:109/42)

+----------------------------------------------------------------------------+

From: hei@hatespam.norman.no                            09-Dec-99 08:19:26
  To: All                                               09-Dec-99 05:20:03
Subj: Re: Loading a new PMMERGE.DLL

From: hei@hatespam.norman.no (Harald Eilertsen)

On Wed, 8 Dec 1999 16:01:48, bnreddy 
<reddy_bnNOreSPAM@yahoo.com.invalid> wrote:

> I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
> How do I do it with locked files? Or is there a better way of doing it?

Check out this one from the redbook site (http://www.redbooks.ibm.com/
or something I think.)

OS/2 Installation Techniques:
The CID Guide
Document Number SG24-4295-01

It documents the Locked files handling.

Take Care!
--
Harald Eilertsen
Norman Data Defence Systems
http://www.norman.no/

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Norman Data Defence Systems (1:109/42)

+----------------------------------------------------------------------------+

From: jpolt@bradnet.legend.co.uk                        09-Dec-99 10:28:28
  To: All                                               09-Dec-99 10:23:11
Subj: Re: Loading a new PMMERGE.DLL

From: jpolt@bradnet.legend.co.uk (John Poltorak)

In <09920fb9.04cb534a@usw-ex0101-004.remarq.com>, bnreddy
<reddy_bnNOreSPAM@yahoo.com.invalid> writes:
>I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
>How do I do it with locked files? Or is there a better way of doing it?

I am having problems with PMMERGE.DLL - just wondered where you got
your version as it may sort things out for me as well...

>BNR
>
>
>* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
>The fastest and easiest way to search and participate in Usenet - Free!
>
--
John

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Legend Internet Ltd (1:109/42)

+----------------------------------------------------------------------------+

From: jpolt@bradnet.legend.co.uk                        09-Dec-99 10:30:16
  To: All                                               09-Dec-99 10:23:11
Subj: Re: Loading a new PMMERGE.DLL

From: jpolt@bradnet.legend.co.uk (John Poltorak)

In <82m4g1$qkg$1@charm.magnus.acs.ohio-state.edu>, ilya@math.ohio-state.edu
(Ilya Zakharevich) writes:
>[A complimentary Cc of this posting was sent to Dave Blaschke 
><blaschke@us.ibm.com>],
>who wrote in article <384E89A6.9E4ED6D8@us.ibm.com>:
>> > I have a new PMMERGE.DLL that I need to install on a OS/2 workstation.
>> > How do I do it with locked files? Or is there a better way of doing it?
>> 
>> Well if you just have the one DLL to replace (in other words it's not part
of
>> package that can/should be installed) then start by rebooting your system.  
As
>> soon as you see the little bar with the OS/2 in the upper-left corner type
>> Alt-F1.  When the menu comes up select F2 to get a command line. When the
>> command line comes up change to the \os2\dll directory and replace the DLL. 
 I'd
>....
>
>Why would not
>
>  emxupd x:/os2/new/PMMERGE.DLL x:/os2/dll/PMMERGE.DLL

If this works....

>followed by reboot do it?

.. why would you need a reboot?

>Ilya

--
John

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Legend Internet Ltd (1:109/42)

+----------------------------------------------------------------------------+

From: cbzh@my-deja.com                                  09-Dec-99 09:09:25
  To: All                                               09-Dec-99 10:23:11
Subj: Show/print uninstalled fonts

From: cbzh@my-deja.com

I post this to *.programmer as well as to ".apps, because I am asking
either for an existing application or for hints about programming
something myself!

What I would like is a little program that lets me choose a number of
font files (ATM or TT) and print examples of them all so I could get an
easy overview of the one or other font collection.

I have found "ShowFont" so far and tried it already several times, but I
must say I hate the way it is crippled in the demo version: I cannot
even try it out because even the file dialogs are crippled so that I
cannot get to the directories where the files to look at reside! And if
I want to print something it just crashes! I have many shareware
programs paid and registered, even if they only halfway fit my needs,
but this is something I really have problems with: The demo unusable and
crashing and I should then hope that the registered version is better??

So far about existing apps (or the one app) I know about: Are there
others, for free or as a not too expensive shareware?

If not I am coming to part 2: Do-it-yourself...

I did some graphics programming already for my Astronomy software (see
below), also with fonts and including printing; I even created my own
Astro fonts with Corel Draw 5 (WinOS2), installed and used them in my
programs.

However, I did not find an API function that allows me to load and use a
not-installed ATM or TT file: GpiLoadFont seems to only load bitmap
fonts (*.FON).

Of course I could install the fonts temporarily, use them and
immediately deinstall them, but also this doesn't seem to be documented
in my VAC++ 3.08 docs (containing a Warp 3 toolkit). Could I just enter
a key with the filename into OS2.INI in the PM_Fonts section (where all
the installed fonts seem to be "registered"), use it and delete the
key afterwards? Doesn't look like a "nice" solution to me, but if
nothing else exists: Why not...?

ShowFont seems to do some really strange things with the PM, because
after the crash many other windows had problems being repainted: This
could be due to the programmer really had to do some dirty tricks to get
uninstalled fonts displayed or it's just part of the crippling of the
demo version - where most of the programming seems to have gone into, as
it seems... Sorry about this kind of negative comments, but I had to get
rid of these impressions somewhere :-)

Thanks for any hints and greetings,
Cornelis Bockemhl <cbockem@datacomm.ch>
Author of "PmAs - Astronomy for the Presentation Manager"
http://www.datacomm.ch/cobo


Sent via Deja.com http://www.deja.com/
Before you buy.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Deja.com - Before you buy. (1:109/42)

+----------------------------------------------------------------------------+

From: hei@hatespam.norman.no                            09-Dec-99 11:11:04
  To: All                                               09-Dec-99 10:23:11
Subj: Re: Show/print uninstalled fonts

From: hei@hatespam.norman.no (Harald Eilertsen)

On Thu, 9 Dec 1999 09:09:50, cbzh@my-deja.com wrote:

> What I would like is a little program that lets me choose a number of
> font files (ATM or TT) and print examples of them all so I could get an
> easy overview of the one or other font collection.

Have a look at FontFolder. You'll find it at hobbes.

Take Care!
-- 
Harald!

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Norman Data Defence Systems (1:109/42)

+----------------------------------------------------------------------------+

From: mc6530@mclink.it                                  09-Dec-99 18:31:20
  To: All                                               09-Dec-99 15:31:04
Subj: Re: Porting information request ...

From: mc6530@mclink.it (Yuri Dario)

On Fri, 3 Dec 1999 20:43:52, SkidMARX@att.net wrote:

> Does anyone know whether the Odin project would be helpful with this 
> port?

probably it is the best way: IntelliCAD sources makes heavy use of 
MFC, so removing that code should be a big work. Instead using ODIN32 
you can simply recompile sources because you will get a Win32 
compatible enviroment with same headers&libs.

The drawback is that nobody has compiled an MFC application until now,
so maybe it doesn't work. But the emulation layer is going better 
every day, so this is the simpliest way to go.

Bye,

	Yuri Dario

/*
 * member of TeamOS/2 - Italy
 * http://www.quasarbbs.com/yuri
 */

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: MC-link The World On Line (1:109/42)

+----------------------------------------------------------------------------+

From: ilya@math.ohio-state.edu                          09-Dec-99 15:09:04
  To: All                                               09-Dec-99 22:41:12
Subj: Re: Loading a new PMMERGE.DLL

From: ilya@math.ohio-state.edu (Ilya Zakharevich)

[A complimentary Cc of this posting was sent to John Poltorak
<jpolt@bradnet.legend.co.uk>],
who wrote in article <384f84c9.0@katana.legend.co.uk>:
> >Why would not
> >
> >  emxupd x:/os2/new/PMMERGE.DLL x:/os2/dll/PMMERGE.DLL
> 
> If this works....
> 
> >followed by reboot do it?
> 
> .. why would you need a reboot?

The semantic of update()ing (=DosUpdateModule()?) a module which is
already in memory.  The file on disk is changed, but as far as there
runs a program using this module, the memory copy is used.

Ilya

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Department of Mathematics, The Ohio State Univers
(1:109/42)

+----------------------------------------------------------------------------+

From: donnelly@tampabay.rr.com                          09-Dec-99 15:52:21
  To: All                                               09-Dec-99 22:41:12
Subj: Re: Show/print uninstalled fonts

From: donnelly@tampabay.rr.com (Buddy Donnelly)

On Thu, 9 Dec 1999 09:09:50, cbzh@my-deja.com wrote:

> I post this to *.programmer as well as to ".apps, because I am asking
> either for an existing application or for hints about programming
> something myself!
> 
> What I would like is a little program that lets me choose a number of
> font files (ATM or TT) and print examples of them all so I could get an
> easy overview of the one or other font collection.

You are describing one of the strengths of Cliff Cullum's FontFolder 
utility. It will print out very customizable catalogues of fonts 
whether they are installed or not. It's available as a demo/sharewhare
at:

	http://www.pvsoft.com/

However, Cliff hasn't done any programming on this since releasing 
v.3.0a about 2-1/2 years ago, and there are some improvements that 
could be made to keep it up to date with the way fonts are handled on 
other platforms. 

For instance, I can't figure out if this is fixable in OS/2, but fonts
are registered with a font name string that is truncated by OS/2 at 31
characters, making many font families unusable. The fix would be 
simple if OS/2 regged fonts with the PostScript "FontName" instead of 
"FullName", I would think. Which is not in accordance with Adobe's 
rules, but is the way Win9x and NT manage things. In any case, 
truncation often kills the management of attributes and families.

In 1991, when the code inside PMATM.DLL was written (by Adobe, I've 
been told) there weren't many Type1 fonts that had long enough 
FullNames to worrry about, I guess. But today there are literally 
thousands of fonts that can't be used in OS/2, just because of this 
naming problem. When I have a project that needs particular font 
families, but the standard font files use the long names and get 
truncated, I have to laboriously open and re-edit new names into all 
the font files.

So there's room for you as a programmer, I think. Contact Cliff after 
you've looked at his program and maybe there's a way to work with him?

-- 

Good luck,

Buddy

Buddy Donnelly
donnelly@tampabay.rr.com


--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: RoadRunner - TampaBay (1:109/42)

+----------------------------------------------------------------------------+

From: alex@eddie.cis.uoguelph.ca                        09-Dec-99 16:44:23
  To: All                                               09-Dec-99 22:41:12
Subj: Choice of compilers

From: alex@eddie.cis.uoguelph.ca (Alex Taylor)

I have a few questions regarding available C/C++ compilers and the OS/2
toolkit...

First off, I realize this is probably a matter of taste, but which would
people recommend:  Watcom C/C++, or IBM VisualAge C++ (either v3 or v4)?
Do they both include visual developers, or just the IBM one?  Simplicity
and ease of use are more important to me than OS/2/Win cross-development,
and support for standards is a Good Thing.  (I'm also new to GUI
programming in general, outside Java). 

I was looking at Indelible Blue and Mensys for the VAC++ prices, and I'm
confused.  IB lists VAC++ Pro for $794.00 (!).  VAC++ upgrade is $228.00
(better), but VAC++ upgrade from C Set++ is $840.00!!

Am I to understand that an upgrade version is more expensive than the base
version?  And why the huge difference between the two upgrade versions
anyway?  Why would there be two different UG versions?  Is one for a
different market, or another OS/platform?  What am I missing?

I currently have CSet++, BTW, hence my interest in the upgrade versions.
Which brings me to my last question...

The version of the OS/2 developer's toolkit that I have is rather old.
Where can I get a new one?  The IBM Developer's Connection looks like the
right place, but that costs about $600, and includes all kinds of stuff I
don't need.  (Somebody suggested I look at PartnerWorld, but only
companies seem to qualify for free toolkits and stuff.)  So what's the
best way to get the latest toolkit (and just the toolkit) legally, and
inexpensively?

Thanks ...
-- 
-----------------------------------------------------------------
 Alex Taylor                  BA - CIS - University of Guelph
 alex@eddie.cis.uoguelph.ca   http://eddie.cis.uoguelph.ca/~alex
-----------------------------------------------------------------

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: @Home Network Canada (1:109/42)

+----------------------------------------------------------------------------+

From: hei@hatespam.norman.no                            10-Dec-99 08:06:13
  To: All                                               10-Dec-99 10:35:21
Subj: Re: Choice of compilers

From: hei@hatespam.norman.no (Harald Eilertsen)

On Thu, 9 Dec 1999 16:44:46, alex@eddie.cis.uoguelph.ca (Alex Taylor) 
wrote:

> First off, I realize this is probably a matter of taste, but which would
> people recommend:  Watcom C/C++, or IBM VisualAge C++ (either v3 or v4)?
> Do they both include visual developers, or just the IBM one?  

For normal application programming I would recommend VAC++. I haven't 
tried v4, but v3 with the latest csd is pretty good. If you have 
special needs like mixed 16/32bit code or device driver programming, 
Watcom may be the only choice. Version 11 seems to generate some bad 
code every now and then, so at work we stick with 10.6.

Only VAC++ provides visual develpment. Pretty fancy too! It also 
provides the IBM OpenClass library, which is a very thorough class 
library wrapper for PM. Finally it has a more updated toolkit than 
Watcom, but still not at DevCon level.

> The version of the OS/2 developer's toolkit that I have is rather old.
> Where can I get a new one?  The IBM Developer's Connection looks like the
> right place, but that costs about $600, and includes all kinds of stuff I
> don't need.

If new to PM and OS/2 programming in general, you may do just fine 
with the Toolkit from VAC++. If you feel you need something more, 
evaluate which DevCon subscription you need.

Take Care!
--
Harald Eilertsen
Norman Data Defence Systems
http://www.norman.no/

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Norman Data Defence Systems (1:109/42)

+----------------------------------------------------------------------------+

From: no.spam@no.spam.org                               10-Dec-99 16:11:08
  To: All                                               10-Dec-99 14:58:22
Subj: Re: Show/print uninstalled fonts

From: "Cornelis Bockem?hl" <no.spam@no.spam.org>

On Thu, 09 Dec 1999 15:52:43 GMT, Buddy Donnelly wrote:

>On Thu, 9 Dec 1999 09:09:50, cbzh@my-deja.com wrote:
>
>> I post this to *.programmer as well as to ".apps, because I am asking
>> either for an existing application or for hints about programming
>> something myself!
>> 
>> What I would like is a little program that lets me choose a number of
>> font files (ATM or TT) and print examples of them all so I could get an
>> easy overview of the one or other font collection.
>
>You are describing one of the strengths of Cliff Cullum's FontFolder 
>utility. It will print out very customizable catalogues of fonts 
>whether they are installed or not. It's available as a demo/sharewhare
>at:
>
>	http://www.pvsoft.com/
>
>However, Cliff hasn't done any programming on this since releasing 
>v.3.0a about 2-1/2 years ago, and there are some improvements that 
>could be made to keep it up to date with the way fonts are handled on 
>other platforms. 

In any case thank you for the hint (also to Harald Eilertsen who
suggested the same) as well as the link. I actually thought I knew
FontFolder, but not as a program where you could actually view or
print previews of fonts, but when I look at what I have here
somewhere in a ZIP archive this turns out to be Version 1.2, dating
from something like 1995, while on the homepage I find Version 3.0,
which is at least a lot more recent than the other one! I am rather
sure I am going to register it _with_ printing support.

>For instance, I can't figure out if this is fixable in OS/2, but fonts
>are registered with a font name string that is truncated by OS/2 at 31
>characters, making many font families unusable. The fix would be 
>simple if OS/2 regged fonts with the PostScript "FontName" instead of 
>"FullName", I would think. Which is not in accordance with Adobe's 
>rules, but is the way Win9x and NT manage things. In any case, 
>truncation often kills the management of attributes and families.
>
>In 1991, when the code inside PMATM.DLL was written (by Adobe, I've 
>been told) there weren't many Type1 fonts that had long enough 
>FullNames to worrry about, I guess. But today there are literally 
>thousands of fonts that can't be used in OS/2, just because of this 
>naming problem. When I have a project that needs particular font 
>families, but the standard font files use the long names and get 
>truncated, I have to laboriously open and re-edit new names into all 
>the font files.

So a tool doing this automatically would probably already do the job
in this case, possibly even just something in REXX? I haven't come
across this problem until now, at least not realized it, because
possibly I wouldn't see it immediately, since many programs seem to
handle font selections in different ways, but I never bothered to
dive into that issue!

>So there's room for you as a programmer, I think. Contact Cliff after 
>you've looked at his program and maybe there's a way to work with him?

Well, I'm afraid I should rather spend my limited programming time
into my main project, which is my "PmAs" Astronomy programs project
(at http://www.datacomm.ch/cobo) where I would like to add some more
database support for example and which keeps me already more busy
than I should really be along my family and job ;-) When talking
about "do-it-yourself" I was therefor also thinking about something
quick and dirty - but if a much more comfortable tool really exists
already: Much better!

Greetings,
Cornelis Bockemhl <cbockem@datacomm.ch>

--------------------------------------------
Cornelis Bockemhl, Dornach, Switzerland
e-mail: cbockem AT datacomm DOT ch
(use this instead of antispam reply address)
PGP public key available



--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: DataComm (Schweiz) AG (1:109/42)

+----------------------------------------------------------------------------+

From: radu_trm@yahoo.com                                10-Dec-99 15:30:07
  To: All                                               10-Dec-99 14:58:23
Subj: SoundCard DD extended IOCtls

From: radu <radu_trm@yahoo.com>

Hello!

1. I've read somewhere about the existance of such extended IOCtls,
designed for extended mixer functions. Where can I find detailed info on
this? Are them used (if available) by the MMOS2? What apps can make use
of them?

2. I have access to DDK, MASM, VACPP 3, Watcom C/C++ v10.6&v11. Do I
need the CSet too in order to build ALL the samples in the DDK?

3. Where can I find more on Resource Manager?

Thanks a lot for any  info!
Radu

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: EUnet Romania (1:109/42)

+----------------------------------------------------------------------------+

From: yyyc186.illegaltospam@flashcom.net                10-Dec-99 07:46:02
  To: All                                               10-Dec-99 14:58:23
Subj: Re: Choice of compilers

From: yyyc186.illegaltospam@flashcom.net

In <Dq9QeiO5hGmk-pn2-GNdddRoYJ9s7@Barbarella>, on 12/10/99 
   at 08:06 AM, hei@hatespam.norman.no (Harald Eilertsen) said:

>For normal application programming I would recommend VAC++. I haven't 
>tried v4, but v3 with the latest csd is pretty good. If you have  special
>needs like mixed 16/32bit code or device driver programming,  Watcom may
>be the only choice. Version 11 seems to generate some bad  code every now
>and then, so at work we stick with 10.6.

Really?  I never found this with V11 and did a lot with it.  Bad code must
be in the area of templates which I was deliberately avoiding until the
spec was finalized.

Here is a stupid question.  Does the gui builder for vac generate code or
a proprietary dat file format?  If code, have you tried running it through
the Watcom compiler?

Roland

-- 
-----------------------------------------------------------
yyyc186.illegaltospam@flashcom.net              To Respond delete
".illegaltospam"
                            MR/2 Internet Cruiser 1.52
                            For a Microsoft free univers
-----------------------------------------------------------

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Posted via Supernews, http://www.supernews.com (1:109/42)

+----------------------------------------------------------------------------+

From: pjfloyd@my-deja.com                               10-Dec-99 13:42:28
  To: All                                               10-Dec-99 14:58:23
Subj: Re: Choice of compilers

From: pjfloyd@my-deja.com

In article <385068b0$2$lllp186.vyyrtnygbfcnz$mr2ice@news.flashcom.com>,
  yyyc186.illegaltospam@flashcom.net wrote:
> In <20R34.123395$V4.1601119@news2.rdc1.on.home.com>, on 12/09/99
>    at 04:44 PM, alex@eddie.cis.uoguelph.ca (Alex Taylor) said:
>
> >I have a few questions regarding available C/C++ compilers and the
OS/2
> >toolkit...

> >First off, I realize this is probably a matter of taste, but which
would
> >people recommend:  Watcom C/C++, or IBM VisualAge C++ (either v3 or
v4)?
> >Do they both include visual developers, or just the IBM one?
Simplicity
> >and ease of use are more important to me than OS/2/Win
cross-development,
> >and support for standards is a Good Thing.  (I'm also new to GUI
> >programming in general, outside Java).

If it's standards you want then you have no choice other than VAC++ 4.0
Other than the orderless compilation "feature" it claims to be ISO
compliant,
though there is some leeway in the standards.

> >I was looking at Indelible Blue and Mensys for the VAC++ prices, and
I'm
> >confused.  IB lists VAC++ Pro for $794.00 (!).  VAC++ upgrade is
$228.00
> >(better), but VAC++ upgrade from C Set++ is $840.00!!

> IB is a company with damned few ethics and even less competance.  One
of
> the first things I do when brought into a company as a contractor is
get
> them banned from the clients vendor list.  Any vendor carrying
software
> from either Stardock or CDS has to be treated just like you were
having
> sex with an AIDS patient...because you are.

I've only dealt with IB twice, both many years ago, and had no trouble.
Mensys were also OK, though ordering VAC++ took a long time.

> >Am I to understand that an upgrade version is more expensive than the
> >base version?  And why the huge difference between the two upgrade
> >versions anyway?  Why would there be two different UG versions?  Is
one
> >for a different market, or another OS/platform?  What am I missing?

> >I currently have CSet++, BTW, hence my interest in the upgrade
versions.
> >Which brings me to my last question...

> >The version of the OS/2 developer's toolkit that I have is rather
old.
> >Where can I get a new one?  The IBM Developer's Connection looks like
the
> >right place, but that costs about $600, and includes all kinds of
stuff I
> >don't need.  (Somebody suggested I look at PartnerWorld, but only
> >companies seem to qualify for free toolkits and stuff.)  So what's
the
> >best way to get the latest toolkit (and just the toolkit) legally,
and
> >inexpensively?

> Umm...I've been a devcon member for years so can't quip on the price.
You
> are supposed to be able to download the toolkit for free from one of
the
> IBM pages.

Well, if you buy VAC++ 4.0, you will get a copy of the OS/2 Toolkit. You
can download CSDs for it for free from DevCon guest access. I have C
Set++,
but I bought VAC++ at the educational price (my wife being a teacher
qualifies). This was half the cost of the upgrade price.

Personally, I don't think DevCon is any longer worth the money,
unless you are a big all-blue developer (AIX, OS/390, OS/400, NT).
What you get for OS/2 are only a few scraps.

> Here is some food for thought.

> If you become a Devcon member, when they ship a full CD distribution,
if
> there is a new version of VAJ, VAC, VACOBOL, VABasic (not!) you tend
to
> get one of the last beta versions, or an actual personal user version
with
> the kit.  Many times it is for an nn-day evaluation period, but
sometimes
> not.  The bottom line is that if one of the products is going to be a
> puddle of doo-doo (like the current rev of VAC++ I'm told is), you
didn't
> spend any more to find out.

VAC++ isn't so bad. For everything I find that is great, there's another
that is crap, overall it's OK. If only I could have

- VC++ build configuration
- Watcom code optimization
- VAC++ OpenClass and C++ standards
- EPM as editor

A+
Paul


--
Paul Floyd
Is atrophy a shiny cup?


Sent via Deja.com http://www.deja.com/
Before you buy.

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Deja.com - Before you buy. (1:109/42)

+----------------------------------------------------------------------------+

From: ddudley@inspired-designs.net                      10-Dec-99 13:04:02
  To: All                                               10-Dec-99 14:58:23
Subj: Re: Java without PM?

From: David Dudley <ddudley@inspired-designs.net>

Alternately, you might go directly to SUN and get licenced for their
"Embedded JAVA" source.  Once you've done that, you can download /
modify JAVA to your hearts content, and if you don't want the visual
parts, just leave them out.  Also means that if you don't want an OS,
you can embed JAVA directly as your OS.

I've got a little 256K Motorola embedded computer that I've put JAVA and
an embedded TCP/IP stack on.  With that much memory, I still have a LOT
of room for a program which can be downloaded into its onboard EEPROM
and run.

Later-

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: InSPired-Designs.Net (1:109/42)

+----------------------------------------------------------------------------+

From: icedancer-zamboni@ibm-zamboni.net                 10-Dec-99 18:42:12
  To: All                                               10-Dec-99 20:37:00
Subj: Re: Choice of compilers

From: icedancer-zamboni@ibm-zamboni.net (Ken Walter)

On Fri, 10 Dec 1999 12:46:04, yyyc186.illegaltospam@flashcom.net 
wrote:

[...]
>Here is a stupid question.  Does the gui builder for vac generate code or
>a proprietary dat file format?  If code, have you tried running it through
>the Watcom compiler?
>
The code uses the VAC++ OCL library.
C++ libraries are not interchangable across compilers since name 
mangling is different.

Ken Walter

Remove -zamboni to reply
All the above is hearsay and the opinion of no one in particular

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Solution Technology (1:109/42)

+----------------------------------------------------------------------------+

From: yyyc186.illegaltospam@flashcom.net                09-Dec-99 21:35:17
  To: All                                               10-Dec-99 21:22:22
Subj: Re: Choice of compilers

From: yyyc186.illegaltospam@flashcom.net

In <20R34.123395$V4.1601119@news2.rdc1.on.home.com>, on 12/09/99 
   at 04:44 PM, alex@eddie.cis.uoguelph.ca (Alex Taylor) said:

>I have a few questions regarding available C/C++ compilers and the OS/2
>toolkit...

>First off, I realize this is probably a matter of taste, but which would
>people recommend:  Watcom C/C++, or IBM VisualAge C++ (either v3 or v4)?
>Do they both include visual developers, or just the IBM one?  Simplicity
>and ease of use are more important to me than OS/2/Win cross-development,
>and support for standards is a Good Thing.  (I'm also new to GUI
>programming in general, outside Java). 

Watcom was my favorite compiler for many years.  I still have version 11,
but not installed right now.  Powersoft ceased the compiler line, so I'm
told.  Never used the "gui" tools under OS/2.  I was doing a lot of Zinc
work then across all platforms supported, so I just used it as a command
line compiler with MAKE files.

>I was looking at Indelible Blue and Mensys for the VAC++ prices, and I'm
>confused.  IB lists VAC++ Pro for $794.00 (!).  VAC++ upgrade is $228.00
>(better), but VAC++ upgrade from C Set++ is $840.00!!

IB is a company with damned few ethics and even less competance.  One of
the first things I do when brought into a company as a contractor is get
them banned from the clients vendor list.  Any vendor carrying software
from either Stardock or CDS has to be treated just like you were having
sex with an AIDS patient...because you are.

>Am I to understand that an upgrade version is more expensive than the
>base version?  And why the huge difference between the two upgrade
>versions anyway?  Why would there be two different UG versions?  Is one
>for a different market, or another OS/platform?  What am I missing?

>I currently have CSet++, BTW, hence my interest in the upgrade versions.
>Which brings me to my last question...

>The version of the OS/2 developer's toolkit that I have is rather old.
>Where can I get a new one?  The IBM Developer's Connection looks like the
>right place, but that costs about $600, and includes all kinds of stuff I
>don't need.  (Somebody suggested I look at PartnerWorld, but only
>companies seem to qualify for free toolkits and stuff.)  So what's the
>best way to get the latest toolkit (and just the toolkit) legally, and
>inexpensively?

Umm...I've been a devcon member for years so can't quip on the price.  You
are supposed to be able to download the toolkit for free from one of the
IBM pages.

Here is some food for thought.

If you become a Devcon member, when they ship a full CD distribution, if
there is a new version of VAJ, VAC, VACOBOL, VABasic (not!) you tend to
get one of the last beta versions, or an actual personal user version with
the kit.  Many times it is for an nn-day evaluation period, but sometimes
not.  The bottom line is that if one of the products is going to be a
puddle of doo-doo (like the current rev of VAC++ I'm told is), you didn't
spend any more to find out.

Tis too bad Watcom ceased before they got all the C++ standard with
templates, etc. into the compiler....Perhaps that is why they
ceased...they learned what others did.  The standard template spec can't
be implemented.

Roland

-- 
-----------------------------------------------------------
yyyc186.illegaltospam@flashcom.net              To Respond delete
".illegaltospam"
                            MR/2 Internet Cruiser 1.52
                            For a Microsoft free univers
-----------------------------------------------------------

--- WtrGate+ v0.93.p7 sn 165
 * Origin: Usenet: Posted via Supernews, http://www.supernews.com (1:109/42)

+----------------------------------------------------------------------------+

+============================================================================+
