HDTenEightyP/NetNews huggingface dataset:
From: catapcnl@NeXTwork.Rose-Hulman.Edu (Chris Lawrence)
Subject: Re: BOOPSI problems...
Organization: Rose-Hulman Institute of Technology
Date: Thu, 23 Jul 1992 02:42:57 GMT

Distribution: usa

In article <1992Jul22.045325.29559@CS.ORST.EDU> dstuve@prism.cs.orst.edu (David  
Stuve) writes:
:I have modified the RKMMod class from the new RKM: Libraries manual (p 312)
:to have up/down buttons instead of the integer gadget.
[blah]:
:Any ideas?  Would posted code help?

Yes.. That info is a little too vague.. Feel free to EMail me with it at  
catapcnl@nextwork.rose-hulman.edu.

:
:David Stuve
:Mindworks

--
Chris Lawrence
Pretender to the Throne; Destroyer of the Faith
-----------------------------------------------
"Giving money and power to politicians is like giving whiskey and car keys to  
teenage boys."
     - P. J. O'Rourke, "Parliament of Whores"
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Using System() when started from Workbench -- path?
Date: 29 Jul 92 18:05:16 PST
Organization: BBS

> Watch out... You really do not want to use FindTask("Workbench") to
> find the workbench task.
 
The program I took that path-copying example from looks at half a
dozen likely task names until it finds a path, so it'll usually get
one from some CLI even if no workbench is running.  More often it's
run from CLI anyway so it doesn't matter.
 
> If you look at the startup message and look at the reply port and
> find out that there is a PA_SIGNAL then get the PA_SIGTASK pointer
> to find the task.
 
Other processes besides the workbench can launch workbench processes ...
Newsgroups: comp.sys.amiga.programmer
From: c8908461@jupiter.newcastle.edu.au (Robert Lang)
Subject: BusyPointer ????
Organization: Uni of Newcastle, Australia
Date: Tue, 21 Jul 1992 00:38:31 GMT


Can I access the BusyPointer() when my application is busy (ie. what do
I call with SetPointer()), or do I need my own ???

If I need my own...has someone got the image for the wb2 busy pointer ???

Thanks,

Robert.
From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: C Programmer's Editor of Choice?
Distribution: world
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith
Date: 21 Jul 92 20:44:49 PST
Organization: Amiga makes it possible

In article <BrrB07.7Bu@DMI.USherb.CA> vailm00@DMI.USherb.CA (MARC VAILLANCOURT) writes:
> -> Check out the TurboText demo on the fish disks (in the 400's).
> -> Once you try it, you will buy it :)
>
>     TurboText is very powerful, but I don't like it's interface. Or should
> I say I don't like the way it manages multiple text loaded in memory. I prefer
> the way CED splits it's only window in several parts stacked vertically...
>

On the other hand, TurboText has the best implementation of ARexx of ANY
Amiga program ever.  It simply uses the Amiga GUI (workbench and intuition)
as well as I could wish for.  Whatever you find lacking in TurboText is
easy to fix with a few lines of ARexx, except for Undo and Redo.  I do
not like the way CED splits it's only window in several parts, nor do I
like the way two CEDs invoked at the same time get confused about hot
key activation.  Nor do I like the limitation of only 10 files loaded
at once.  I also find that CED is unusable as my e-mail/news posting
editor because of the 10 file limitation and hotkey confusion.  I also
don't like the lack of support it has gotten from its publisher (no
release in 2 years).  CED doesn't support the clipboard, either, so
conclip doesn't integrate.

>     TurboText doesn't have unlimited Undo & Redo yet either.
>

I miss this feature the most, from CED.  But TurboText also confuses
me by letting me load the same file twice without warning me (I can
fix that with ARexx, though).  Just for fun, I will describe my workbench
setup and how nifty TurboText fits in:

I use monocrhome superhires, which is very fast, and a lot better looking
than I imagined before trying it.  My WShell is about 1/2 the screen tall
and 800 pixels wide, centered at the bottom of the screen.  I keep my
project (source code) drawer left out on the workbench in the lower
right corner of the screen, to the right of the CLI window.  I snapshotted
it (sp?) so it shows me by name and icons only, so I see just the text
files.   It is very thin, and only shows me name and file size, going from
top to bottom of screen along right edge.  I can double click the file
I want to edit, and TT opens its window perfectly above my CLI window.
I can drag a name from the drawer window into the AppWindow (every
TT window is one) and load the file that way, too.  It is very nice to
have a dynamic LS on the screen, as well as a 30 row 100 column editor
window at the same time... :)

All I can do is recommend that anyone interested in an editor go and
FTP (or whatever) the TurboText demo from the fish disks.  It's FREE.


> 	Marc
>
>

--
Amiga programmer of: GRn, MailMinder, Budokan, Beyond Dark Castle, Dark Castle
Sega Genesis programmer of: Dick Tracy and Marble Madness.
Mike Schwartz  (ames!zorch!amiga0!mykes or mykes@amiga0.sf-bay.org)
1124 Fremont Ave.
Los Altos, CA 94024
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: MakeScreen(); RethinkDisplay() vs. MakeVPort(); MrgCop(); LoadView()
Date: 29 Jul 92 18:00:45 PST
Organization: BBS

> Alright, not every potential subcase.  How about support for
> double-buffering at the intuition level ?
 
I think what most of us want, besides that, is an Intuition-
integrated method of scrolling an oversized bitmap in an intuition
screen.  Since Intuition does this just fine INTERNALLY, the rest of
us should be able to.
 
Hopefully in a way that works for dual playfields scrolled
independently.
Newsgroups: comp.sys.amiga.programmer
From: lkind@nyx.cs.du.edu (Lance Kind)
Subject: Changing sprite color prob. SOLVED!
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Date: Thu, 30 Jul 92 01:51:49 GMT


     pochanay@cae.wisc.edu pointed out the error of my ways.  I was opening
up an 8 color HiRes viewport, i.e. I only allocated a ColorMap of only 8 
entries.  For sprites that use Color entries 16-31, I needed to use 32
entries when I did a GetColorMap();.  Either that or use the user  copper
list (which i am not familer with).  Now I am happily off and coding.

                                   Thanks,

                                  Lance Kind
From: jtillema@cs.arizona.edu (John Tillema)
Newsgroups: comp.sys.amiga.programmer
Subject: Keymap & prog input & ... Questions
Keywords: keymaps,input
Date: 30 Jul 92 00:28:00 GMT

I am starting on writing a program that will (hopefully) allow the user to
use a mouse to input any keystroke that you normally do with the keyboard to
any program currently running via either a task list or a point and click
on window where you want the input to go to system (probably the latter).
(My keyboard recently died on me leaving me keyboardless for a week, and
of course it happened when a program was due and it was on my hard drive,
something like this would have been VERY useful).  

Some questions on this are:
  1) How does one access the keymaps?  I would ideally like to have it
     display the correct keyboard from what the user wants instead of 
     always showing the qwerty one (it will have a display sort of like 
     KeyToy's).  Haven't looked much into this, but did browse the RKMs
     (Includes 2.0) and didn't see anything.

  2) Is it possible to redirect stdin for a program that is running?  
     That is, say I am running Excellence!,VLT or your favorite App and
     want to type stuff in using my program.  Is it possible to put info
     directly into a program from another without cutting & pasting?
     (this is assuming you have already defined the target window to be
     the one you are "typing" to).  Can this be done with msg ports?
     For that matter how is stdin handled in a windowing program?
     (the only program I wrote used requesters to do it, how do other 
     progs do this?)

  3) refer to 2) This is my biggest stumbling block.  Don't know much on
     msgports, etc yet.

This will be probably targeted at 2.0 machines (Wanna learn all those neat 
new functions!).

Any suggestions on these or anything else you might think would be
useful, would be welcomed!

Thanks
John
jtillema@caslon.cs.arizona.edu

(now I can start on this since I just got a new keyboard!! YEAH!!!)
Newsgroups: comp.sys.amiga.programmer
Subject: CPU cycles
From: jbickers@templar.actrix.gen.nz (John Bickers)
Date: 22 Jul 92 21:29:28 PST
Organization: TAP, NZAmigaUG

    I'm having some difficulty working out the relationship between
    CPU cycles and clock speed. I want to execute a routine at
    something like 4000 times a second on a 25MHz 68030, so I've tried
    to figure out how many cycles I'm allowed in the routine (by this
    I mean CPU instruction cycles, as given in the back of an
    assembler manual - ie: MOVEQ takes 4 cycles, etc).

    My routine takes around 2920 cycles, but it's only happening about
    850 times a second. Multiplying the two tells me there's roughly
    2,500,000 cycles a second, when I expected ten times that (25MHz).

    Can someone shed some light on this for me? Are the cycles given
    for instructions some multiple of some other underlying cycle, or
    have I lost my grip on arithmetic perhaps?

--
*** John Bickers, TAP, NZAmigaUG.        jbickers@templar.actrix.gen.nz ***
***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***
Newsgroups: comp.sys.amiga.programmer
From: Scott.Maxwell@bbs.oit.unc.edu (Scott Maxwell)
Subject: Re: Programming-BOOLEAN-compression
Organization: Extended Bulletin Board Service
Date: Sat, 25 Jul 1992 05:21:53 GMT

In article <Quentin_Snow.08d3@fcircus.sat.tx.us> Quentin_Snow@fcircus.sat.tx.us (Quentin Snow) writes:

>I am writing a program of which I will be able to enter about 10 - 12     
>YES/NO (boolean) type answers to various questions I write.  This
>information will then be stored into a user structure.  

[ ... ]

>There has to be a way for me to store the answers in one "numeric"
>variable (compressed) form, them extract them.  This way I can store the
>answers in one variable, then read them back when necessary.

[ ... ]

	You didn't specify a language. If you're using C, you want to use
a bit field. If Pascal, use a PACKED ARRAY [whatever..whatever] OF BOOLEAN
-- though be forewarned that many/most Pascals will store each element as
a byte, not a single bit. Modula-2 may have something similar; I dunno.

	In the unlikely event that you're using a C compiler that doesn't
support bit fields, get a better compiler. Or, failing that, use shifts
and masks to store and extract the data in a short int (you said you only
needed 10-12 bits; a short consists of 16 bits, so there's some waste
there but not much).

--
Scott Maxwell (CSMAXWEL@ECUVM1.BITNET or Scott.Maxwell@bbs.oit.unc.edu)
--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  bbs.oit.unc.edu or 152.2.22.80
From: stelmack@eggo.tmc.edu (Gregory M. Stelmack)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: 2.04 Includes
Date: 20 Jul 92 02:23:01 GMT
Organization: University of South Florida, Department of Computer Science and Engineering

In article <91150@bu.edu> nik@buitc.bu.edu (Nik Conwell) writes:
>
>What are the legal problems with coming up with a PD set of includes?  Would
>they have to be so different as to make them unusable?  Would it be possible
>to set up a mapping from the PD include stuff to the regular CBM include stuff,
>so that all 'names' would turn out to be the same due to some mapping process,
>but the include files themselves would have different 'names'/characteristics?
>Can this be done easily w/ cpp?  How about mods to gcc?
>
>Has anybody done anything similar, and might be able to shed some light on
>the subject?
>
>This sounds like a fairly large project, but there seems to be a number of
>people wanting this sort of thing; if we spread out the work, it might not
>actually be as boring.
>

And while you're at it, improve on it -- do a bunch of typedefs, so I can
do a "Screen *MyScreen" instead of "struct Screen *MyScreen"!

--
-- Greg Stelmack (stelmack@eggo.csee.usf.edu)
-- FullTime Grad Student, PartTime Amiga Salesman, PartTime Amiga Developer
-- Author of: Spades, Pro Port Analyzer Plus, more to come...
-- DISCLAIMER: The opinions reflected here are mine and mine alone.
Newsgroups: comp.sys.amiga.programmer
From: Greg.Patterson@f3.n255.z1.fidonet.org (Greg Patterson)
Subject: Re: BusyPointer ????
Reply-To: Greg.Patterson@f3.n255.z1.fidonet.org
Organization: N/C BBS FidoNet <-> Usenet Gateway.
Distribution: World.
Date: Fri, 24 Jul 1992 09:31:22 GMT

In a message of Tu 21-Jul-92 00:00, c8908461@jupiter.newcastle.edu.au:

 > Can I access the BusyPointer() when my application is busy (ie. what do
 > I call with SetPointer()), or do I need my own ???

No, you can't call a function in the ROM/libs to select a busy pointer
although it is MY oppinion that such a function should be added in a
future release...

 > If I need my own...has someone got the image for the wb2 busy pointer
 > ???
 
Check out the RKM: libraries, 3rd edition on pp. 275 (Intuition Mouse and
keyboard).  It has a short example program and the image for it in a
structure...

Greg Patterson

---
 * Origin: Real men write programs for AmigaDOS 2.0 (1:255/3.107)

Newsgroups: comp.sys.amiga.programmer
From: kelso_j@cs.uwa.oz.au (J Kyle Kelso)
Subject: Amiga PD Pascal ?
Organization: Dept. Computer Science, University of Western Australia.
Date: Mon, 27 Jul 1992 04:42:56 GMT

	I'm looking for an amiga pascal compiler.  I know there's one
on a fish disk somewhere, but can't seem to track it down.

	Can anyone help?


J Kyle Kelso 
email: kelso_j@kultarr.cs.uwa.edu.au
-------------------------------------------------------------------
Cold dawn won't comfort you
Cold coffee won't see you through
Cold sheets won't heal your heart...
- Deacon Blue, "Love and Regret"
-------------------------------------------------------------------
Newsgroups: comp.sys.amiga.programmer
From: colin@eecg.toronto.edu (Colin Plumb)
Subject: Re: CPU cycles
Organization: University of Toronto
Date: 30 Jul 92 02:58:50 GMT

In article <jbickers.0bpc@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
>    I'm having some difficulty working out the relationship between
>    CPU cycles and clock speed. I want to execute a routine at
>    something like 4000 times a second on a 25MHz 68030, so I've tried
>    to figure out how many cycles I'm allowed in the routine (by this
>    I mean CPU instruction cycles, as given in the back of an
>    assembler manual - ie: MOVEQ takes 4 cycles, etc).

Those timings are for a 68000.  An '030 or an '040 take fewer cycles per
instruction as well as cycling faster (especially for long instructions!).

Also, did you remember to add fetch effective address time, and did you
account for the number of wait states in memory accesses?  If
instructions will fit into the cache, it'll run full-speed, but if it
won't, there's that fetch, plus the data accesses (there is a small data
cache, but it's not hard to blow.)

And over a 7.15909 MHz 16-bit bus, memory access takes a *long* time as far
as a 25 MHz, 32-bit 68030 is concerned...
-- 
	-Colin
From: mks@cbmvax.commodore.com (Michael Sinz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Using System() when started from Workbench -- path?
Date: 27 Jul 92 14:12:34 GMT
Reply-To: mks@cbmvax.commodore.com (Michael Sinz)
Organization: Commodore, West Chester, PA

paulk@terapin.com (Paul Kienitz) writes:
>> Does someone have a simple example of getting the path from the
>> Workbench process so I can feed it to System()?
>
>My program CLImax does this, though it's a 1.3-ish program.  Lemme
>look at the source ...

Watch out... You really do not want to use FindTask("Workbench")
to find the workbench task.  If you look at the startup message
and look at the reply port and find out that there is a PA_SIGNAL
then get the PA_SIGTASK pointer to find the task.  This way, if
someone wants to do a replacement workbench or a different tool
started, it will work.

Also, you need to watch out that you don't hang up for too long
since workbench may start playing with its path while you are.

/----------------------------------------------------------------------\
|      /// Michael Sinz  -  Senior Amiga Systems Engineer              |
|     ///                   Operating System Development Group         |
|    ///   BIX:  msinz      UUNET:  mks@cbmvax.commodore.com           |
|\\\///                     When people are free to do as they         |
| \XX/                      please, they usually imitate each other.   |
\----------------------------------------------------------------------/
Newsgroups: comp.sys.amiga.programmer
From: catapcnl@NeXTwork.Rose-Hulman.Edu (Chris Lawrence)
Subject: Re: Segmentation faults needed
Organization: Rose-Hulman Institute of Technology
Date: Tue, 21 Jul 1992 22:22:12 GMT

Distribution: World

In article <1992Jul21.190824.7598@emr1.emr.ca> dostie@ccrs.emr.ca (M Dostie)  
writes:
:This may be hopeful thinking but is there some utility which will
:prevent C programs from crashing the machine and rebooting it and
:instead print something like Segmentation fault and return to the
:console??
:
:	Mark Dostie
:	mdostie@ccrs.emr.ca

If you use SAS/C, try using the catch.o startup code.  This will trap many  
(though not all) exceptions.  As for segmentation faults, that sort of stuff  
requires protected memory support or a program like MemWatch.
--
Chris Lawrence
Pretender to the Throne; Destroyer of the Faith
-----------------------------------------------
"Giving money and power to politicians is like giving whiskey and car keys to  
teenage boys."
     - P. J. O'Rourke, "Parliament of Whores"
Newsgroups: comp.sys.amiga.programmer
From: peteru@hydra.maths.unsw.EDU.AU (Peter "Silicon Head" Urbanec)
Subject: CDTV Native Developers 
Keywords: CDTV, cdtv.device
Organization: University of New South Wales
Date: Wed, 29 Jul 1992 09:53:05 GMT

I was wondering if C= has something like CDTV Native Developers Toolkit.
I know that the Amiga version is very handy, but I haven't seen anything
like it for CDTV.

The only thing that I got from C= Australia was three photocopied bundles
of documentation. ie.: Licenses & Forms, General Articles and Technical
Articles. Although the material in there provides enough information for
me to figure out how to use some of the CDTV_* commands, I can't get the
more involved things like Front Panel to do anything.

Is there such a thing as Autodocs for cdtv.device? If so, how can I get
my hands on it? C= Australia seems to have about as much info as they had
a year ago. (Or less :-) but otherwise their are a cool bunch)

-- 
Peter Urbanec				  peteru@hydra.maths.unsw.oz.au
University of New South Wales		s1013734@cs.unsw.oz.au
    Sydney, Australia
		The only sin is stupidity  - Machiavelli
Newsgroups: comp.sys.amiga.programmer
Subject: How do I get in touch with Sunrize Industries re: Perfect Sound 3.0?
From: zoltar@amigans.gen.nz (Grant Thoms)
Date: Mon, 27 Jul 92 12:10:31 GMT
Organization: Wanganui Amigans, Wanganui, New Zealand

Is there an email address on the net for Sunrize Industries? I have tried 
writing a couple of times to them but have had no reply..
 
I bought Perfect Sound 3.0 a little while ago, and I am wanting to ask some 
questions about the software etc.....
 
If you know where I can contact them please email me at:
 
                        zoltar@glasgow.amigans.gen.nz
 
Any correspondence would be greatly appreciated... Thankyou..
Grant Thoms (aka Zoltar - Silent Imperium)
P.S  Ignore the below address...

zoltar@amigans.gen.nz (Grant Thoms)
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: C Programmer's Editor of Choice?
Date: 22 Jul 92 20:15:01 PST
Organization: BBS

>     Anybody know if CED will ever be updated? The latest release
> I've seen is 2.12 and it's almost two years old! I'd like to buy
> the program myself, but I'll never pay for something that won't be
> updated, especially to support more 2.0 (and above) features...
 
CED used to be the top editor for most folks (I still prefer Uedit),
but nowadays TurboText seems to be more lively.  It lets you view/
edit files in hex, even.  I think it has about as many features as
CED and is fully 2.0-ish.
 
I think any of these three will let you do fancy stuff like look up
the autodoc corresponding to the function that is named where the
cursor is, and similarly advanced stuff.  Like, I don't use the
SnoopStrip program to strip memory alloc/free reports, I use a Uedit
command I made.  I made my own command for putting the page numbers
in the table of contents of a user manual I wrote ... no big trouble.
 
Uedit 3.0 now has a feature for unlimited-depth remembering of pieces
of cut text, or setting any particular finite limit to how many
pieces are cut.  Ditto for any of several kinds of text that get
stored in separate buffers and then discarded.  (Old ARexx input
messages, even.)  I plan to make a function for displaying a struct's
definition in the includes given the name.  It lets you easily
incorporate mouse control into macros, though the visual look you get
is very basic and utilitarian.  I suspect that for anyone wanting a
slicker (more expensive) commercial product, TurboText may be a good
choice -- I bet it can do most of the things mentioned in this thread.
Newsgroups: comp.sys.amiga.programmer
From: taylor@wsuaix.csc.wsu.edu (Doug Taylor)
Subject: help with SAS/C 5.10b compiler flags
Originator: taylor@wsuaix.csc.wsu.edu
Organization: Washington State University
Date: Wed, 29 Jul 92 03:11:10 GMT