HDTenEightyP/NetNews huggingface dataset:
From: ridder@zowie.zso.dec.com (Hans)
Subject: Re: Going to the metal
Organization: Digital Equipment Corporation - DECwest Engineering
Date: Mon, 4 Jan 1993 23:14:44 GMT

In article <lk1di9INNrsa@exodus.Eng.Sun.COM> cmcmanis@pepper.Eng.Sun.COM (Chuck McManis) writes:
>Hmm, you step away from the Amiga for a couple of years and the _same_ 
>arguments are still going on. Amazing!

Welcome back Chuck!

>--Chuck McManis			    Mr. NIS+			    Sunsoft

-hans
-- 
  Hans-Gabriel Ridder <ridder@rust.zso.dec.com>
  DECwest Engineering, Bellevue, Washington, USA
  "I'd rather be writing MACRO-20!"
  Any opinions expressed are not those of my employer, honest.
From: rock@lakes.trenton.sc.us (Rockerboy)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Going to the metal
Date: Tue, 05 Jan 93 01:37:52 EST
Reply-To: rock@lakes.trenton.sc.us (Rockerboy)
Organization: Lakes Public Access

mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst) writes:

> What I meant was that a 'hardware banger support library' as was suggested
> but which comes in lots of flavours is not acceptable. It is very likely
> that some program (game or demo or the like) will require a specific version
> (due to side effects or bugs in the version of the library that the programme
> used).

Mr. Van Elst, I am rapidly concluding that you are a fanatic who simply 
does not listen to reason!  _Why_, pray tell, would this idea not be 
benificial?  Why are you the one to determine what is acceptable, and 
what is unacceptable.  Many 'flavors' of libraries means many 
alternatives for people who use said libraries.  You are no longer 
discussing facts, Mr. Van Elst, you are simply being petulant.  Is it, 
perhaps, your intent to _prevent_ casual use of the Amiga to protect 
the corporate software behemoth from individuals and hobbyists?  ;)  I 
would like to know why you seem to imagine that, even given that certain 
releases might require certain libraries, that said release might not 
_include_ said library?  What _reasonable_ (read 'wants to get paid') 
designer would release a program, knowing full well that he had not 
included a vital library?  While it has been the case that some people 
release program requiring libraries that did not include, such libraries 
were commonly available, and could be easily acquired.

> Look at the number of slightly incompatible MOD players out there to
> get an idea of the problem.

I don't see that as a problem.  Do you play Dungeons and Dragons, Mr. Van 
Elst?  If so, take a look at the book tome of Magic, and look up the 
magic item called the 'Mirror of Simple Order'.  I believe you've been 
playing around with it...

By the way, I _dare_ you to post that kind of thought in audio!  It would 
start a war that would run for weeks!  Now, you want to see _real_ 
fanatics, step on someone's toes about his tracker.

That's why you have so many mod formats.
From: Leon@abcd.Houghton.MI.US (Leon)
Newsgroups: comp.sys.amiga.programmer
Subject: Busy file?  How do I wait?
Distribution: world
Date: 5 Jan 93 12:27:06 EST
Organization: Amiga BitSwap Central Dispatch

I've just written a program in a BBS environment.

Since I have three lines, it is inevitable that at SOME time, more than one
person will be using the program at the same time...  It reads from two
files and rewrites both of them...  Even though the run time is EXTREMELY
short, I know there are potential problems...

Right now, I'm just checking to see if the file opened successfully and if
not, I exit...  But that's not acceptable for the particular application--I
*NEED* to access the files...

Is there a CLEAN way to wait for the files to be closed before I try to
access them???  Is this was a file "lock" is all about???

I'm hoping there's an OS-level function I can call that will try to fopen()
and wait for success, assuming that the file was just 'busy' and there
weren't any other problems...

As I've said, the run-time is VERY short, so it won't hurt if subsequent
calls to the program must wait for previous calls to complete...  I just
don't want any conflicts...

Any help is GREATLY appreciated...

Thanks in advance...

Bi Bi...

\Leon

-- Via DLG Pro v0.995

______________________________________________________________________
|  o__ ----       \\ABCD///Amiga BitSwap Central Dispatch - DLG BB/OS!
| _.>/ _-------    \\BBS// 16K8bps - 3 Lines! - Fido/UUCP(906)482-8248
|(_) \(_)Leon Shaner\\\// <leon@abcd.houghton.mi.us> or <leon@mtu.edu>
|________[MTU - CTS] \\/  ...Non-Conformity is a virtue I hold dear...
From: amipb@amipb.gna.org (Philippe Berard)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Flushing unused devices out of ram , how ?
Distribution: world
X-NewsSoftware: GRn 1.16f (10.17.92) by Mike Schwartz & Michael B. Smith
Date: 11 Jan 93 14:45:01 MET
Organization: IWANIMA

In article <1993Jan6.104949.20894@philips.oz.au> gduncan@philips.oz.au (Gary Duncan) writes:
> Currently in a C-program I've done a :-
> Execute  ("Avail Flush >nil:", 0,0);
>
> 	which does the job but its a bit klugey.
>
> Why do I want to do this? Simply that if you open a device (for
> the first time ) then close it, it hangs around unused in RAM
> giving the impression of a memory leak.

    You must use an AllocMem(-1, MEMF_PUBLIC), this will flush all libraries
    and devices with an OpenCount set to 0.

    Sincerely,
                                   -- Philippe

.----------------------------------------------------------------------------.
|  Philippe Berard  (French Amiga User)       |                              |
|  "They hold a cup of wisdom,                | UseNet : amipb@amipb.gna.org |
|   But there is nothing within" (Kate Bush). |                              |
`----------------------------------------------------------------------------'
From: slhmz@cc.usu.edu
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Subliminal Messages
Date: 10 Jan 93 02:25:15 MDT
Organization: Utah State University

In article <C0KBtq.6zF@unix.portal.com>, cpc@shell.portal.com (Chris Cebelenski) writes:
> In article <19399@mindlink.bc.ca> Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs) writes:
>>In article <C0IMpJ.A5o@unix.portal.com> cpc@shell.portal.com
>>(Chris Cebelenski) writes:
>>
>>>multi-colored backgrounds.  My attention was immediately drawn to the
>>>static displays and I noticed that there were words faded into the patterns
>>>and colors.  I pointed this out to people around me and nobody could
>>>see these words.  (Example words "Peace", "Love", "Apple" (?), etc.)
>>
>>     Hmmm.  Any idea who sponsored this presentation?
>>
> No, I can't recall the name of the group.  I don't belive we were ever
> told.  We were just hearded in there like cattle and told to "watch this."
> Just your typical respect for high school age students. (no smilely)

  I remeber that!  I also saw the words, but nobody else could...
  The name of the production was, "Bridges", I *THINK*  Was a while ago...

--
Travis Carter


 
> 
>>Charlie_Gibbs@mindlink.bc.ca
>>Is it coincidence that the Mac was released in 1984?
>>
> cpc@shell.portal.com
> 
Newsgroups: comp.sys.amiga.programmer
From: graham@venus.iucf.indiana.edu (JIM GRAHAM)
Subject: Re: RexxARPLib question...examples?
News-Software: VAX/VMS VNEWS 1.3-4   
Reply-To: graham@venus.iucf.indiana.edu
Organization: Indiana University Cyclotron Facility, Bloomington, Indiana
Distribution:  world
Date: Mon, 11 Jan 1993 04:54:49 GMT

In article <1993Jan10.090903.3062@cnsvax.uwec.edu>, harderaf@cnsvax.uwec.edu writes...
> 
> 
>Hello all...
> 
>I am interested in putting together a GUI in ARexx, and I have recently
>downloaded RexxARPLib in order to do so.  Unfortunately I have had some
>problems getting any of the included example code to work... I have the newest
>version of RexxARPlib, and I downloaded the old version, too, so I could get
>more example ARexx scripts, but I couldn't get those to run, either.  
> 
>   I think one problem may be with the fact that the scripts assume I have a
>command in my path called "RUNWSH".  I guess this is a Wshell command and I
>don't have Wshell.  
> 
>  In slight desperation, I downloaded the newest version of APIG, but after
>installation, the included example scripts just locked up my shell without 
>ever displaying anything intuition-wise on the Workbench.
> 
>  Could some kind soul who is well-versed in the use of RexxARPlib or APIG
>e-mail a script (or set of scripts) that successfully opens and uses one (or
>both) of these libraries?  I would prefer RexxARPlib, I think, because it
>seems to have more features, although I would be very glad to have a working
>APIG-based ARexx script as well.

If I recall, the examples included with rexxarplib all expect the library
to already be open.

I believe that I made the included scripts work by inserting an open()
function at the beginning of the scripts.


Jim Graham 

        -> ->Disclaimer: I do not speak for my company. <- <-
                          Neither do they speak for me.
 ______________________________________________________________________
| Internet: graham@venus.iucf.indiana.edu                              |
|           dolmen!jgraham@moose.cs.indiana.edu                        |
| BBS:      The PORTAL DOLMEN BBS/ParaNet ALPHA-GAMMA (sm) (9:1012/13) |
|            (812) 334-0418, 24hrs.                                    |
|______________________________________________________________________|
From: mbs@adastra.cvl.va.us (Michael B. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: C++ novice quesions
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: 11 Jan 93 06:28:38 EST
Organization: Well, I haven't decided on a name yet...

In article <C0oA3B.LAC@well.sf.ca.us> comeau@csanta.attmail.com (Greg Comeau) writes:
> That's a hardish question to answer as it is g++ we're talking about
> and although it has 2.0, 2.1, and 3.0 additions to it, some are missing,
> they don't claim any specific spec conformance, and they have a number of
> non-standard/portable extensions.  And so on.

As if no-one else had any extensions? Or left anything out?  *sigh*

They've said that anything that doesn't working according to ARN they'll fix.
And when (if ever) ANSI finishes a C++ spec, they'll become conformant to it.
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: LoadView(0) and sprites: bug in kickstart?
Date: 8 Jan 93 20:39:55 PST
Organization: BBS

> > Now, I LoadView(0) and thought all was ok until a friend of mine
> > tested it on his 4000 and said 'seriously slim sprite of yours'.
> > He use a superhires pointer and my sprite was displayed in
> > superhires too.
 
> Just before taking over the hardware (well, branching your copper
> list), and BEFORE calling LoadView(0), open a simple, lowres
> screen, using OpenScreen from intuition.
 
> Limit the bitmaps to 1 bitplane, and as small as possible to avoid
> loss of memory. But after all, any AA machine have got 2 megs
> minimum.
 
It's not uncommon for screen blankers and such to open screens using
zero bitplanes.  I wonder if this is officially legitimate and
supported as a way to create a one-color display of a given
resolution.
Newsgroups: comp.sys.amiga.programmer
From: Todd_Lewis@unc.edu (Todd M. Lewis)
Subject: Re: Hardware bashing demo takes an OS friendly turn.
Organization: UNC Office of Information Technology
Date: Mon, 11 Jan 1993 16:26:25 GMT

In article <1993Jan8.150112.18376@imada.ou.dk> breese@monet.imada.ou.dk (Bjoern  
Reese) writes:
>Thanks to everybody who replied that WaitBlit() preserves the
>scratch registers (condition codes doesn't matter). Now I will
>definitely use WaitBlit().

It was either Peter Cherna or Chris Green (I think) who gave
a list of six tips for hardware coders:
  1) Use WaitBlit().  2) Use WaitBlit().  3) Use WaitBlit().
  4) Use WaitBlit().  5) Use WaitBlit().  6) Use WaitBlit().
He convinced me.  I sometimes open graphics.library, call WaitBlit()
a few times, then close the library--even if I'm doing no graphics!
I feel better about my programs, and they run just great!  :-)  :-)
--
 _/_/_/  _/     Todd_Lewis@unc.edu          You can lead a horse to 
  _/    _/     utoddl@guitar.oit.unc.edu   Mohammad, but you can't make
 _/    _/_/_/                             a mountain drink a mole hill.
Newsgroups: comp.sys.amiga.programmer
From: sheun@cs.city.ac.uk (Sheun Olatunbosun)
Subject: Postscript driver on WB3.0
Organization: City University
Date:  8 Jan 93 09:12:29 GMT

Problem

Could somebody tell me if I'm doing something wrong here.

I want to do a graphic dump of the workbench screen to a laser printer. The 
steps I take are

1. Select printer using Printer/PrinterGfx  printer preference editors.
2. Select postscript output by using PrinterPS <ppe> 
   (...therefore overriding any option made in 1.)
3. Use the CMD tool to redirect printer output to a file.

4. Move file to MS-DOS formatted disk.
5. Upload file at University and send to laser printer.

After reaching step 3, I view the created file. It is unreadable! Basically,
I thought that the file would contain device independent (DVI) o/p which 
could be sent to any postscript printer. A bit like the following...

-----------------------------------------------------------------------------
%!PS-Adobe-3.0
%%Creator: groff version 1.04
%%DocumentNeededResources: font Courier
%%DocumentSuppliedResources: procset grops 1.04 0
%%Pages: 1
%%PageOrder: Ascend
%%Orientation: Portrait
%%EndComments
%%BeginProlog
%%BeginResource: procset grops 1.04 0

/setpacking where {
	pop
	currentpacking
	true setpacking
} if

/grops 120 dict dup begin 

% The ASCII code of the space character.
/SC 32 def

/A /show load def
/B { 0 SC 3 -1 roll widthshow } bind def
/C { 0 exch ashow } bind def
/D { 0 exch 0 SC 5 2 roll awidthshow } bind def
/E { 0 rmoveto show } bind def
/F { 0 rmoveto 0 SC 3 -1 roll widthshow } bind def
/G { 0 rmoveto 0 exch ashow } bind def
/H { 0 rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
/I { 0 exch rmoveto show } bind def
/J { 0 exch rmoveto 0 SC 3 -1 roll widthshow } bind def
/K { 0 exch rmoveto 0 exch ashow } bind def
/L { 0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
/M { rmoveto show } bind def
/N { rmoveto 0 SC 3 -1 roll widthshow } bind def
/O { rmoveto 0 exch ashow } bind def
/P { rmoveto 0 exch 0 SC 5 2 roll awidthshow } bind def
/Q { moveto show } bind def 
/R { moveto 0 SC 3 -1 roll widthshow } bind def
/S { moveto 0 exch ashow } bind def
/T { moveto 0 exch 0 SC 5 2 roll awidthshow } bind def

% name size font SF -


etc,etc,etc
-------------------------------------------------------------------------

Have I misinterpreted the use of the PrinterPS tool on Workbench3? The manual
helps but not enough. Any input from this group would be appreciated.

Sheun
From: dnavas@oracle.uucp (David Navas)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: RKM description of WaitPort()
Date: 7 Jan 93 23:08:44 GMT
Organization: Oracle Corporation, Redwood Shores CA
X-Disclaimer: This message was written by an unauthenticated user
              at Oracle Corporation.  The opinions expressed are those
              of the user and not necessarily those of Oracle.

In article <1993Jan7.201052.13703@samba.oit.unc.edu> Todd_Lewis@unc.edu (Todd M. Lewis) writes:
>I've used this dozens of times, but the other day I was getting
>messages from port 1 faster than I could process them so that
>I never got around to processing port 2's message, an act which
>would have made port 1's messages stop comming.  A busy dead-lock.
>Now I do something like this:

Yep, the "simple" way to deal with message processing can cause problems --
particularly if you've done something weird like take apart loops in your
code and send a message to yourself to compute the next part of your loop
(useful for handling things like ARexx-quit, ^C, window-close, etc. messages).

Todd's code works perfectly well, another way to do it is to grab all of
the messages off of one port into a local list, and all of messages off the
second port into a separate local list, and then pull the messages back off
the local lists.

Whichever floats your boat, so-to-speak.

I prefer the latter because I can think of things as taking a "snapshot"
of the current port contents and then dealing with those contents -- but that's
just because I had to write a library that had to take into account some
very bizarre programmer/user itneraction :)  The only advantage I really
see is a pseudo-chronological coherency, which is most often not terribly
useful.

Comments?

David C. Navas						dnavas@oracle.com
Working for, but not speaking on behalf of, Oracle Corp.
Newsgroups: comp.sys.amiga.programmer
From: silvera@ghost.dsi.unimi.it (paolo silvera)
Subject: Here it is how to manipulate the cursor in a string gadget under gadtools.library
Organization: Computer Science Dep. - Milan University
Date: Mon, 11 Jan 1993 18:06:24 GMT

For Douglas Stockman:
 If you want to control the position of the cursor of a string gadget
 you have to refer to the StringInfo struct associated with the struct Gadget *
 (your own string gadget..) and to select the BufferPos (or PosBuffer, I do not remember well).
 Look into the include file intuition.h into the struct StringInfo declaration.
 If you set this field you can control the position of the cursor into the strgadget.

Newsgroups: comp.sys.amiga.programmer
From: mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst)
Subject: Re: ResEdit 2.1 for Amiga
Organization: Max-Planck-Institut f"ur Radioastronomie
Date: Wed, 6 Jan 1993 14:31:32 GMT

In <C0F23w.7z7@news.iastate.edu> barrett@iastate.edu (Marc N. Barrett) writes:
>   OK, call it "ChunkEdit".  :-)  The Amiga does have chunks, which are similar
>to resources on the Mac. 

Name it IFFedit which of course has nothing to do with Mac resources but
would be a structured editor like ResEdit for a different purpose.

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: dwmalone@maths.tcd.ie (David Malone)
Subject: Re: How to get SAS/C 6.0 educational price
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
Date: Sun, 10 Jan 1993 17:24:07 GMT

walker@twix.unx.sas.com (Doug Walker) writes:


>In article <C0HzsL.FAp@DMI.USherb.CA>, vailm00@DMI.USherb.CA (MARC VAILLANCOURT) writes:
>Send some kind of proof that you're a student or professor - 
>perhaps a class schedule with your name on it, or a xerox of
>a student ID - and $197.50 to the address below.

>USA:

>SAS Institute, Inc.
>Book Sales
>SAS Campus Drive
>Cary, NC 27513
>USA

>Phone (919)677-8000
>Fax   (919)677-8123

Do HiSoft cover the European end of this offer or do it exist for
european mortals ?

	Dave Malone (dwmalone@maths.tcd.ie)
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SASC 6.1 Wrong Protos
Date: 5 Jan 93 16:05:05 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <1993Jan5.132317.16555@ghost.dsi.unimi.it> labenrsa@ICIL64.CILEA.IT writes:
>How about an include:compiler.h file (a' la iff) with things like
>#define STDARGS __stdargs
>that could be provided by the compiler manufacturer, or which could
>be replaced to adapt to a new compiler? Then the proto files could
>have things like VOID ASM foo (RG(a0) APTR bar);

We've talked about just that sort of thing.

>I *may* be wrong, but slink complained it couldn't find it in
>the Amiga.lib that comes with SASC6.1. I was compiling with stdargs,
>so I had those underscores in symbols. Too bad doing an OML over
>amiga.lib is so slow (unless you have an A4000).

Try version lib:amiga.lib and see what it reports.  I see HookEntry
in the amiga.lib that came with SAS/6.

>			Andy

     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.
"Opinions enlarged to show detail"
Newsgroups: comp.sys.amiga.programmer
From: jamie@cdevil.unx.sas.com (James Cooper)
Subject: Re: Please help....SAS 6.0 question...:(
Originator: jamie@cdevil.unx.sas.com
Date: Thu, 7 Jan 1993 14:14:49 GMT
Organization: SAS Institute Inc.


In article <C0GIn3.D8v@ccu.umanitoba.ca>, umbadiu0@ccu.umanitoba.ca (Ted Babiuk) writes:
>
>Help!
>
>I just got the 6.0 (not 6.1!!!! argh!) update and have transfered some
>code over from a program I wrote using 5.10....
>
>Everything works fine (and faster! :) :) :) ) EXCEPT for my CreateTask()
>statement that creates a child task....The line that creates the task
>seems to crash the machine....(p.s.: as a note, my task is declared with
>saved_ds...)....
>
>Why does my createtask statement work in 5.10 and NOT in 6.0??????????????

I have no idea... how about some sample code?

-- 
---------------
Jim Cooper
(jamie@unx.sas.com)                             bix: jcooper

Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
and not necessarily those of my employer.
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: RKM description of WaitPort()
Date: 7 Jan 93 16:37:11 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <1993Jan7.122222.9718@aristo.tau.ac.il> shacha1@tau.ac.il (SHEMESH SHACHAR) writes:
>
>Does waking up from Wait() clear the signal that caused the waking up,
>or should I manually clear it with SetSignal 

>how am I to
>construct a program that is to wait on sevral ports, if I want it
>never to enter a busy loop in which it keeps waking up because of a
>messageport with no more messages, but with a leftover signal set?

Wait() and WaitPort() clear the signal.  GetMsg() does not.  You
should normally never need to call SetSignal() if you're using
messages.  Try this to handle messages from two ports:

	struct MsgPort *mp1 = your first message port;
	struct MsgPort *mp2 = your second message port;

	sigmask1 = 1 << mp1->mp_SigBit;
	sigmask2 = 1 << mp2->mp_SigBit;

	while ( !done )
	{
	    sigmask = Wait( sigmask1 | sigmask2 );
	    if ( sigmask & sigmask1 )
	    {
	        while ( msg1 = GetMsg( mp1 ) )
	        {
	            handle messages from port 1 ...
	        }
	    }
	    if ( sigmask & sigmask2 )
	    {
	        while ( msg2 = GetMsg( mp2 ) )
	        {
	            handle messages from port 2 ...
	        }
	    }
	}

>Shachar Shemesh  (TheSun on IRC) shacha1@ccsg.tau.ac.il

     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.
"Opinions enlarged to show detail"
From: ag@hpopd.pwd.hp.com (andy garton)
Date: Thu, 7 Jan 1993 10:38:42 GMT
Subject: Re: AMOS - is it any good?
Organization: Hewlett-Packard SSG/CSY-PWD, UK.
Newsgroups: comp.sys.amiga.programmer

When can we expect a version of AMOS which supports AGA?

Andy
ag@hpopd.pwd.hp.com
Xref: sparky comp.sys.amiga.programmer:18356 comp.sys.amiga.applications:9854 comp.sys.amiga.misc:19617