HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.sys.amiga.programmer
Subject: Fonts & GUIs
From: benbuck@mri.com (Benbuck Nason)
Date: 12 Sep 92 02:14:43 GMT
Organization: Microtec Research Inc., Santa Clara, CA

I have been reading quite a few messages here and on other groups
about font-sensitive interfaces.  I am pretty confused, so could
someone out there plese clear these things up:

If I open a window on the workbench screen, which font should I
use? (Screen->Font, GfxBase->DefaultFont, or the other user-
selectable font from Font Prefs)

Why do people keep saying GadToolsBox does not work?  I just used
it to give it a try, and it seemed to work fine.  I used topaz 8
on a 640x200 screeen to design the interface, and it has plenty
of gadgets, grouped by functionality, enclosed in BevelBoxes.
When I open the same window with a larger font, GTB scales the
whole interface, so of course everything fits, and looks roughly
the same.  If my font is ridiculously large, and my screen is not,
it reverts back to topaz 8.

^^^This is, of course, kind of a pain in the butt, and takes up
a bit of code, but the point is, it does work.

Is Commodore working on any sort of gadtools/BOOPSI solution to
this font size/GUI mess?  I.E., automatically scaling your gadgets
and window according to the font size versus the size of topaz 8.

What to people think of applications that require/want a specific
font (e.g., FishCat and GRn)?

Thanks,
-B
-- 
Ben Nason       benbuck@mri.com
"...e il naufragar m'e dolce in questo mare." - Leopardi, L'Infinito
Xref: sparky comp.sys.amiga.programmer:13377 comp.sys.amiga.hardware:15394
From: jeice@newt.phys.unsw.edu.au (Jose Goicoechea)
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
Subject: WB2.04 Trackdisk Stuffs Up!!
Date: 15 Sep 92 01:26:15 GMT
Organization: University of New South Wales

I recently got the file version of 2.04 on my A1000. I really think its a great
operating system but I am having one major problem.
The problem I am having with it is that when I copy or unlharc files from 
DF0: to DF1: and vice-versa in comes up with a WRITE ERROr to BLOCK 880.
This does happen straight away but after a few files have been copied.
A friend of who has 2.04 in ROM on his A500 says he has the same problem but he
does not get frustrated like me becomes he uses a GVP.
Any Comments??
Something for Commodore Engineers.

Jose


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jose Goikoetxea 	 ### TECNOFORCE ###        jeice@newt.phys.edu.au
 			~~~~~~~~~~~~~~~~~~~~       
		       The Wave Of The Future!!
From: johnv@acix.DIALix.oz.au (John Verhoeven)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Is there such a thing as an Arexx Shell?
Distribution: world
Date: 14 Sep 92 20:00:27 WST
Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.

In article <music.716348579@batman> music@moravian.edu (Steve Heller) writes:
>Subject sez it all. Specifically, I mean a shell with full arexx
>syntax. Just curious...

Try WShell V2.0 written by Bill Hawes, the author of ARexx.

ARexx & WShell go together like peaches & cream.

--

John Verhoeven                        johnv@acix.DIALix.oz.au      _--_|\
Treasurer, Amiga Developers           (ALT: johnv@DIALix.oz.au)   /      \
Association of Western Australia      Phone: (+619) 478 1406      *_.--._/

Newsgroups: comp.sys.amiga.programmer
From: copes@cs.curtin.edu.au (Simon Cope)
Subject: Re: What is (APTR) ?
Organization: Curtin University of Technology
Date: Mon, 14 Sep 1992 10:20:12 GMT

gs@TEETOT.ACUSD.EDU (Sir Greg Simon) writes:


>Sorry for my nieve-ness, but in my 2.0 RKM manuals I come across this
>symbol very often and I cannot figure out what it is.  Could comebody
>please explain to me what it is:

>	(APTR)

>Amiga-pointer?
>Ascii-pointer?
>etc.

I think it stands for A Pointer.  It is defined as ULONG * in the includes.
Definitely easier to type.

>Thanks in advance--Greg   <gs@teetot.acusd.edu>

--
copes@cs.curtin.edu.au
From: mbs@adastra.cvl.va.us (Michael B. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Determining file length
Distribution: world
X-NewsSoftware: GRn 1.16f (beta) by Mike Schwartz & Michael B. Smith
Date: 15 Sep 92 06:07:51 EDT
Organization: Private UUCP Node

In article <mbs.108r@adastra.cvl.va.us> I wrote:
>                         if (v = AllocVec (size)) {

                          if (v = AllocVec (size, 0)) {

Oops.
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
From: sysop@alphanet.alphanet.ch (Marc SCHAEFER)
Newsgroups: comp.sys.amiga.programmer
Subject: How to store client data in XPR structure ?
Distribution: world
Reply-To: sysop@alphanet.ch
Date: 11 Sep 92 11:49:53 GMT+2
Organization: ALPHANET Network First - Colombier (NE), Switzerland

Hi.

I want to call XPR functions from an reentrant environment, ie no
global variable. However I need to pass some information in the XPR
structure so my callback functions are able to retrieve the information.
May I use the xpr_data field ?	It is not clearly documented as being
client use only. If it is used by the XPR library for some strange
internal structure, I wouldn't be able to use it and I would have to
add a field to the XPR structure (thus jeopardizing upward compatibility).

In summary: is the xpr_data client use only
	    if not, what would be the best way for me to store a
	    data pointer ?

Thanks in advance
Bye Ms...

[Please keep mail answers short and don't send huge files (>5k :-) )
without asking - we pay for incoming mail]

--
+------------------_+-----------------------------------------------+
| Marc SCHAEFER _ //| sysadm@alphanet.ch  -or-	schaefer@di.epfl.ch |
| Battieux 6c	\X/ | MUD:mud.imp.ch@2345 FTP:liasun3.epfl.ch:/pub2 |
| 2013 COLOMBIER  CH| Week fast response mail schaefer@di.epfl.ch   |
+-------------------+-----------------------------------------------+
 We pay for incoming and outgoing mail, please don't send long files
Newsgroups: comp.sys.amiga.programmer
From: willw@extro.ucc.su.OZ.AU (William Waring)
Subject: Re: Font-size independence GadTools package
Organization: /etc/organization
Date: Sun, 6 Sep 1992 03:45:39 GMT

In article <1578@lysator.liu.se> boberg@lysator.liu.se (Stefan Boberg) writes:
>willw@extro.ucc.su.OZ.AU (William Waring) writes:
>>Why bother, when you can use GadToolsBox V1.3 to generate perfectly working 
>>font adjusting routines for GadTools. I have used GTB to develop all the
>>windows in my up and coming communications package, X-Comm. It generates code
>>that can handle almost any font, and also allows proportional. Don't know why
>>people bother doing it by hand?
>
>  Does it really work with proportional fonts? I don't think so... At least
>it didn't when I tried it. The real problem is that it does not have any
>means of localizing programs easily. With localized programs you must have
>a very flexible system in order to allow for greatly varying string lengths.

Yeah it does work with proprotional fonts. I can use Helvetica 13 point font
in X-Comm's windows and it turns out very nicely. Yes I agree. Localisation is a REAL pain. Look at 'Term's english catalog - 150K of strings that you have to manage. Real bummer if you ask me.

>  Something that would be really neat is a BOOPSI class that handles the
>window layout for you. I haven't looked very closely at the BOOPSI system
>and it's possibilities, but I think it would be possible to implement it
>as a subclass of `groupgclass' or something. Alternatively, something like
>a `wintools.library' could do the job as well. I have quite a few ideas 
>about how to do a really flexible system (handling all kinds of gadgets 
>and other stuff including custom BOOPSI ones), but hardly no time to 
>implement them :-(

Yeah well if commodore bought it upon themselves to explain what all those lovely intuition.library calls actually did, We'd make more use of it. I have yet to figure out what it's all about. :-).. Sounds like an interesting idea you have there... BTW I'm hanging on LhI? howz V2.00 going? Sounds absolutly mind-boggling (Kick those MS-DOS users eh?). Is LhI going to be a full blown 2.0 style interface with all those pretty guages and stuff? Would be very nice. I'll be registering definatly... 



-- 
--
Well I guess I'd better say something witty...
--
		Safety Tips for the Post-Nuclear Existence
From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: User preferred FONT support?
Date: 9 Sep 92 18:23:44 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 <25440015@hpsad.sad.hp.com> kevint@hpsad.sad.hp.com (Kevin Taddeucci) writes:
> 
> I am attempting to support the users default fonts in a card file 
> program which opens on the workbench screen. The problem is that I have a 
> row of gadgets which are placed across the bottom of the screen. The 
> gadgets currently re-size themselves to accommodate the font used. The only 
> problem is that when the fonts get to big the gadgets begin to overlap 
> each other. This happens when the point size begins to reach about 13 or 
> 14 and I don't really have the option of opening a bigger window since 
> the window is already 640 pixels wide. 
> 
> So, the question is how do I handle this problem and still follow C='s 
> guidelines of supporting user preferred fonts?
> 
> Should I only allow the user a maximum size and supply my own defaults if 
> the size is exceeded?

You should display a requester to the user, that the choosen font is too
big to be handled, and give the user the option to either fall-back to the
previous/default font, or select another one.

> Any ideas would be appreciated.

I don't think you are able to do more than that, except check for overscan.

>       | Kevin J. Taddeucci          | e-mail: kevint@hpsad.sad.hp.com    |

-- 
*-------------------------------------------------------------------------*
|         _   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: epang@fraser.sfu.ca (Eugene Pang)
Subject: Re: Do you agree with AC TECH's assessment?
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Mon, 7 Sep 1992 23:21:48 GMT

barrett@snoopy.cs.umass.edu (Daniel Barrett) writes:
>	Jeff Gamble's editorial in the latest AC TECH, Volume 2 number 4,
>begins:

>	"This magazine was originally created for the high end user
>	and developer.  So far, it has been successful in reaching
>	its intended audience."

>I don't know what "reaching" means; but to me, the implication is that
>AC TECH is a suitable technical Amiga magazine.

I suppose it depends on the meaning of high end user and developer.

The alternate implication is that the magazine is no longer targetted at the
high end user and developer (which is certainly a narrow market judging by
the termination of AmigaWorld Tech and the earlier demise of Amiga Transactor),
and that its intended audience is now a less techy, more mass-appeal technical
magazine, featuring (but not limited to) programming and hardware articles.

>	Do you agree that AC TECH is publishing material that is interesting
>to "high end users and developers?"  I don't.  I've written to Gamble about
>this but never received a response.

I do agree that it's much less technical that I'd like.  And the occassional
digressions they take (like the Quarterback review mentioned) aren't
particularly welcome.  I could also do without the full source code
printouts and CLI tricks/commands.

What kind of material appeals to high end users and developers?  Is it
Amiga specific?  Is it already covered in the RKMs?
Newsgroups: comp.sys.amiga.programmer
From: scott@ee.ualberta.ca (Scott Stephens)
Subject: Text Editor in Amiga C for Advanced Programmers
Organization: University Of Alberta, Edmonton Canada
Distribution: na
Date: Mon, 7 Sep 1992 03:26:34 GMT

I was wondering if anyone has the source code for the editor described
in the Abacus book Amiga C for Advanced Programmers. I'm interested
in compiling it and seeing how well it works, since I have yet to find
and editor I'm happy with. If you have a copy of this source and are 
willing to email me a copy could you please let me know? I don't know
if I'll find this editor suitable either, but at least I have a book
which explains in detail how it works. 

I may have erred in posting this request to this news group, but since
I would like the source, and will use it for writing programs, I felt
this was the most appropriate newsgroup. 

Thank you in advance for responding to my post.

R. Scott Stephens

p.s. Please respond to scott@ee.ualberta.ca
From: heinz@edohwg.UUCP (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Where can I find the ,so called, AutoDOCS?
Date: 9 Sep 92 18:58:01 GMT
Organization: Edotronik GmbH

In article <christia.715972125@theseas> christia@ntua.gr (Panagiwths Xristias) writes:
> Is there any way for my to get the Autodocs for the 2.0 OS ?
> Any ftp-site or any other address where I can ask for them ?

They are copyrighted and not available via ftp. Buy the Addison-Wesley Rom
Kernal Manual "Autodocs & Includes" and/or ask your local C= subsidiary
(_not_ dealer) for the 2.04 developer kit with autodocs/includes on disk.
Should be around $20 plus shipping depending on your local currency of
course.

>Panagiotis J. Christias / National Technical University of Athens (NTUA) ____/

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: djkucera@undergrad.math.waterloo.edu (Dylan Kucera)
Subject: gcc 2.2.2 patches... Gurus like crazy
Keywords: gcc patch
Organization: University of Waterloo
Date: Mon, 7 Sep 1992 05:10:10 GMT

	I've been attempting to apply the patches supplied on amiga.physik.unizh.ch
for gcc2.2.2...  I have had nothing but problems when I attempt to run the
steps that use ar and ranlib.  Usually, it GURUS, other times it will give
some wierd error about free'ing ram.

	Here's a short description of my setup-
	
	- VXL-30 68030
	- 3 meg ram, 1 meg chip, 2 fast
	- enough HD space (definately not the prob.)

	I've tried degrading my VXL down to 68000, but I get the same problem.
	If anyone has a cure for this, please post, I'm sure there must be others
encountering these problems.

Thanx!
DK.
From: Roger_Martensson@p3.f607.n901.z92.badnet.bad.se (Roger Martensson)
Newsgroups: comp.sys.amiga.programmer
Subject: No subject
Date: 4 Sep 92 17:33:03 GMT
Reply-To: Roger_Martensson@p3.f607.n901.z92.badnet.bad.se (Roger Martensson)
Organization: The Third Point, Mellansel, Sweden
OD-Comment-To: All

I've got this question.
What is .SHAM and .PCHG?

I know it's a picture format, but how do you read/write them?

I would like to have the answers via e-mail, please.

/Rm - InterNet: Roger_Martensson@p3.f607.n901.z92.badnet.bad.se
---
From: u9147063@cs.uow.edu.au (Richard Barry Ling)
Newsgroups: comp.sys.amiga.programmer
Subject: Determining file length
Date: 14 Sep 92 15:22:06 GMT
Organization: Dept of Computer Science, Wollongong University, Australia


Suppose I want to take a filename from the command line, get the size of the
file, allocate an exact-size buffer, and read the file into the buffer...
(this is, in fact, exactly what I want to do...)

Is there a better way to find file length in assembly language than to do a
Lock() on the file, allocate a half-k buffer or so for the crap Examine()
returns (I only want one long word of it :-(... ) pass that to Examine,
extract the file length, free the Examine() buffer, unlock the file... it's
screenfulls of code and an utter kludge. Can the file length be found in the
file structure you get from Open() or something?

Thanx for your help...

--------------------- Richard.  u9147603@cs.uow.edu.au ---------------------
"The rooster stared back at me, his power and confidence almost overwhelming.
Down below, a female paused warily at the coop's entrance. I kept the camera
running. They were beautiful, these 'Chickens in the mist'."  -  Gary Larson
Newsgroups: comp.sys.amiga.programmer
From: willw@extro.ucc.su.OZ.AU (William Waring)
Subject: Re: More GadToolsBox bugs
Organization: /etc/organization
Date: Tue, 8 Sep 1992 11:32:03 GMT

In article <d9mats.715945417@dtek.chalmers.se> d9mats@dtek.chalmers.se (Mats Persson) writes:
>epang@fraser.sfu.ca (Eugene Pang) writes:
>
>>Seeing as how there's some renewed interest in GTB, I thought I'd share my
>>bug list with you all.  And if Steen Raboel (who's email address I've lost)
>>is reading this, perhaps you could forward this bug report to GTB's author
>>on FIDOnet.
>
>Does anyone know if the author of GTB is aware of these bugs, 
>and in that case, is he planning to release an updated version?
>
>I think the idea with a free interface builder is brilliant.
>It really encourages people to write programs that conforms
>to the Commodore guidelines.
>
>I am surprised that Commodore didn't release a free version of some 
>interface builder, the same way they released Enforcer etc...
>
>I think a lot more people would write programs if they didn't have
>to deal with the inner workings of intuition.
>
>(I know they sell ToolMaker to developers, but I think they should 
>provide a free one instead to encourage people to write programs.)
>
>Maybe this last discussion belonged to another group, but well...

I Agree with you. I think ToolMaker should be distributed as a commodore development tool. Then again, I havn't seen Toolmaker so I don't know what it's like. If it's better than GTB, then I'll buy it.

	Anyway, the real purpose of tis article was to say that I just recieved GadToolsBox V1.4 (37.121) which seem to have quite a few improvments (X/Y Coordinate locking, Multi-gadget delete,edit,copy,move etc). I'm not sure if you have it, but if you do, then I can post it to anonymous FTP at amiga.physik.unizh.ch if you like...




-- 
--
Well I guess I'd better say something witty...
--
The nice thing about standards is that there are so many of them to
From: 2ftqkiln@kuhub.cc.ukans.edu
Newsgroups: comp.sys.amiga.programmer
Subject: Beginner 'C' Q about clock time
Date: 14 Sep 92 13:00:22 CDT
Organization: University of Kansas Academic Computing Services

This is a real basic question but
i'm writing yer basic guess the number
game for a beginner 'c' class and we 
have to find the target number through
rand() and srand() and i wanted to seed
it using the internal clock of the 3000
to get it as random as psuedo random can be
so could someone tell me how to get a number
from the clock. Thanks in advance....-Dave
From: lkv@mania.hotb.sub.org (Lutz Vieweg)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: GCC vs c++ question
Date: 12 Sep 92 08:50:07 GMT
Organization: The Funny Farm
X-Newsreader: Arn V1.00 alpha rel3

In article <1992Sep4.151221.12097@sagpd1>,  writes:

> 	Here is a program fragment:
> 
> 	int min =1;		// global min
> 	int main(void)
> 	{
> 	int min = 5;		// internal min
> 	cout << "min 1 is: "<<min--<<"\n";
> 	    {
> 	    int min = 9;		// yet another min
> 	    cout << "min 2 is: "<< ++min<<"\n";
> 	    cout << min 3 is: "<< --::min<<"\n";
> 	    }
> 	return 0;
> 	}
> 
> 	The question is, is the C++ syntax for min 3,  --::min or ::--min.
> 	Gcc wants it the way in the example. Is that the correct syntax?

The scope resolution operator is always part of the variable name - so
why shouldn't that be correct?

cu, Lutz Vieweg
Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: SAS C++?
Originator: walker@twix.unx.sas.com
Date: Wed, 9 Sep 1992 12:39:56 GMT
Organization: SAS Institute Inc.
Keywords: C


In article <BuA2F1.7uu@news.cso.uiuc.edu>, jdl47513@uxa.cso.uiuc.edu (Jason Lowe) writes:
|> I've been gone for the summer, so if this was answered before, please pardon
|> the repetition.
|> 
|> Has SAS announced anything about their C++ compiler?  Is the C++ compiler
|> still slated for production or has it been scratched?  I have not heard a
|> peep about it for a long time, and I thought it was due out sometime soon.
|> 
|> Any information appreciated!

The product has not been scratched.  However, it is not due out soon.
No release date has been set, even internally.  It is definately more
than a year away.

-- 
  *****
=*|_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: helmutn@tron.gun.de (Helmut Neumann)
Newsgroups: comp.sys.amiga.programmer
Subject: FFS-Versions
Organization: TRON Public Mailbox, Neurath, Germany
Date: Thu, 10 Sep 92 11:56:00 +0200

Hello,

does anybody here know what the last official Release of FFS delivered with
Kick 1.3 from Commodore was ? Since what Version of FFS does an Open 
MODEREAD_WRITE create a file when it was not existing instead of giving 
back NULL like in the "older" Versions ? Does anybody here know the email-
adress of the "main" programmer @ commodore ? Thanks in advance.

Bye, Helmut.

Internet : helmutn@tron.gun.de  helmutn@cip-s01.informatik.rwth-aachen.de
Fido     : 2:241/4033   Z-Netz : helmutn@tron.zer (02181/82208 HST-DS)

End of line.
From: heinz@edohwg.UUCP (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: UUENCODE and UUDECODE
Date: 9 Sep 92 00:04:52 GMT
Organization: Edotronik GmbH

In article <OA92-901-302p27_143aeae7@piraya.bad.se> Nikolai_Waldman@p27.f302.n901.z92.badnet.bad.se (Nikolai Waldman) writes:
>Here I send you the sourcecode for UUENCODE and UUDECODE

Please don't _post_ long sources. We all have to pay phone bills, you know.
email is much more appropriate for this elaborate kind of special help...

>Regards Nikolai

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)