HDTenEightyP/NetNews huggingface dataset:
From: samark@enterprise.macs.ysu.edu (Mark D. Palumbo)
Subject: Need volume name...help
Keywords: C AmigaDOS volume name help
Reply-To: user@machine.domain
Organization: Math & Computer Science Department
Date: Thu, 27 Aug 1992 22:51:23 GMT

I'm trying to use GetCurrentDirectory to find the volume name of the current
directory under 2.04, is there a better way?  I know this function returns a lock
with a bunch of info including the volume name, but I'm having trouble
accessing that structure element.

Any help would be appreciated, please email me the reply directly since I'm not
able to read netnews with regularity over the summer.  Thanks.
-- 

                                         -Mark-

Newsgroups: comp.sys.amiga.programmer
From: dkf8117@tamsun.tamu.edu (D. K. Fields)
Subject: Blocking lcommand-m with CxObjs
Organization: Texas A&M University, College Station
Date: Sat, 29 Aug 1992 01:53:26 GMT

I created a little prg to try to trap the leftamiga-m combination.  I can 
trap "shift m" "m" or stuff like that, but intuition seems to snag it
first.  I assumed that "newbroker.nb_Pri = (BYTE) 127" would give my
obj priority, is this an invalid assumption???

if it can't be done with a CxObj, how?

-- 
Duane Fields                  Friends don't      Work#   (409) 845-6904
Box 1315                     let friends use     Home#   (409) 847-6760
College Station, Tx 77841        MS-DOS.         dkf8117@tamsun.tamu.edu
Newsgroups: comp.sys.amiga.programmer
From: ebers@gfxbase.in-berlin.de (Thorsten Ebers)
Subject: Re: SAS/C 6.0 Details (LONG!)
Date: Tue, 25 Aug 1992 17:53:18 GMT
Organization: private
X-Newsreader: Tin 1.1 PL4

walker@twix.unx.sas.com (Doug Walker) writes:
: 
: I'm not sure, but I believe that the Germany office is handling
: all of Europe.
: 
: You can contact them at the address below:
: 
: SAS Institute GmbH
: PO Box 10 53 07
: Haarlass
: In der Neckarhelle 162
: 6900 Heidelberg 1
: 
: Telephone (49)6221-4150
: Fax       (49)6221-415101



well,you should call (49) 6221-4160 instead of 4150

That I can tell you about the number.
I  called them and at 50 ,but has been told that a part moved and has a new
number that is 60.
Gabi Herth (dunno if its written correctly) is managing that.

: 
: -- 
:   *****
: =*|_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.
:

Thorsten
 
-- 
Thorsten Ebers     email: ebers@gfxbase.in-berlin.de,ebers@aball.in-berlin.de

Macht Macht Machtbesessene machtbesessenner,
oder macht Macht machtbesessen,oder Macht macht machtbesessen,
From: sl1zm@cc.usu.edu
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Color cycle example  C source addendum ;-)
Date: 4 Sep 92 17:40:11 GMT
Article-I.D.: cc.1992Sep4.114011.58633
Organization: Utah State University

> this be downcoded to assembly... yes it *can* be optimised a lot.
> 

BTW, this code was never actually used in a commercial product, I
used an assembly routine... I haven't looked at this code since '87 or '88
so I can't guarantee it works as is... but I did base my assembly on this.
The current assembly version has been optimized almost to the point that
it looks nothing like the C algorythem.

;-) and pardon my spelling.

James
From: jamie@cdevil.unx.sas.com (James Cooper)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SASC 6>.0
Date: 28 Aug 92 15:09:57 GMT
Organization: SAS Institute Inc.
Originator: jamie@cdevil.unx.sas.com


In article <SIE.92Aug28141604@introitus.fulcrum.bt.co.uk>, sie@fulcrum.bt.co.uk (Simon Raybould) writes:
>
>Will cpr work with a 68040 in SAS6 ?
>I have SAS 5.10 and since I upgraded to a 68040, the debugger hasn't
>worked, even with all of the caching turned off.

It works fine with the '040 we have here at SAS.

-- 
---------------
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.
Newsgroups: comp.sys.amiga.programmer
From: wild@nessie.cs.id.ethz.ch (Markus Wild)
Subject: Re: GCC and ld .. How to get a Link Map?
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Wed, 26 Aug 1992 01:58:17 GMT

In article <1992Aug24.234512.19497@ultb.isc.rit.edu> rbm2273@ultb.isc.rit.edu (R.B. Mead ) writes:
>How do I use GCC to tell 'ld' to output a Link/Load Map?
>You know, symbol names and relocation addresses, information
>regarding libraries used, etc.
>
>I'd like to have the output go to a file, if possible.
>
>Also, In a previous version of GNU C I was able to have compilation
>statistics output.  I haven't been able to do this lately.

The link/load map is actually a feature of ld, not of gcc itself. So all
you have to do is to use the -Xlinker option to pass the option straight
to ld. If I recall right, the -m option generates a mapfile on stdout, so
you'd have to redirect output to a file when linking. If it's -m, you'd
use

  gcc ... -Xlinker -m .. > map-file

You can get a lot more of mostly debugging information when specifying the
trace flag, I think it's -t. Do a ld +help to get the available options.

-Markus
-- 
Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
Vital papers will demonstrate their vitality by spontaneously moving
from where you left them to where you can't find them.
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Locking Window Input -- How?
Date: 2 Sep 92 13:36:50 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <318@nsq.uucp> entity@nsq.uucp (cybernetworx) writes:
>Gee, thanks. You're so witty.  If you didn't mean it as a joke, then the point
>is that I need to keep all the other windows active.  In any case, I've gotten
>various replies to this, and I think I've got one that might actually do
>exactly what I need.  The basic idea is you take your current screen and save
>all the IDCMP flags for all windows on that screen.  Then you nullify their
>IDCMP flags for the duration that my window is open and restore them when I
>close my window.  Of course I'll patch CloseWindow and CloseScreen to make
>sure that nothing hokey happens by putting in my own additional checks.

What you are doing is likely bad user-interface design, and certainly
bad software design.  You could create all kinds of potential problems
by poking IDCMP flags, and it wouldn't even stop those windows from
being activated.

If you care to elaborate on the effect you wish to achieve, someone might
help you with a system-friendly and user-friendly approach.

     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."
From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: GCC 2.2.2 Help
Date: 28 Aug 92 03:11:10 GMT
Reply-To: cbmehq!cbmden!hemmer@cbmvax.commodore.com (Franz Hemmer)
Organization: InterActivsion
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

In article <1684FD50C.ST25370@VM.CC.LATECH.EDU> ST25370@VM.CC.LATECH.EDU writes:

> I'm having trouble with GCC 2.2. under KS 1.3 (cc1 refuses to load because of
> insufficient free store).  Is there anyone out there runing 2.2.2 under KS 1.3
> that can help me out?

I'm not using GCC but you've been running out of memory. You didn't mention
how much memory you have available, but I believe GCC requires 4 megs of
RAM to run. If you're close to that, try flushing memory and closing as much
as you can, then try again... Could also be because of fragmented memory, in
which case you may want to reboot and try compiling immediately after reboot.

> Bill Jamison

-- 
*-------------------------------------------------------------------------*
|         _   UseNet: (uunet|rutgers|pyramid)!cbmvax!cbmehq!cbmden!hemmer |
|         \\ _                         CBMNET: hemmer@hemmer.adsp.sub.org |
| InterActi\X/ision - The name of precision                               |
| Best regards                         >> Carpe Diem! - Seize the day! << |
| Franz Hemmer - Software Developer located in Silkeborg, Denmark, Europe |
*-------------------------------------------------------------------------*
Newsgroups: comp.sys.amiga.programmer
From: rda815s@nella3.cc.monash.edu.au (L.F. Tsien)
Subject: 68HC11
Organization: Monash University
X-Newsreader: Tin 1.1 PL5
Date: Wed, 26 Aug 1992 03:09:54 GMT



Can anyone help me to find a 68HC11 cross assembler and C compiler for the
Amiga? I need one which produce S-records.
I've tried dasm, but it does not give S-record output, and neither have I
the time to write one myself.

Thanks




+============ Robert L. F. TSIEN ========================================+
|                                                                        |
|             Department of Robotics and Digital Technology              |
|                                                                        |
|                M       O       N       A       S       H               |
|             ----------------------------------------------             |
|             U    N    I    V    E    R    S    I    T    Y             |
|                                                                        |
|             MELBOURNE                            AUSTRALIA             |
|                                                                        |
|________________________________________________________________________|
|                                                                        |
|  Email:                                                                |
|     rda815s@nellads.cc.monash.edu.au                                   |
|     rda815s@monu6.cc.monash.edu.au                                     |
|     rda815s@cgl09.cc.monash.edu.au                                     |
|     loofy@yoyo.cc.monash.edu.au                                        |
|     nike@rossum.rdt.monash.edu.au                                      |
|                                                                        |
|  Voice/Data: 5607461                                            //     |
|                                                                //      |
|                                                             \\//       |
|                                                                        |
+======================= J e s u s    R e i g n s ! =====================+

Newsgroups: comp.sys.amiga.programmer
From: ecarroll@maths.tcd.ie (Eddy Carroll)
Subject: Re: Getting rid of requesters
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
Date: Thu, 27 Aug 1992 19:02:22 GMT

In article <paulk.18li@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>> > is there a program out for 2.04 that can do this for those of us
>> > that cant program that well in C?
>
>try KillReq on fish 290.

Unfortunately, KillReq runs fine under 2.04 but doesn't have much effect on
DOS requesters since they call EasyRequest() instead of AutoRequest()
to display the requester. I'll have to update it one of these days...

Eddy
-- 
Eddy Carroll      ----* Genuine MUD Wizard  | "You haven't lived until you've
Internet: ecarroll@maths.tcd.ie             |  died in MUD!" -- Richard Bartle
Newsgroups: comp.sys.amiga.programmer
From: hutchens@uwa.oz.au (JL HUTCHENS)
Subject: Re: PROBLEM WTIH AMOS
Organization: Elec Eng, Univ of Western Australia
Date: 26 Aug 92 05:38:10 GMT

Volkmar_Rigo@augs1.ch.so.commodore.com (Volkmar Rigo) writes:

>hello. This little Amos programm has a very fatal bug(guru):
>set buffer 200:dim a(200,200)
>for i=0 to 200
>for j=0 to 200
>a(i,j)=1
>next
>next

>can you help me??


>-- DLG Pro v0.992

The problem is that you are using an old version of AMOS.  I tried your
program at home and it guru'd in AMOS v1.1 but worked fine in AMOS v1.34.
AMOS v1.34 is the latest version and the publishers claim that every 
command is bug free.  I suggest that you upgrade immediately.  Many
PD suppliers will have the upgrade disk, or you can order it from the
AMOS Users Club, of which you should be a member.
Newsgroups: comp.sys.amiga.programmer
From: henning@mari.acc-admin.stolaf.edu (Mark Henning)
Subject: Memory handling question for AREXX reslt codes.
Keywords: AREXX memory
Organization: St. Olaf College; Northfield, MN
Date: Wed, 2 Sep 1992 20:36:21 GMT

Just a quick question:  
I am writing a command interface for AREXX and am confused by the
verbage of the rm_result2 section. 
From where do I get memory.  Since we are returning the pointer to the
calling program, we can never be completely sure that it is done with
the pointer.  
I'm sure I am just missing a simple concept, but I am really confused.

I am on a rather tight deadline, but will be able to write other
portions of the code for the time being.

Thanks in advance for any help.  Please direct answers to:

henning @stolaf.edu

				-henning
From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Clearing Library Base (was Re: SAS/C 6.0 Details (LONG!))
Date: 27 Aug 92 07:14:12 GMT
Reply-To: cbmehq!cbmden!hemmer@cbmvax.commodore.com (Franz Hemmer)
Organization: InterActivsion
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

In article <34611@cbmvax.commodore.com> dlarson@cbmvax.commodore.com (Dale Larson - Product Assurance) writes:
> In article <hemmer.01sx@hemmer.adsp.sub.org> cbmehq!cbmden!hemmer@cbmvax.commodore.com (Franz Hemmer) writes:

> >So, when I switch to V6.0 I'll have to set all my library pointers to NULL
> >after CloseLibrary(), in order to avoid autoterm() to close it again ?
> 
> Clearing the library base after CloseLibrary() is a very good idea anyway.  Its
> called "defensive programming."  Any pointer which isn't valid (a dangling
> pointer) should be cleared to NULL so that it is clearly invalid and  can be
> checked for validity before use.  Obviously, this isn't really necessary at the
> end of main(), but it is still a good habit because many library bases aren't
> opened and closed in main().

I totally agree with this! I merely wanted to know, whether it was necessary to
modify the V5.10b sources when switching to V6.00. Now I know this is not
necessary (not implying that I'll leave them as-is), thanks to all of you who
helped clarifying this for me.

> Dale Larson, Software Engineer,    |

-- 
*-------------------------------------------------------------------------*
|         _   UseNet: (uunet|rutgers|pyramid)!cbmvax!cbmehq!cbmden!hemmer |
|         \\ _                         CBMNET: hemmer@hemmer.adsp.sub.org |
| InterActi\X/ision - The name of precision                               |
| Best regards                         >> Carpe Diem! - Seize the day! << |
| Franz Hemmer - Software Developer located in Silkeborg, Denmark, Europe |
*-------------------------------------------------------------------------*
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:   ToolMaker from CATS
Date: Fri, 28 Aug 92 08:52:17 PDT
Organization: The Portal System (TM)
  <heinz.038q@edohwg.UUCP> <1992Aug28.115039.19259@welchgate.welch.jhu.edu>

I call the author of ToolMaker with the exact same question.  I 
have 9 gadgets on an initial window with each one openig a window.
I had to manually link the gadget to the window by calling the
appropriate open window routine, process the events, and then
close window routine as the event for the button.  He said he
may put in an option in a future version to do the operation
in ToolMaker.
From: gad@fncrd6.fnal.gov (greg deuerling)
Newsgroups: comp.sys.amiga.programmer
Subject: Clip Board Source files anywhere ???
Date: 25 Aug 92 18:55:59 GMT
Organization: Fermilab


I'm wanting to mess around with the clip board device and I'm wandering
if the source code listed in the Devices ROM Kernal Manual for the
ClipBoard are availble on a FTP Site somewhere ??? Does Commodore sell a
disk of all of the source code listed in all of the ROM Kernal Reference
Manuals ???

I really don't want to enter all of that code by hand.

Or, if any one has any other code that reads FTXT data out of the ClipBoard
and wants to share it ???

Thanks.....



								gad


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=	     Greg Deuerling, Fermi National Accelerator Laboratory	      =
=	   P.O.Box 500   MS#127  Batavia, Il  60510   1(708)840-4629          =
= 			    Computer R&D Group				      =
=		            gad@fncrd7.fnal.gov				      =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: heinz@edohwg.UUCP (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SERIAL.DEVICE HEEEEELLLLLPPPPPPP
Date: 30 Aug 92 11:00:39 GMT
Organization: Edotronik GmbH

In article <u895762.715081138@bruny> u895762@bruny.cc.utas.edu.au (Paul S.E.) writes:
> So, I am wondering if there is a way to stop the serial.device from waiting
>until the buffer is full, and hand over the characters as they come instead.

1. Send a SDCMD_QUERY to check if there are any characters.
   If not, do something else.

2. Read the QUERY amount of characters. This call will return without
   waiting.

3. Look at the RKM devices 3rd ed. page 270-271. Maybe you want to do this
   before 1. :-)

>- u895762@bruny.cc.utas.edu.au

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: tsm2124@ritvax.isc.rit.edu
Newsgroups: comp.sys.amiga.programmer
Subject: using 1.3
Date: 2 Sep 92 16:20:23 GMT
Reply-To: tsm2124@ritvax.isc.rit.edu
Organization: Rochester Institute of Technology

Not that I want to put anyone down or anything.  But Commodore has officially
pronounced Kickstart/Workbench 1.3 DEAD a long time ago.  I think that as
soon as a new version of Kickstart/Workbench is released, that developers
should have new products out that take advantage of the new OS.  I don't
want bigger and possibly slower and less powerful programs because
developers don't think enough people are running 2.0.  
	Maybe they feel there is no reason to upgrade (I don't know how) but
if a program comes out that they want and it is 2.x (or maybe 3.x) and up
maybe they will upgrade.  When Windows 3.1 (although not an OS) came out
there were many program updates to take advantage of its new features.
	By the time most of the developers make programs for 2.04, 2.1 will
be out (probably on Sept 12), and 3.x will be very close, it is now
at least version 39.97.
	So all in all, I would just like to ask developers to develop for
the current most powerful version of the OS. This includes using the asl
requesters (font,screenmode, pallette?), dos pattern matching, public screens.
commodites, etc.  I am sick of having to save my arp.library for a few old 
 programs, and some of them aren't that old.  Wouldn't a Style Guide 
compliant DPaint and Profession Page/Draw be nice?  Also how about
support for Softlogik's HotLinks?  ProWrite 3.3 will have it.

			Thank you (I hope)
			Todd Major
Newsgroups: comp.sys.amiga.programmer
From: ejames@venus.iucf.indiana.edu (ERIC JAMES)
Subject: PCQ Pascal
News-Software: VAX/VMS VNEWS 1.3-4   
Reply-To: ejames@venus.iucf.indiana.edu
Organization: nothing
Date: Thu, 27 Aug 1992 13:00:11 GMT

  I am trying to register PCQ Pascal, but I can't get in touch with the author.
Someone told me he had moved from the Arizona address, but I can't find his
current address.  Any help would be appreciated

                  Thanks,

                  Eric James
                  ejames@venus.iucf.indiana.edu
From: pl159410@academ01.mty.itesm.mx (Alejandro Garza Gonzalez)
Newsgroups: comp.sys.amiga.programmer
Subject: anyone have a REXX supergen fade server proggie?
Summary: I need a supergen Arexx dissolve server
Keywords: proggie, server, arexx
Date: 28 Aug 92 01:52:03 GMT

Well.. the title is self-explanatory, i hope. I have a supergen, and since
issuing dissolve commands from AmigaVision using the 'dissolve' command 
(from the 'source' dir in the included disk) is useless, unless u have the 
SuperGenKeys program in Remote mode and in the background (using up valuable 
memory) I'd like some help on how to implement this. All I need is a simple 
REXX interface to just paste onto my C program... but all the docs on using 
arexx I've read are especially difficult to follow. HELP!

--Alejandro.. mail me at academ01.mty.itesm.mx
thanx!

Newsgroups: comp.sys.amiga.programmer
From: swalter@avalon.physik.unizh.ch (walter stefan)
Subject: Bug in ECS? Second try...
Organization: University of Zurich, Department of Computer Science
X-Newsreader: Tin 1.1 PL4
Date: Fri, 28 Aug 1992 19:00:15 GMT


Newsgroups: comp.sys.amiga.programmer
From: ry41@rz.uni-karlsruhe.de (Bernhard Moellemann)
Subject: Re: ClearEOL and SetAPen
Organization: University of Karlsruhe, Germany
Date: Wed, 2 Sep 1992 10:51:28 GMT

In article <65079@cup.portal.com>, Lee_Robert_Willis@cup.portal.com writes:
>Out of curiousity: _Why_ is SetAPen() slow?  What is involved in changing
>the pen color besides simply storing the new value?
It has to recalculate the minterms for the Blitter.

     Bernhard
-- 
 Bernhard Moellemann   <spare space>   Chairman of the Nessy-Fan-Club   //
 internet=zza@rz.uni-karlsruhe.de <space> FIDO=2:241/7506.42  IRC=ZZA  //
 nessynet=008  Lifenet=77:7700/11.42  greetings to my Marsupilami  \\ //
 2000/500 Technical Reference Manual:  "A1000, the original Amiga"  \X/
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:   ToolMaker from CATS
Date: Mon, 31 Aug 92 06:58:40 PDT
Organization: The Portal System (TM)
  <heinz.038q@edohwg.UUCP><1992Aug28.115039.19259@welchgate.welch.jhu.edu>
  <64836@cup.portal.com> <F66Br*QU1@swinjm.UUCP>

The really nice thing about ToolMaker is that I have a window with
9 gadgets(buttons), each one opens a window, each window has a 
set of gadgets(integer, string, checkmark, button, listview, ect)
with a wide variety.  By using the "userdata structures" option, I
really only had to modify one file, the rest is completely generated
by ToolMaker.  The file "ease_events.c" contains stubs for each
gadget.
 
This means I can add to my gadgets, reposition things, move things
around and regenerate the source with little impact on my code.  The
whole user interface(well, nearly the whole interface) has it's source
in the file "ease.tm" which is maitained by ToolMaker.  

Sure, I am limited in the font processing, and only 10 windows, but
from what I have seen, it does make "MY" work alot less.