HDTenEightyP/NetNews huggingface dataset:
From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Need a variable text to drift around a window. Intuitext or Gadget?
Date: 6 Oct 92 19:20:44 GMT
Organization: Edotronik GmbH

In article <vp3-TLC@engin.umich.edu> chymes@uri.csmil.umich.edu (Charles Hymes) writes:
>I am deathly afraid of the graphics primitives, I know almost nothing
>about them, and I would like to keep it that way. But is my paranoia
>unfounded?  Would the low level stuff be the best approach?

They are not worse than IntuiTexts ;-) You could erase your text by
changing pens to background color and redrawing it. That'll give you some
flicker. Or you JAM2 it at the new position and clear the area above and
below with an empty rectangle (Image or RectFill()). That doesn't give you
any flicker.

>Charlweed Hymerfan

--

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: forgeas@swinjm.adsp.sub.org (Jean-Michel Forgeas)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Nextlike
Date: 9 Oct 92 08:55:07 GMT
Reply-To: forgeas@swinjm.adsp.sub.org (Jean-Michel Forgeas)
Organization: The Software Winery
X-Newsreader: Arn V1.00 alpha rel2

In article <1992Oct7.164031.11237@ugle.unit.no>, Marius Mortensen writes:

> In article <geoWOK_00WB=FOT4dr@andrew.cmu.edu>, Jonathan Michael Kraly <jk72+@andrew.cmu.edu> writes:
>  >    Does anybody know if there is a PD util out that makes ADOS
>  > move full windows, not just the flickering outline, like the Next
>  > does?

I beleive it's called "TurboLayer", but don't know were to find it...

Jean-Michel
--
Jean-Michel Forgeas         uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas
4 rue du General Leclerc                       __
95210 Saint Gratien, France                    \/
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Sharing include files btw gcc and SAS/C 6.0
Date: 9 Oct 92 18:10:48 PST
Organization: BBS

> I'd rate the changes are there that disk repair tools not
> explicitly aware of hardlinks might do evil things to partitions
> using them... This might be paranoia, but I don't like hard links;-)
 
Speaking from experience, I think the worst thing you'll see happen
is that the hard link itself will be treated as an error and the 
"original" version of the file or directory will be undamaged.
 
One problem I found with Quarterback Tools 1.5 was that anything
following an unrecognized directory block (either kind of link) in
the hash chain will be lost.
 
I see no serious reason why hard links should be avoided more than
soft links.  In fact it is soft links that are more likely to cause
trouble for some kinds of programs, by confusing them about things
like what volume a file is on and whether it is really a file when it
thought it was a directory, etc.  This is probably why hard links are
officially endorsed and soft ones aint -- because of these risks.
From: Klaus_Seistrup@magneto.bbs.bad.se (Klaus Seistrup)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Execute() Question
Date: 12 Oct 92 20:56:06 GMT
Reply-To: Klaus_Seistrup@magneto.bbs.bad.se (Klaus Seistrup)
Organization: Magnetic Ink, Copenhagen N, Denmark
OD-Comment-To: John_Tillema


  Hi John.

[12-Oct-92: Tillema/All]

 JT> I have been looking at the Execute() command recently, and have run
 JT> into a problem.  What do you use for the file handles?  It wants a
 JT> BPTR to them, would '(BPTR) stdout' work?  

Nah, you would like to use "Execute(cmdStr,Input(),Output())" instead. :-)


  Bliss!

   /\                        : *** Magnetic Ink ***  .  FidoNet   2:230/119
  / kleis@magneto.bbs.bad.se : Ahornsgade 8A, 1.TH. -*- Tel: +45 35-372-171
 /____\                      : DK-2200 Copenhagen N  |  AmigaNet 39:141/110

 * *** "Walking back through the hills of dry grass - coming upriver" *** *

---
Newsgroups: comp.sys.amiga.programmer
From: aduncan@rhea.trl.OZ.AU (Allan Duncan)
Subject: Re: SAS/C 6.0 and WShell
Organization: Telecom Research Labs, Melbourne, Australia
Date: Thu, 8 Oct 1992 01:47:57 GMT

From article <67312@cup.portal.com>, by Fred_M_Hamilton@cup.portal.com:
> 
> 
> A few days ago, someone (Doug?) wrote: 
> 
>> Ah, we have just discovered something.  If you use WShell as your
>> default user shell under 2.0, compiling from within SE does not
>> work.
> 
> 
> Does anyone know why?  Is there a workaround, short of removing WShell?
> Has Bill Hawes been advised?  
> 
> Other than that minor annoyance, I'm very impressed with SAS/C 6.0.
> I find the manuals much more readable and understandable than <=5.1,
> and the overall environment seems much cleaner.  Good job!

I'd class that as a _major_ bug :-)

Allan Duncan		ACSnet	 a.duncan@trl.oz
(+613) 253 6708		Internet a.duncan@trl.oz.au
Fax    253 6664		UUCP	 {uunet,hplabs,ukc}!munnari!trl.oz.au!a.duncan
    Telecom Research Labs, PO Box 249, Clayton, Victoria, 3168, Australia.
From: dlarson@cbmvax.commodore.com (Dale Larson - Product Assurance)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Sharing Library bases (Was: Re: Multithreaded code using CreateTask())
Date: 13 Oct 92 13:44:11 GMT
Reply-To: dlarson@cbmvax.commodore.com (Dale Larson - Product Assurance)
Organization: Commodore, Systems Assurance, Amiga Systems Group

In article <jbickers.0gse@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
>Quoted from <1992Oct12.124254.20103@rz.uni-karlsruhe.de> by ry53@rz.uni-karlsruhe.de (Angela Schmidt):
>
>> Nice idea to be compatible by not sharing library bases - but how
>> should I realize this in practice?
>
>    Not sure what you mean by being "compatible", but I think you
>    shouldn't worry about it. If enough people ignore this sort of
>    thing, then the writers of libraries will avoid such crankpot
>    schemes.

I think I've posted on this a half-dozen times by now.

IT IS NOT LEGAL TO SHARE ARBITRARY LIBRARY BASES BETWEEN PROCESSES.  IT NEVER
HAS BEEN AND NEVER WILL BE.

As long as the Amiga has had math libraries, there have existed libraries which
do not allow their bases to be shared by multiple tasks.  From the current RKM:

	OPEN EACH LIBRARY SEPARATELY.  Each Task using an IEEE math library
	must open the library itself.  Library base pointers to these libraries
	may not be shared.  Libraries can be context sensitive and may use the 
	Task structure to keep track of the current context.  Sharing of library
	bases by Tasks may seem to work in some systems.  This is true for any
	of the IEEE math libraries.

Now, it happens to be the case that Exec, Intuition and other ROM-resident 
libraries are quite unlikely to ever return different library bases to different
openers and can probably be shared even though it is not strictly legal to do
so.  Avoid doing so.  There are libraries which *must* return a different
library base.  "Crankpot" or not, it is sometimes the only reasonable way. 
This isn't going to change whether you agree with it or not.

>
>    The other solution with DICE is to re-write your glue so that
>    instead of assuming the existence of FooBase, you give the routine
>    the library base as a parameter, as in:
>
>        Draw(GfxBase,rp,x,y);
>
>    This means you have to write your own glue routines, which is a
>    pain.

The easiest way to realize this is to use pragmas for system calls and to have
the library bases be local, rather than global, in scope.  I don't know whether
DICE supports pragmas for system calls.  You must, of course, avoid most of
amiga.lib if you do this.


>
>>     00 &=-          Angela 
>--
>*** John Bickers, TAP.                   jbickers@templar.actrix.gen.nz ***
>***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***


-- 
Dale Larson, Software Engineer
dlarson@commodore.com
From: langston@memstvx1.memst.edu (Mark C. Langston)
Newsgroups: comp.sys.amiga.programmer
Subject: Compilers for various microprocessors?
Date: 8 Oct 92 01:16:43 -0600
Distribution: world
Organization: Memphis State University

  What compilers/developers/simulators are available for the Amiga for
various microprocessors?  I would be particularly interested in Motorola's
6811 chip, but 6502, 8088, and any others would also pique my interest.
Preferably, I would like to know filenames and/or ftp sites.

Also, if anyone has any schematics for controller boards and hookups to the
Amiga's rs232 port for various chips, I'd also be interested (PostScript
files are fine, but I'll also contribute to the death of a tree and read
paper!  :^)   )

Thanks,



-- 
+--------8<------Cut Here------8<------Cut Here------8<------Cut Here---------+
  Mark C. Langston   |  "Secrecy is the beginning of tyranny."                 
  Psychology Dept.   |  "Always listen to experts.  They'll tell you what can't
  Memphis State U.   |     be done, and why.  Then do it."                      
      "Pftph!"       |           -From the notebooks of Lazarus Long
From: dvsg0223@uxa.cso.uiuc.edu (David Salamon)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Accessing the IBM slots through Amiga Dos programs...
Date: 17 Oct 92 00:24:40 GMT
Article-I.D.: news.Bw8p55.942
Organization: University of Illinois at Urbana

mucci@circle.cs.jhu.edu (Philip Mucci) writes:

>	Forgive me if this question seems a bit niave but... Is it possible
>to write software drivers usable in Amiga Dos for the IBM slots
>without owning a bridgeboard of some kind? I would really like to write a 
>new device driver that would allow me to access an IBM internal 9600 baud
>modem. Is this possible?

Only with some hardware.  The options at the moment are a bridgeboard, in
which case you lose the ability to use the IBM slots as Amiga devices,
or.....my new GoldenGateII bridgecard.  With my board, you can access
most non-DMA IBM cards as Amiga devices.  Dan Babcock has already written
a serial and parallel driver to run IBM internal modems and IO cards.  

I'll be posting more info on my new board in a few weeks.  I'm getting set
to beta test this thing now.

>P.s. Has anyone noticed how few internal modems there are for the amiga?
>has anyone also noticed that the internal ones are MORE EXPENSIVE than
>the external ones? I think thats interesting...

I think my board will fix this.

David

--------------------------------------------------------------
David Salamon                Physics Graduate Student (Slave)
d-salamon@uiuc.edu           University of Illinois
--------------------------------------------------------------
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Timer programming
Date: Fri,  9 Oct 92 06:09:44 PDT
Organization: The Portal System (TM)

The RKM has a whole chapter on the timer.device.  Also you might
get a copy of fish disks 691-695 and look at the Cmanual files, 
there are examples of nearly everything.  Another source is the
RKM examples files.  They contain the RKM example sources.  All
these have examples of the timer.device.

Nearly all the devices work the same general way.  You allocate
a port(CreatePort), you create an I/O Request(CreateExtIO), you
open the device(OpenDevice).  Now you can send requests to the 
device(SendIO, DoIO).  The timer.device works the same way.
The RKM is very good in this area.
From: bh00+@andrew.cmu.edu (Brian Hawkins)
Newsgroups: comp.sys.amiga.programmer
Subject: Haitex address
Date: 15 Oct 92 07:35:04 GMT
Article-I.D.: andrew.gerMyca00iUz02dZNa
Organization: Freshman, MCS general, Carnegie Mellon, Pittsburgh, PA

Does anyone know an email address for Haitex? (makers of X-Specs3D glasses)
Please send email to bh00@andrew.cmu.edu

Thanks,

Brian Hawkins
From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: How to insert chars into a STRGADGET?
Date: 6 Oct 92 19:27:51 GMT
Organization: Edotronik GmbH

In article <BvnuFu.Dwq@undergrad.math.waterloo.edu> pejanes@descartes.uwaterloo.ca (Peter Janes) writes:
>A STRGADGET question...
>
>I'd like to be able to insert a character into a STRGADGET at the
>current position by clicking a BOOLGADGET, so I'm messing with the
>StringInfo.Buffer and StringInfo.BufferPos fields.  The user should be
>able to insert the character at any time--whether the gadget is empty or
>contains text, and whether the cursor is at the beginning, in the middle
>or at the end.

Have your BOOL gadget trigger a routine on IDCMP_GADGETDOWN that adds an
input event for that character into the event chain of input.device.
Absolutely legal. Oh, well, don't forget about the current keymap!

> Peter Janes			     | "You _do not_ like green eggs and ham."

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: robertm@terapin.com (Robert Michaels)
Newsgroups: comp.sys.amiga.programmer
Subject: ***HELP*** CreateNewProcTags
Date: 8 Oct 92 20:20:23 PST
Organization: BBS

I've been trying for the last couple of weeks to get what should be a simple
part of a program I'm writing to work.  The idea is that my program has to be
able to display a requester via EasyRequest while simultaneously reacting to
timer and MsgPort events.  I know that there is a way to do this using a
special form of the EasyRequest call, but I would prefer to spawn a temporary
process to do this instead.  And I will need to be able to do this later on for
other reasons.  So I want to use CreateNewProcessTags to cause a C function to
be spawned as a process that exits at the completion of that function.  Here's
what the code looks like.


void LaunchAbout(void)

{
   if (!aboutproc)
     
aboutproc=CreateNewProcTags(NP_Name,"FBBSAboutTask",NP_Entry,DoAbout,NP_StackS
ize,4000L,TAG_DONE);
}


where DoAbout looks like:

void __saveds DoAbout(void)

{
     ...code to do the function...and display requester...
   aboutproc=NULL;
}


But this just does not seem to work.  Firstly, CreateNewProcTags does seem to
create a process, but the process defaults to the name "NewProcess" as if the
NP_Name parameter were not being used at all.  Secondly, the spawned process
immediately gurus with an "Illegal Instruction" error.  This would lead me to
believe that the NP_Entry parameter were either incorrect or not being used
either.  So what gives?  I've examined the source for Term 2.3 which uses 
CreateNewProcTags to spawn a process and I've tried numerous variations and
minor changes to attempt to get it to work, all to no avail.  If anyone has
successfully managed to use CreateNewProcTags to work, please post an
abreviated version of your source and/or any hints, tips or ideas as to what is
wrong with the above code.  Incidently, I'm using SAS/C 5.10b.  I'm at the
point where unless someone can give me an idea I'm going to come to the
conclusion that CreateNewProcTags has a fatal error in it.  (Now this couldn't
be true, now could it?)
Newsgroups: comp.sys.amiga.programmer
From: vesty@inmet.camb.inmet.com (Matt Vesty)
Subject: RCS-Where is it?
Organization: Intermetrics Inc, Cambridge MA
Date: Thu, 8 Oct 1992 00:57:39 GMT

Where can the latest version of RCS be found (that I can FTP)?

Thanks

-- Matt Vesty
From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  Multithreaded code using CreateTask()
Date: 6 Oct 92 18:38:32 GMT
Organization: Edotronik GmbH

In article <1992Oct5.151328.22908@samba.oit.unc.edu> Todd_Lewis@unc.edu (Todd M. Lewis) writes:
>restriction.  If new libraries are going to require each
>task/process caller to open them, then this should be made clear by
>having a new Exec call like OpenPerTaskLibrary(). OpenLibrary() is

No! See below...

>shared easily among tasks.  OpenLibrary() should fail to open
>libraries that impose more restrictions than "normal" libraries.
>Otherwise things are going to start breaking.

If people use libraries without reading the docs it's ok that things break.
You don't need a new OS call just because somebody is too lazy too document
certain things or somebody else is too lazy to read those docs ;^)

>Todd M. Lewis / Todd_Lewis@unc.edu / utoddl@guitar.oit.unc.edu

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: csg019@cck.coventry.ac.uk (-~=Zaphod=~-)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: DevPac 3.01
Date: 16 Oct 92 09:53:12 GMT
Organization: Coventry University

In article <kehlet.06rl@kehlet.adsp.sub.org> kehlet@kehlet.adsp.sub.org (Jesper Kehlet) writes:
>Hi,
>
>in search of an assembler, that suits my needs, I got a DevPac 3.01 from
>the locale dealer.  I have a test copy of it, since I'm not going to buy
>it until I find it the best (and until I've tried out HX68).
>
>It's really fast and all that, but one thing I can't figure out (and
>believe me, I've browsed through the ENTIRE manual, phew!) is how to
>declare a section as chip load.
>
>Any of you figured that out or should I return it and go for the HX68
>instead?

Try this:

SECTION anyname,CODE_C

That should work.

-- 
******************************************************************************
*        ///  O O   A member of S.H.I.T. (Super High Intelegence Team)  ///  *
*       ///    u    Fight, defeat and kill organized laming.           ///   *
****\\\X//****\-/********csg019@uk.ac.cov.cck ok ?**************** \\\X//*****
Newsgroups: comp.sys.amiga.programmer
From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
Subject: Re: IDCMP
Organization: Jet Propulsion Laboratory
Date: Fri, 9 Oct 1992 16:41:49 GMT

In article <Bvu6pz.JMs@fiu.edu> xnybpf01@serss0 (Brian P Feeny) writes:
>
>	I have a question that I hope someone can help me with.  I need to 
>write a routine that basically waits for a disk to be inserted.  This routine
>will run in the background at all times.  I do NOT wish for this routine to
>open a window.  So how do I get IDCMP messages when I dont have a MsgPort
>connected to a window?  I would like this program to be ran, and then you can
>just get on with your work, when a disk is inserted, the progm will hear
>about this, yet be quiet that it knows.  Some direction in C please.
>
>						Brian
>-- 
>Brian Feeny - Systems Programmer - UNIX System Security Specialist
>   __
>__///          Internet: signal@phantom.com       "Grep me no patterns and
>\XX/ AMIGA!              xnybpf01@serss0.fiu.edu   I'll tell you no lines"

	An Input Handler would do the trick, because a disk insertion input
event is generated whenever a disk is inserted. Your background program
wouldn't have to deal with Intuition at all.

jeff




Newsgroups: comp.sys.amiga.programmer
From: matija@avalon.physik.unizh.ch (Matija Milostnik)
Subject: Re: Version strings
Summary: Version string
Keywords: version
Organization: Informatik Club d. Universitaet, Zuerich
Date: Fri, 16 Oct 1992 17:11:20 GMT

In article <alien.00e9@acheron.amigans.gen.nz> alien@acheron.amigans.gen.nz (Ross Smith) writes:
>Does anybody know how to put a 'version string' into a program (so that the
>'version' command can find it)? I've got all three 2.0 RKMs but I can't find
>any reference to the subject; the version.library isn't even mentioned. Is it
>some kind of 'trade secret' that only Real Developers are allowed to know?

 "$VER: Name Version.Revision (dd.mm.yy)"

Found in 'Amiga User Interface Style Guide    ISBN 0-201-57757-7'

Bye
  Matija
>...... Ross Smith (Wanganui, NZ) ...... alien@acheron.amigans.gen.nz ......
-- 
Best regards from Matija Milostinik           : matija@avalon.ifi.unizh.ch  
                                              : matija@amiga.physik.unizh.ch
Therefore, use local labels in the procedures as often as possible. 
Save the environment!  Recycle!  ;-)                 (Bjoern Reese)
From: kehlet@kehlet.adsp.sub.org (Jesper Kehlet)
Newsgroups: comp.sys.amiga.programmer
Subject: DevPac 3.01
Date: 13 Oct 92 11:38:12 GMT
Organization: Compos Mentis Software Systems
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

Hi,

in search of an assembler, that suits my needs, I got a DevPac 3.01 from
the locale dealer.  I have a test copy of it, since I'm not going to buy
it until I find it the best (and until I've tried out HX68).

It's really fast and all that, but one thing I can't figure out (and
believe me, I've browsed through the ENTIRE manual, phew!) is how to
declare a section as chip load.

Any of you figured that out or should I return it and go for the HX68
instead?


-- 
     Jesper Kehlet, Compos Mentis Software Systems -- A Kind Of Magic
        (uunet|pyramid|rutgers)!cbmvax!cbmehq!cbmden!kehlet!kehlet
                        kehlet@kehlet.adsp.sub.org

           'The lunatic is in my mind' -- Pink Floyd, Dark Side
From: tell@rukbat.cs.unc.edu (Stephen Tell)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: breaking programs under pdksh (920711 port)
Date: 8 Oct 92 02:45:30 GMT
Organization: The University of North Carolina at Chapel Hill

In article <1992Oct4.220206.4324@bernina.ethz.ch> wild@nessie.cs.id.ethz.ch (Markus Wild) writes:
>In article <1992Oct3.230652.3125@panix.com> drw@panix.com (Douglas Williams) writes:

>>The only problem I have is that programs invoked from the shell cannot
>>be broken, whether or not they've been compiled with gcc.  The
>>documentation says that I should be able to do this.  Could anything

>Where does it say you should be able to do this?? The reason why it can't
>work currently is the following (it's rather technical..):
>- pdksh runs all its programs - in true **IX fashion - in their own process,
>  it vforks and then execve's the program in question.


Ok... So why can't gcc-compiled programs be be broken with ^C when started
from an Amiga Shell?   I'm not sure if I have all of the fixes to gcc2.2.2
installed, if that matters.

>Implementation of cttys and pgrps have to wait until I'm thru with exams...

Any plans for full-blown POSIX console and serial port handlers (termios,
etc.)?

>Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 



-- 
Steve Tell       tell@cs.unc.edu H: 919 968 1792  | #5L Estes Park apts
UNC Chapel Hill Computer Science W: 919 962 1845  | Carrboro NC 27510
Exercise 15.9 [Very Hard] Devise a more orderly way to measure time.  Get
somebody with some authority to agree to adopt it. - P.J. Plauger