HDTenEightyP/NetNews huggingface dataset:
From: dgold@basso.actrix.gen.nz (Dale Gold)
Newsgroups: comp.sys.amiga.programmer
Subject: Arexx hosts & RexxArpLib
Keywords: Arexx, RexxArpLib
Date: 11 Jan 93 19:13:17 PST
Organization: New Zealand Symphony Orchestra

Hi,
I wonder if anyone who is fluent with Arexx and/or RexxArpLib can
help me.

I'm using Arexx and RexxArpLib to create a window full of button
gadgets that basically builds text strings and then outputs them
to a file.  This is working fine.  However, I need to be able to
have certain gadgets call up 'sub-windows' that perform more
complicated operations and send results back to the main host.

I think that my main problem is that I don't really understand the
difference in Arexx between a host and a port...  duhh..

- I thought that I could have one host in charge of all of my
functions with different port names to identify them....  Would this
work?  Or do I need a different host name for each one?

- I want to avoid the little delay that occurs when setting up a new
host & port, so would like to be able to close a sub-window while
leaving its host and port ready for next time it's called up. If
I can use one function to create all my ports and hosts, I'd
prefer to do it that way.  Is this possible with RexxArpLib?

Any suggestions or examples of how to do this would be gratefully
received!  (and email replies would be preferred.)

Cheers,
Dale



--
- dgold@basso.actrix.gen.nz
- Korokoro, New Zealand
From: mbs@adastra.cvl.va.us (Michael B. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: GDB Port?
Distribution: world
X-NewsSoftware: GRn-beta 1.16g (04.01.93) by Michael B. Smith & Mike Schwartz
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Date: 9 Jan 93 15:35:53 EST
Organization: Well, I haven't decided on a name yet...

In article <1993Jan9.185850.19987@cs.tu-berlin.de> bokowski@opal.cs.tu-berlin.de (Boris Bokowski) writes:
> I read in the gcc-2.3.3 - diff files that there is no GDB port for
> the amiga. But why?

Because there is no BFD port for the Amiga.

(gdb requires two primary things from AmigaOS: a way to break apart the object
files [BFD] and a way to examine a loaded object [ptrace()]. Markus has
committed to getting ptrace() done *very* quickly as soon as someone does a
BFD port.)
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
From: shulick@cineret.ucs.indiana.edu (Sam Hulick)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Version Strings...
Date: 7 Jan 93 17:27:47 GMT
Organization: Vallen Software


I usually put this in the global area of the program:

char verStr[] = "$VER: Foobar version 1.1111";

The "version" program merely searches thru the executable looking for
"$VER:".  So even this would work:

printf("$VER: Foobar version 1.1111");

although I'm sure you wouldn't want this printed at every runtime. :)

-- 
    // Amiga 3000   ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
   // 68030 25 MHz /__/\ \ My opinions wear combat boots.  Or whatever.
\\// OS 2.04       \__\/ / "Walk!  Not bloody likely.  I am going in a
 \/                     / taxi."  --George Bernard Shaw
Newsgroups: comp.sys.amiga.programmer
From: misar@rbg.informatik.th-darmstadt.de (Walter Misar)
Subject: Re: How to allocate memory nicely?
Date: Tue, 5 Jan 1993 08:41:53 GMT
Organization: TH Darmstadt

In article <1iasdiINN754@uniwa.uwa.edu.au>, gujn@uniwa.uwa.edu.au (Jeremy Nelson) writes:
> This is probably a simple question for the programmers, so reply by news
> or mail as you see fit...
> 
> How should I allocate memory for short strings of, say, 15 characters or
> so without unnecessarily fragmenting the memory?   Should I request 1k
> chunks and doll it out as necessary?  And how small is too small?
> 
> Help from the experienced would be appreciated.  Thanks. (I'm talking 
> C of course. :)

I would just use malloc() or calloc(). On most systems this works just as you
suggested, that is, if you request 15 bytes, it actually gets a larger page
of memory from the OS and saves the rest for further calls of malloc().

-- 
Walter Misar                        It is impossible to enjoy idling thoroughly
misar@rbg.informatik.th-darmstadt.de       unless one has plenty of work to do.
From: epa@phys.ksu.edu (Eric P. Armstrong)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Enough talk. FILE: server.c
Date: 8 Jan 1993 08:18:42 GMT
Organization: Kansas State University
NNTP-Posting-Host: bohr.phys.ksu.edu

In <C0IyF5.9Gv@usenet.ucs.indiana.edu> shulick@navajo.ucs.indiana.edu (Sam Hulick) writes:

>Well, I've complained enough about memory leaks.  =u)  Here's the server
>I wrote that is faulty.  About 8k bytes are not freed, and I can't
>figure out why.

>   while (!done) {
>      WaitPort(myport); /* Wait for an incoming message. */
>      while ((msg = (struct FooMsg *)GetMsg(myport)))  /* Got one...! */
>      {
>  /* Ignore the catmsg stuff.  I have a 'send' program where you */
>  /* can send strings to the server, which keeps concatenating them. */
>  /* In this case, the 'send' client is irrelevant. */
>         if (strlen(catmsg) + strlen(msg->message) > 30)
>         {
>            if (EasyRequest(NULL, &ereq[SERVER_FULL], NULL))
>               strcpy(catmsg, "\0");
>            else
>               done = TRUE;
>         }
>         else
>         {
>            if (!(win = (struct Window *)OpenWindow(&newwin)))
>            {
>               Alert(AN_OpenWindow);
>               exit(0);
>            }
>            strcat(catmsg, msg->message);
>            Move(win->RPort, 10, 20);
>            Text(win->RPort, catmsg, strlen(catmsg));
>            sleep(3);
>            CloseWindow(win);
>            if (!strcmp(msg->message, "QUIT"))
>               done = TRUE;
>         }

You seem to have forgotten to ReplyMsg your message....
Try adding....  

	  ReplyMsg(msg);


>      }

--
Eric P. Armstrong 				epa@phys.ksu.edu
Newsgroups: comp.sys.amiga.programmer
From: mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst)
Subject: Re: Going to the metal
Keywords: Trash OS
Organization: Max-Planck-Institut f"ur Radioastronomie
Date: Mon, 11 Jan 1993 00:46:43 GMT

In <1993Jan10.210707.12797@cybernet.cse.fau.edu> spc@pineal.math.fau.edu (Sean 'Captain Napalm' Conner) writes:
>  I guess that if the 'hardware banger support library' is written well
>enough,

That is the key point: if it is written well enough. _If_, then there
won't be multiple versions of it. Compatible updates maybe but nothing
else.

>  What do you mean by that?  Does this mean that there are mod players out
>there where player A can play mod X, but player B can't?

Correct. Delitracker comes with a handful of different player routines
for the different variants of existing mod players and still does not
catch all.

Regards,
-- 
Michael van Elst
UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
                                "A potential Snark may lurk in every tree."
Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: ETA for SAS 6.2?
Originator: walker@twix.unx.sas.com
Date: Wed, 6 Jan 1993 14:03:26 GMT
Organization: SAS Institute Inc.


In article <1993Jan5.235702.14513@bohra.cpg.oz.au>, fisherc@bohra.cpg.oz.au (Craig Fisher) writes:
|> > We have a rather nasty bug that only occurs on 68040 machines 
|> > running 3.0 of the OS.  It has probably been in there all
|> > along, but is showing up with more regularity now.  We are
|> 
|> Could you please explain exactly how this bug manifests itself?
|> (I am using 6.1 on an A4000.)

|> | Craig Fisher                \ P.O. Box 686          |

After you compile for a while, the machine crashes.

We've only had one person report similar problems under 6.1, and
they were running an old version of 3.0.  They haven't gotten back
to us, so I assume that the new 3.0 fixed it.  However, it's
showing up regularly on two beta testers' machines with the
6.2 beta version, so we need to fix it before shipping 6.2.

-- 
  *****
=*|_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.
From: pruttman@cerebus.cc.edu (Pete Ruttman)
Newsgroups: comp.sys.amiga.programmer
Subject: question about images structures and getting the right colors
Date: 9 Jan 93 07:44:07 GMT
Reply-To: pruttman@cerebus.cc.edu (Pete Ruttman)
Organization: Carroll College-Waukesha, WI

After converting an iff file to c code I can put it in my program and it
appears correctly except that the colors are not right.  What do I have
to do it get the colors to be as they appear in deluxe paint?

Pete Ruttman
pruttman@cerebus.cc.edu
Newsgroups: comp.sys.amiga.programmer
From: svanegmo@cantor.math.uwaterloo.ca (Stephen Van Egmond)
Subject: ETA for SAS 6.2?
Organization: University of Waterloo
Date: Mon, 4 Jan 1993 17:21:28 GMT

I would like to know if there is any rough guesses as to the arrival date of
SAS 6.2.  I have a few projects in the works that are would benefit greatly
from the use of the math-co, which I can't get to at the moment.  This is just
a matter of curiosity, it's not earth-shatteringly important for me.

                                                                  ,,,
                                                                 (o o)
+------------------------------------------------------------oOO--(_)--OOo---+
| Stephen Van Egmond (Power Station)        svanegmond@descartes.uwaterloo.ca
| "Important to remember when dealing with people: it's `I think, therefore
|  I am,' and not `I am, therefore I think.'"
From: johnv@acix.DIALix.oz.au (John Verhoeven)
Subject: Re: Arexx question
Newsgroups: comp.sys.amiga.programmer
X-Newsreader: TIN [version 1.1 PL8]
Date: 10 Jan 93 16:41:58 WST
Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.

Aaron  Ramsey (aramsey@ugly.UVic.CA) wrote:
> I have a simple question about Arexx... I want for my Arexx program to
> sit and wait for say 3 minutes or so, and then continue on with the program.

Try the ARexx Delay() function from the rexxsupport.library (v34.9).

From the V1.15 update docs:

DELAY() Support Function.
Usage: DELAY(ticks)
The DELAY() function waits for the specified number of ticks (1/50 second)
and then returns.  This function should be used whenever you need to
suspend the execution of an ARexx program for some amount of time.  While
the program is waiting, the computer is free to execute other tasks.
Example:
call delay 100          /* two seconds */

Or failing that use:

address command 'wait 3 mins'

Newsgroups: comp.sys.amiga.programmer
From: dwmalone@maths.tcd.ie (David Malone)
Subject: Thanks on TEX
Summary: Thanks for Info on PasTeX and AmiTeX
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
Date: Thu, 7 Jan 1993 13:27:30 GMT

As I said Thanks for a prompt and consice response to my querie!

	Dave Malone (dwmalone@maths.tcd.ie)
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Flushing Devices; C= doco (mutter!)
Date: 11 Jan 93 22:57:13 PST
Organization: BBS

> >   Note that "Avail FLUSH" has a bit of a bug anyway.  To flush it
> >   only tries to allocate 8 Meg(-1).  Problem is many machines now
> >   have 16meg or more so the allocate succeeds and no flush is
> >   done!
 
Yikes, I just verified that this is still true as of v38.  However,
the Workbench's "FlushLibs" menu item attempts 0x7fffffff bytes.
Newsgroups: comp.sys.amiga.programmer
From: aa302@Freenet.carleton.ca (Russell McOrmond)
Subject: Re: Going to the metal
Reply-To: aa302@Freenet.carleton.ca (Russell McOrmond)
Organization: The National Capital Freenet
Date: Fri, 8 Jan 1993 20:31:37 GMT


In a previous article, rock@lakes.trenton.sc.us (Rockerboy) says:
>The point here is that there could be an official library, with the 
>possibility of others being created that people found more useful.  (I, 
>for example, liked the requester.library over arp.)  Again, I believe you 

  You missed the point - Library IMPLEMENTATION diversity is a good thing,
but interfacing diversity is destructive.  The requestor libraries
are a good example.  There are usefull libraries which patch in and
replace asl.library, and then there are IMHO useless libraries that
require that the application use a different interface in order to get this
different environment.

  If you can't see the obvious magnitude in difference between
functionality diversity and interfacing diversity, go back to grade 2
programming.

>that insanity should prevail, rather, that there would be several, 
>perhaps three or four, popular libraries.  (Just as there are several 
>assemblers and C compilers:  people have different tastes.)  Admit it, 

  The code that these compilers generate all run on the same computer -
if you are proposing different implementations with a standard
interface, then we agree - Otherwise what you are suggesting is nothing
bug destructive.

>And what has this to do with the hardware.library consideration?  Nothing 
>at all, I suspect.

  The point of a .library is to provide a common interface to 
multiple implementations of some code.  When there is a
1-1 ratio of application and library compatability, the whole purpose
of writing the library is nullified and the .library code should just
have been put into the application itself.
-- 
 Russell McOrmond, Ottawa Ontario, Canada    | Standard Disclaimer applies.
 Freenet: aa302@freenet.carleton.ca (Faster) | WPL 'keeper of sources'.
 Home: rwm@Atronx.OCUnix.On.Ca,  1:163/109   | Libertyware Telecomunications.
Newsgroups: comp.sys.amiga.programmer
From: shulick@cineret.ucs.indiana.edu (Sam Hulick)
Subject: Looking for latest kd_freq stuff
Originator: shulick@cineret
Reply-To: shulick@cineret.ucs.indiana.edu
Organization: Vallen Software
Date: Mon, 4 Jan 1993 22:24:00 GMT


Hello.  I'm looking for the kd_freq stuff needed to program requestors
(in C).  I saw it on the net a long time ago, but can't find it now.
Thanks.

-- 
    // Amiga 3000   ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
   // 68030 25 MHz /__/\ \ My opinions wear combat boots.  Or whatever.
\\// OS 2.04       \__\/ / "Walk!  Not bloody likely.  I am going in a
 \/                     / taxi."  --George Bernard Shaw
Newsgroups: comp.sys.amiga.programmer
From: breese@monet.imada.ou.dk (Bjoern Reese)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: HostileTakeOver of Amiga OS
Date: 5 Jan 93 15:48:58 GMT
Organization: Dept. of Math. & Computer Science, Odense University, Denmark

In article <1993Jan4.193325.11793@cybernet.cse.fau.edu> spc@pineal.math.fau.edu  
(Sean 'Captain Napalm' Conner) writes:
>   I'm currently trying to write some code to take over the Amiga system from
> the OS, do what ever I want to the hardware, and then return the system back
> to the OS in as much of the same state as it was before I took it over.

Check out the text "howtocode2.txt" which can be ftp'ed from any
site with aminet (like ftp.wustl.edu - /pub/aminet/text/docs)
It tells you a lot about different pitfalls. An example of how to
obtain the VBR is sadly missing, but some proposals have been
posted to this newsgroup recently.

--

Bjoern Reese                   |     Email: breese@imada.ou.dk
Odense University, Denmark     |     Voice: +45 65 932 182 (private)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Arexx question
From: burton@latcs1.lat.oz.au (James Burton version 1340)
Date: Fri, 8 Jan 1993 03:27:50 GMT
Organization: Sit beside yourself in front of the train.

Though I turn, I cannot see you : 
>I have a simple question about Arexx... I want for my Arexx program to
>sit and wait for say 3 minutes or so, and then continue on with the program.
>How do I get ARexx to do that without~r using up much processor time?
>The loop that I tried didn't work too hot.  8-)  There must be a command
>that does this??? Anybody?  Thanks.
>
>Aaron Ramsey
>amramsey@sirius.UVIC.ca
>

Yes, I would be interested in this.
If you try to do the following
'c:wait' 50
from an AREXX program, it does not wait.
I suppose it backgrounds the shell task.
Can somebody please confirm this?
I find it extremely annoying.

James

p.s. the problem is nothing to do with 'wait' because
I wrote a C program which called Delay(atoi(argv[1])),
this worked perfectly from the shell, but no effect from AREXX.
-- 
	Personally Be Sideways, because of the tree of life.
	Don't let yourself become a leaf.
	Belittle the small, enlighten the rich.
From: plav@cup.portal.com (Rick M Plavnicky)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Arexx question
Date: Tue, 12 Jan 93 18:34:24 PST
Organization: The Portal System (TM)
Distribution: world
  <1993Jan11.160448.17530@samba.oit.unc.edu>

Todd_Lewis@unc.edu (Todd M. Lewis) writes:
>In article <73229@cup.portal.com> plav@cup.portal.com (Rick M Plavnicky)  
>writes:
>>in your ARexx code?  ticks is 50 or 60 per second, depending on your
>
>This is a common misconception.  Delay()'s ticks are always 1/50sec

Of course, this is true.  I stand corrected.

Cool .sig, Todd.


/* Rick Plavnicky   plav@cup.portal.com */
Newsgroups: comp.sys.amiga.programmer
From: mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst)
Subject: Re: OS 'Move/Draw' speed
Organization: Max-Planck-Institut f"ur Radioastronomie
Date: Fri, 8 Jan 1993 23:23:45 GMT

In <1ikc6nINNi3q@mercury.kingston.ac.uk> cs_e445@ceres (Vlod Kalicun) writes:
>I am writing a program which will do loads of writepixels (in C).
>Is it really that slow. (Haven't finished it yet tho.)

Yep, writing single pixels is slow. Mainly because it needs to convert
an x,y coordinate to memory addresses and probably do some clipping.
The function call itself also adds some overhead.

Regards,
-- 
Michael van Elst
UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
                                "A potential Snark may lurk in every tree."
From: crystal@glia.biostr.washington.edu (Crystal)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Subliminal Messages
Date: 4 Jan 93 23:37:35 GMT
Article-I.D.: glia.crystal.726190655
Organization: University of Washington
NNTP-Posting-Host: glia.biostr.washington.edu

In <Paul_Trauth.1bmv@agwbbs.new-orleans.LA.US> Paul_Trauth@agwbbs.new-orleans.LA.US (Paul Trauth) writes:

>In a message dated Sun  4 Jan 93  2:19, Sjchmura@kimbark.uchicago.edu (stev
>wrote:
> S> Paul_Trauth@agwbbs.new-orleans.LA.US (Paul Trauth) writes:

>>I remember one utility for the C64 that attempted to include a subliminal.
>>Every so often, it would flash, for one frame, the words "Support
>>Shareware!" at a point on the screen. Once i discovered this, i quit using
> S>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>it...
> S> ^^^^
> S> Why?  Are you scared of your computer?

>No, i just don't want to use a utility that attempts to fuck with my tiny
>little mind. (Besides, Lynx was exceedingly bug-ridden anyway...)

There's no proof that subliminals even work anyway.  Much debate.  It's kinda
like astrology...some swear by it, and others swear AT it... ;>

Crystal
  ;>
Newsgroups: comp.sys.amiga.programmer
From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs)
Subject: Re: Amiga OS weaknesses and strengths
Organization: MIND LINK! - British Columbia, Canada
Date: Mon, 4 Jan 1993 22:31:49 GMT

In article <C0BJCq.MK9@news.iastate.edu> barrett@iastate.edu
(Marc N. Barrett) writes:

>   My beef with AmigaOS as a whole is that it seems to be crafted oppositely
>to the MacOS.  The Mac OS is not very pretty under the surface, but is VERY
>elegant on the surface.  The Mac OS on the surface has lots and lots of
>niceties, big and small. AmigaOS is more elegant under the surface, but is
>almost completely devoid of niceties on the surface.

>       Some of the problems could be solved with only minor modifications to
>the Amiga OS.

     This reminds me of that bumper sticker: "I may be fat, but
you're ugly, and I can diet."  At least the Amiga OS can be easily
improved.  It'll be a while before the Mac gets nice things like
pre-emptive multitasking, whatever Apple's R&D budget may be.

>   But, all in all, Commodore needs to pay *MUCH* more atrention to the
>surface details.  As the Macintosh has shown, what's under the surface does
>not matter as much if the outside looks really good.

     A sad but true fact of marketing.  But it doesn't even have to
look that good; look at all those IBM PCs and clones out there.  :-(

Charlie_Gibbs@mindlink.bc.ca
"It's lonely here, there's no one left to torture."  -- Leonard Cohen
From: skelly@amiganet.chi.il.us (Sean Kelly)
Newsgroups: comp.sys.amiga.programmer
Subject: Simple Question...
Date: 6 Jan 93 22:07:46 CST
Organization: Amiga Network Information Systems

 
 
     I am relatively new to C programming (been at it about 6 months) and
pretty much understand it with one MAJOR exception - WINDOWS!  I have written
about 20 or so programs all of which work fine, but most of which would be much
nicer if I could figure out how the hell to work with windows.  I have four
different books (three of which are Amiga specific) on C and none of them
really get into windows much.  Would someone mind posting a little code that I
could use as an example of how to send text to a window??  I know pretty well
how to define one, but have never been able to get any text to show up in
them...

%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%
%   Sean Kelly - Sysop Amizon BBS (312)594-1146                         %
%   Always looking for classic video games for the following systems:   %
%                                                                       %
%  Atari 2600-Atari 5200-ColecoVision-Atari 5200-Intellivision-Vectrex  %
%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware,comp.sys.amiga.applications,comp.sys.amiga.misc
From: shacha1@tau.ac.il (SHEMESH SHACHAR)
Subject: Re: Disassemblers? Anyone, anyone?
Followup-To: comp.sys.amiga.programmer,comp.sys.amiga.hardware,comp.sys.amiga.applications,comp.sys.amiga.misc
Organization: Tel-Aviv University Computation Center
X-Newsreader: TIN [version 1.1 PL8]
Date: Thu, 7 Jan 1993 10:26:49 GMT

Thomas Setzer (setzer@ssd.comm.mot.com) wrote:
: Does anyone know of a good dissassembler?  Public domain or otherwise.
: If PD, what ftp site?

: Do these dissassemble floating point instructions?

: Also, what is the latest version of lharc?


: Thanks

: Tom Setzer
: setzer@ssd.comm.mot.com
There is a commercial software called ReSource, that will show you the
assembly source, and also will help resolve the system library calls.
--
"Is it just me or has the world always been like that and I've been to
wraped up in myself to notice?" [Arthur Dent, THHGTTG]
Shachar Shemesh  (TheSun on IRC) shacha1@ccsg.tau.ac.il
My opinions are my own, not those of Commodore. In fact - I have
nothing to do with Commodore at all.
Newsgroups: comp.sys.amiga.programmer