HDTenEightyP/NetNews huggingface dataset:
From: comeau@csanta.attmail.com (Greg Comeau)
Subject: E-mail on "Re: Comeau C++"
Originator: comeau@well.sf.ca.us
Reply-To: comeau@csanta.attmail.com (Greg Comeau)
Organization: Comeau Computing
Date: Mon, 28 Sep 1992 18:40:13 GMT

BTW, I just wanted to say quickly that an extraordinary higher than normal
amount of e-mail that I am responding to is bouncing.  Discarding that I
am paying for initial and duplicate messages... discarding that some messages
are taking me as long as 1/2 hour to respond to... a number of you are sending
nasty message that I have not responded.  Of course, when I answer that, it too
bounces.  And so a vicious cycle.  Although I prefer public messages so that
all can benefit from the dialogue, I do feel responsibility in not only
responding to *every* message sent to me, but I feel responsible to answer
it at least in full (I even answer things you do not ask).  For this I hope
that it is not too much to ask that all double check that messages you send to
anybody (not just me) have detailed enough return mail information.

I hope this message does not produce a bombardment of responses, a bombardment
of e-mail to me, or a bomardment of phone calls to me (one doesn't reach me
via phone anyway).  All I ask is that anybody who has not received a response
from me never will.  Either I did not receive your message or I have no way of
responding to you.  Nobody has been consciously ignored, and if you have not
received a response to a message you sent (as late as yesterday) please send
it again, and ensure I'll know how to get it to you.  In case it helps any,
the bounces are ranging from host unknown, to user unknown, to permission to
host denied.  Please find out if your maps are ok, and whether an outsider
can get e-mail to you.  Also, make sure you . files/environment variables/etc
have the right information in them.

- Greg
-- 
         Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
                   Producers of Comeau C++ 3.0 With Templates
          Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
	    Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
Newsgroups: comp.sys.amiga.programmer
From: jwk38122@uxa.cso.uiuc.edu (James W. Klimek)
Subject: Command line buffer.
Organization: University of Illinois at Urbana
Date: Wed, 7 Oct 1992 04:01:04 GMT

   Is there any possible way that that I can access the
 buffer that the shell uses for storing the command line
 history? 

   If so, how ? If not, why ?

     Any info would be greatly appreciated.

 Thanks in advance.

 James Klimek
From: fgd3@nifty.UUCP (Fabbian G. Dufoe, III)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: gadgets
Distribution: comp
Date: 3 Oct 92 12:48:13 EDT
Organization: Fabbian G. Dufoe, III

In article <1992Oct2.4249.17021@dosgate> "robert buonincontro" <robert.buonincontro@canrem.com> writes:
>        I am having difficulty wih a small problem.  I have a window
>opened up with about 10 string gadgets on it.  What I want is for my
>program to automatically select the first gadget, and after the user
>types in his/her text and presses return, I want the program to
>automatically select the next gadget.  At the same time, the user should
>be able to jump to any gadget using the mouse pointer.

   You need to call ActivateGadget() each time you want to activate a string
gadget.

Success = ActivateGadget(Gadget, Window, Request)
D0                       A0      A1      A2

BOOL   Success;
struct Gadget *Gadget;
struct Window *Window;
struct Requester *Request;

--Fabbian G. Dufoe, III
   350 Ling-A-Mor Terrace South   | GEnie:    F.DUFOE3
   St. Petersburg, Florida  33705 | internet: fgd3%nifty@tct.com
   813-823-2350                   | uucp:     ...tct!deep6!nifty!fgd3

Newsgroups: comp.sys.amiga.programmer
From: "robert buonincontro" <robert.buonincontro@canrem.com>
Subject: strings
Reply-To: "robert buonincontro" <robert.buonincontro@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 27 Sep 92 14:29:37 EST


        I recently posted a message requesting help on converting a
string such as "12.34" to a float value, 12.34.  I was using atof but
for some reason wasn't getting the right results.  Anyway, the problem
was solved by simply declaring the atof() function as double.  Here is
the final output which works:

        void main()
        {
                char string[99][20];
                float number[2];
                float total;

                strcpy(string[0], "12.50");
                strcpy(string[1], "11.45");

                number[0]=atof(string[0]);
                number[1]=atof(string[1]);

                total = number[0] + number[1];

             printf("%.2f\n%.2f\n%.2f\n", number[0], number[1], total);

        }

This produces the output
12.50
11.45
23.95

        Thanks to all those who replied.

New Problem: (!)

        Now that I've converted these values to floats, and performed my
addition, I need to convert that value (float total) back to a string
for use in an IntuiText structure.  The closest I've come is to use the
ecvt() function, but this eliminates the decimal.  Since I have been
trying to figure out a way to insert a decimal character into the string
(without success).  I would a simple conversion, float to string, but if
this is not possible how can I insert that decimal character in the
string?  There must be a function which allows you to insert a character
into a position of a string...I JUST CAN'T FIND IT!!!

        Thanks, Robert Buonincontro

By the way, I am using Lattice...
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.sys.amiga.programmer
From: kopnicky@flammulated.owlnet.rice.edu (Lyle Warren Kopnicky)
Subject: gcc 2.2.2 requirements
Organization: Rice University, Houston, Texas
Date: Sun, 4 Oct 1992 01:19:04 GMT

Could someone tell me what the reasonable requirements are for gcc
2.2.2?  And what files are necessary?  I assume the files needed are
gcc-2.2.2, ixemlib and libg++, and fix1 and fix2.  I have an A2000
with 5MB RAM and OS2.04.  I tried g++ v1.4 a while back, but it used
ridiculous amounts of memory.  I had only 512K free in mid-compile of
"Hello, world!"  I figured it was probably just a buggy version, and I
decided to wait until something more stable emerged.  Sometime I
intend to purchase an 030/25 accelerator, so speed should not
eventually be a problem, but if it's going to be abysmally slow,
that's not so great, either.  I found the old g++ plenty fast, even if
it hogged memory, and I find the GNU Emacs port plenty fast, too, if
that helps.

--------------------------------------------------------------------------
  They Love, They Share        -            They Share and Love and Share
    Love, Love, Love           -                Share, Share, Share
                   The Itchy and Scratchy Show!
--------------------------------------------------------------------------
"Elvis has left the building." / Quantum Seep / kopnicky@owlnet.rice.edu
--------------------------------------------------------------------------
--
--------------------------------------------------------------------------
  They Love, They Share        -            They Share and Love and Share
    Love, Love, Love           -                Share, Share, Share
                   The Itchy and Scratchy Show!
--------------------------------------------------------------------------
"Elvis has left the building." / Quantum Seep / kopnicky@owlnet.rice.edu
--------------------------------------------------------------------------
Newsgroups: comp.sys.amiga.programmer
Subject: RAM: copy takes all RAM and can't copy.
From: hoffmann@nutmeg.ntu.edu.au (Arthur Hoffmann)
Date: 3 Oct 92 20:47:49 +0900
Distribution: world
Organization: Information Technology, Northern Territory University



Hi, 
I am  just wondering what is wrong with my RAM: disk. I have 12M of memory
free, when I try to copy  an 8M file from the HD to RAM: I get this really stupid
message telling me volume RAM: is full.

What can I do about it?

Thanks for your help.

Arthur.

					Arthur Hoffmann
					hoffmann@pandanus.ntu.edu.au
					hoffmann@nutmeg.ntu.edu.au


Newsgroups: comp.sys.amiga.programmer
From: comeau@csanta.attmail.com (Greg Comeau)
Subject: Re: Comeau C++
Originator: comeau@well.sf.ca.us
Reply-To: comeau@csanta.attmail.com (Greg Comeau)
Organization: Comeau Computing
Date: Sat, 26 Sep 1992 04:36:16 GMT

In article <f7Pg02nJ226101@JUTS.ccc.amdahl.com> jds30@amail.amdahl.com writes:
>In article <1683@lysator.liu.se>, boberg@lysator.liu.se (Stefan Boberg) writes:
>> jamie@cdevil.unx.sas.com (James Cooper) writes:
>> >In article <1520@igd.fhg.de>, john@igd.fhg.de (Werner John) writes:
>[deleted general comments about which C++ to get]
>
>>   Why C++ anyway? It's such a pig, loaded with useless fluff. Why not
>> go for an Objective-C compiler? It would fit much better into the Amiga
>> Intuition programming environment, IMHO. The BOOPSI system in particular
>> is very similar to the Objective-C way of doing things.
>I'm not an OOP King, either. But isn't Objective-C a "single inheritance"
>language?  I know that there are plenty of arguments on both sides of
>the fence about single inheritance versus multiple inheritance, but I
>would prefer to have the choice of how much OOP to put into my code.
>
>As for being "such a pig" and loaded with useless stuff, what are
>you talking about?  What should be removed from C++?  What should
>be added?  What should be redesigned?  Please enlighten me.  :-)
>
>As for "fitting in" better, isn't that determined by how well the
>templates and classes are engineered in the first place?
>
>>   I'm no expert on OOP however, so don't kill me if I'm wrong :-)
>Any OOP giants out there willing to help us neophytes on this one?
>
>Jeffrey D. Smith

My general comment is that rwaring/tooth-for-tooth'ing/etc is going to
get nowhere.  Each language is a tradeoff and has its own strengths and
weaknesses as well as its own place and its own cults, ans so on.
I believe you are correct in that OC does not have multiple inheritance,
but that alone is not enough to justify anything negative when looking at
OC as a whole.  Similarly, both your comments are somewhat appropriate
as to "fitting in better".

- Greg
-- 
         Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
                   Producers of Comeau C++ 3.0 With Templates
          Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
	    Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
Newsgroups: comp.sys.amiga.programmer
From: rcarpent@ringer.cs.utsa.edu (Richard Carpenter)
Subject: SE From SAS/C 6.0
Organization: Univ of Texas at San Antonio
Distribution: utsa
Date: Thu, 1 Oct 1992 03:47:58 GMT

I ran into an interesting problem with SE (the editor that comes with 
Version 6.0 of SAS/C, formerly LSE).  

When the "Expand tabs to Spaces" option is set the editor gets 
very confused when you press return at the end of a line and 
it must place the cursor anywhere not on the left side of the 
window.  I am not sure how good that description is so here 
is an example.

If the text is this:
		case IDCMP_GADGETUP	:
			HandleWeaponIDCMP();
			break;

And you place the cursor just after the ":" and press return then 
the editor will place the cursor on the next line (inserting a line)
underneath the "c" in case.  Next if you press the tab key you will
get something like the following.

		case IDCMP_GADGETUP	:
			  UP   :
			HandleWeaponIDCMP();
			break;

There seems to be some variation as to how much of the previous line 
is carried over.  Sometimes only the colon moves down to the next line.

Pretty strange stuff.


-- 
-------------------------------------------------------------------
			Richard Carpenter
			ringer.cs.utsa.edu
-------------------------------------------------------------------
Newsgroups: comp.sys.amiga.programmer
From: swallace@bluemoon.rn.com (Steven Wallace)
Subject: Amos
Organization: Blue Moon BBS ((614) 868-998[024])
Date: Thu, 01 Oct 92 11:50:25 EDT

Im having problems with the serial port. I,ve tried Lserial and couldnt 
get it to work with the compiler and Amos3d. Im using Amos 1.3 and I 
started with Amos 1.1 and I dont remember which version of the compiler 
or Amos 3d I have but I know they're probably about the earliest version
available. 
The problem with Lserial is it causes the compiler to crash when it tries
to load the 3d extension.

 This is from
     swallace@bluemoon.rn.com
who doesn't have his (or her) own obnoxious signature yet
From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  Comeau C++ extras?
Date: 28 Sep 92 19:54:16 GMT
Organization: Edotronik GmbH

In article <Bv62wp.2oD@well.sf.ca.us> comeau@csanta.attmail.com (Greg Comeau) writes:
>Yes, in fact the ANSI C++ base document is *literally* derived from
>our reference manual.

You mean the ANSI C++ base document was written based on _your_ reference
manual? I'm impressed!

>- Greg

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: comeau@csanta.attmail.com (Greg Comeau)
Subject: Re: Comeau C++
Originator: comeau@well.sf.ca.us
Reply-To: comeau@csanta.attmail.com (Greg Comeau)
Organization: Comeau Computing
Date: Sun, 27 Sep 1992 03:12:38 GMT

In article <1713@lysator.liu.se> boberg@lysator.liu.se (Stefan Boberg) writes:
>comeau@csanta.attmail.com (Greg Comeau) writes:
>
>>In article <1683@lysator.liu.se> boberg@lysator.liu.se (Stefan Boberg) writes:
>>>  Why C++ anyway? It's such a pig, loaded with useless fluff. Why not
>>>go for an Objective-C compiler? It would fit much better into the Amiga
>>>Intuition programming environment, IMHO. The BOOPSI system in particular
>>>is very similar to the Objective-C way of doing things.
>
>>But seriously, C++ is certainly NOT more of a pig than OC or any of that.
>>If fact, C++ is not even more of a pig than C.  If you have undisputable
>>and proven facts to the contrary, I would be glad to hear of it.
>
>  I guess I didn't put that very well. I didn't mean to present it as a
>fact. It's just an opinion of  mine (and it is shared by many, judging 
>from the EMail I've received)

It looked like a fact, and hence my response.  Re the email, I haven't
seen it.  If people think, or know, C++ is a pig and loaded with useless
fluff I sure wish they wouldn't hide behind email but discuss the issue upfront
so perhaps we could all benefit from it.

>and I still think that Objective-C fits 
>better in the Amiga OS because the Intuition BOOPSI system uses a very 
>similar (Smalltalk-ish) message-passing approach (only more effective 
>than the string-passing that goes on in Objective-C, which to me seems 
>like a real performance killer).

I haven't addressed this part yet.  You could be correct.   I would have to
crack open some manuals to offer my feelings on this.

>>*Certainly* OC is better than C++ at some things.  But certainly vice versa
>>is true too.  But I sense that different from what you presented.
>
>  I didn't mean to sound harsh. As you say, C++ has its uses, although I
>still think that C++ has too many "neat features" to be elegant. Objective-C
>somehow seems "cleaner" to me.

Elegant and clean are funny words you know.  Just an observation, but I note
"clean and neat", and "neat and elegant".  Hmm. ;-)

- Greg
-- 
         Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
                   Producers of Comeau C++ 3.0 With Templates
          Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
	    Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
From: gblock@csd4.csd.uwm.edu (Gregory R Block)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Speaking of sys errors..
Date: 28 Sep 1992 08:31:13 GMT
Organization: University of Wisconsin - Milwaukee
NNTP-Posting-Host: 129.89.7.4

eyeq@wpi.WPI.EDU (Brent Burkholder) writes:
: While we're on the subject... I keep getting a guru 8000 000D error from
: Imagine and Scenery animator intermittently (sometimes they work, sometimes
: they don't) always on startup of the program. These are the FP versions if
: that ties into the equation (as I'm convinced it does.) Any ideas on what
: this number means? ShowGuru reports it as being a reserved guru number.

Something is trashing memory lists.  It isn't always totally
recoverable, but it is most of the time.  It usually only hits when
the system tries to do a flush, or some sort.

Greg

--
(: (: (: (: Have you overdosed on smileys today?  Why NOT!?! :) :) :) :)
(: 	"Yeah, if improving the system is screwing the user base,     :)
(:	 you all need to be screwed more often." -Dave Haynie	      :)
(: (: (: (: (: (: (: (: (: (: (: (: (:) :) :) :) :) :) :) :) :) :) :) :)
Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: SAS/6.0 Bugs...
Originator: walker@twix.unx.sas.com
Date: Tue, 6 Oct 1992 12:44:14 GMT
Organization: SAS Institute Inc.


In article <paulk.1rf0@terapin.com>, paulk@terapin.com (Paul Kienitz) writes:
|> > Anybody out there interested in modifying one of the PD make
|> > utilities to run from the WorkBench?  If so, you could replace
|> > SMAKE entirely...
|>  
|> I have already been fiddling with one of the PD makes to add a few
|> things to it ... could you send me some specific details on just what
|> kind of functionality you're talking about here?

The ability to pass makefiles to the make via the WorkBench interface
is the most important thing.  There should be a project icon (NOT a
tool icon) for the make utility, you should be able to click on it
and shift-double-click on a makefile and build the default target
in that makefile.

The other "special" thing our smake does is if it's invoked in a
directory with no makefile, it issues the command

   SC #?.c LINK ERRORREXX MODIFIED

That's about it.

|> One project I thought I'd do someday was an intuitionized Make
|> replacement.  I had the impression that SAS had pretty much
|> accomplished this.  Am I mistaken?

Given the changes above, you've got it.

-- 
  *****
=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
 *|. o.| ||                                          1200/2400/9600 Dual
  | o  |//     For all you do, this bug's for you!
  ====== 
usenet: walker@unx.sas.com                            bix: djwalker 
Any opinions expressed are mine, not those of SAS Institute, Inc.

Newsgroups: comp.sys.amiga.programmer
From: kopnicky@flammulated.owlnet.rice.edu (Lyle Warren Kopnicky)
Subject: Re: Scheme Interpreter
Followup-To: comp.sys.amiga.programmer
Organization: Rice University, Houston, Texas
Date: Sun, 4 Oct 1992 00:20:08 GMT


Try scm v11 at altdorf.ai.mit.edu in the /archive/scm directory.  You
will need both scm v11 and slib v10.  It contains a makefile for SAS/C
v5.10.  I am using Lattice C v5.02 and have a slight problem with
macro overflows in one file (eval.c), but I got it to compile on my
friend's 386 under Borland C.

--------------------------------------------------------------------------
  They Love, They Share        -            They Share and Love and Share
    Love, Love, Love           -                Share, Share, Share
                   The Itchy and Scratchy Show!
--------------------------------------------------------------------------
"Elvis has left the building." / Quantum Seep / kopnicky@owlnet.rice.edu
--------------------------------------------------------------------------
--
--------------------------------------------------------------------------
  They Love, They Share        -            They Share and Love and Share
    Love, Love, Love           -                Share, Share, Share
                   The Itchy and Scratchy Show!
--------------------------------------------------------------------------
"Elvis has left the building." / Quantum Seep / kopnicky@owlnet.rice.edu
--------------------------------------------------------------------------
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Determining ListView #items...
Date: 28 Sep 92 21:05:33 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <S37732V.92Sep26120805@lk-hp-20.hut.fi> s37732v@lk-hp-20.hut.fi (Markus Juhani Aalto) writes:
>Stupid of me not to ask this in a first place, but what is a value
>for GTLV_MakeVisible? I'm still using old V2.02 include files.

#define GTLV_MakeVisible     GT_TagBase+78 /* Make this item visible */

Usage:

        GT_SetGadgetAttrs( lvgad, win, NULL,
                GTLV_MakeVisible, itemnumber,
                TAG_DONE );

You should always be wary of specifying a tag you have no way of
testing.  You'll want to try your code out on an A4000 somewhere.

>BTW: Is V39 ListView still looking like V37 ListView? I have heard that
>it now shows selected item highlighted in a selection list. Is this
>true?

V39 listviews keep the selected item highlighted.  In addition, you
can drag-scroll the listview by dragging the mouse above or below the
listview while holding the mouse.

>*         Markus Aalto              | Helsinki University of Technology  *

     Peter
--
Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
{uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
My opinions do not necessarily represent the opinions of my employer.
"I believe it's bad luck to be superstitious."
Newsgroups: comp.sys.amiga.programmer
From: pooler@aix02.ecs.rpi.edu (Robert Peter Poole)
Subject: Re: Multithreaded code using CreateTask()
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Sat, 26 Sep 1992 20:37:39 GMT


>Hmm, isn't any printf going through dos? And aren't dos calls forbidden
>in a task?

Yes, that may be true, but that STILL doesn't answer my original question.
(i.e., I was having problems before I stuck the printf statements into my
code to see where it was bombing.  Why is it that putting forbidden calls into
my task suddenly makes it do the right thing?  Your posting presupposes that
my problems started when I introduced the printf() statements, when in fact
the reverse is true -- my problems STOPPED when I put the printf() statements
in my code.)  Perhaps a better question is, does ReqTools go through dos
for the rtEZRequest() function?  Perhaps Nico Francois can answer this...

I guess it would be helpful if somebody who knows how to write multithreaded
code on the Amiga could POST an EXAMPLE (hint, hint) of how to do this.
Come on, folks, it can't be that hard.

Incidentally, I got email regarding this problem from someone who wrote a
linkable .lib module for C programmers which has a lot of nifty functions
that abstract away the problems of writing multithreaded code...

The only problem is, it relies on arp.library, and I don't want my code to
be dependent on arp.library.

(I'm looking through the source now to see how bad it would be to try to un-
arpify the code.)

Best Regards,
Rob Poole
Newsgroups: comp.sys.amiga.programmer