HDTenEightyP/NetNews huggingface dataset:
From: sichase@csa1.lbl.gov (SCOTT I CHASE)
Newsgroups: comp.sys.mac.programmer
Subject: Re: incrementation differences/THINK C 4.0 vs. 5.0
Date: 30 Aug 92 20:49:36 GMT
Organization: Lawrence Berkeley Laboratory - Berkeley, CA, USA
Distribution: na
Reply-To: sichase@csa1.lbl.gov
NNTP-Posting-Host: 128.3.254.196
News-Software: VAX/VMS VNEWS 1.3-4   

In article <38188@unix.SRI.COM>, mxmora@unix.SRI.COM (Matt Mora) writes...
> 
>then it selects the first line and say's "Missing ";" ". It knows where
>the missing ";" should go.  So it should ask me "Missing ';' at the end
>of this line. Should I add one and continue compiling?"
> 
>Is this not a common mistake forgetting the ";"?

The VAXC compiler does a number of things like this.  It doesn't ask 
for guidance, but it *does* fix the problem, with a warning: "Semicolon 
added at the end of the previous source line."  It also balances
parentheses by adding or deleting them at the end of a routine, as 
necessary.  Later, why you try to link the module, the linker warns you
that there were warnings during compilation.

It doesn't always do the right thing.  But you'd be surprised how many
times it gets it right and saves you one edit-compile-link cycle.

-Scott
--------------------
Scott I. Chase			"The question seems to be of such a character
SICHASE@CSA2.LBL.GOV		that if I should come to life after my death
				and some mathematician were to tell me that it
				had been definitely settled, I think I would
				immediately drop dead again."      - Vandiver
From: ksand@apple.com (Kent Sandvik)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Things I'd like to see: SourceBug
Date: 2 Sep 92 00:32:50 GMT
Followup-To: comp.sys.mac.programmer
Organization: Apple

In article <1992Sep1.183715.22867@reed.edu>, bowman@reed.edu (Eric Bowman
(bobo)) wrote:
> 
> OK, SourceBug is written in MacApp, right?  And SourceBug, though lame 
> compared to Think's debugger, is still not bad; it's nice having all classes
> there in a nice TTextListView.  But what could be easier than adding a
> TKeySelectionBehavior to a TTextListView?  And what could be easier than
> typing the first few letters of the class you seek, rather than mindlessly
> scrolling through the list?
> 
> OK, Mike Lockwood, how about it?  3 lines of code is all it would require,
> and it would make me (am I alone out there?) so very hoppy.

Yeah, I asked for this nifty feature in SourceBug. Same with MacBrowse
(or Mouser), but the original code (the app shipping) is written using
MacApp 2.0.1, so it's a little bit harder to achieve. Otherwise I agree,
long TTextListViews should by default support the TKeySelectionBehavior.

Cheers,
Kent Sandvik/DTS
From: ksand@apple.com (Kent Sandvik)
Newsgroups: comp.sys.mac.programmer
Subject: Re: MacinTalk MPW C Interfaces
Date: 2 Sep 92 00:35:08 GMT
Followup-To: comp.sys.mac.programmer
Organization: Apple

In article <EecrwrC00YV7Q1Vq9v@andrew.cmu.edu>, sc5h+@andrew.cmu.edu (Shawn
James Cokus) wrote:
> 
> 
> After searching far and wide on Developer CD's (well, just the one I
> have access to, Vol. X) and Archie FTP servers, I have been at a total
> loss to find a header file for MacinTalk for MPW C and the (I believe)
> accompanying glue/library code that goes along with it.  If anyone could
> tell me where to get such a beast, or even point me to some C interfaces
> that I could convert to MPW C form, it would be most appreciated.

The headers were shipped with the ADPA product. Macintalk does not 
run well under System 7 (especially with VM on), however there are 
hackers who have gone around the problems (like the Moose developers).

The official DTS message is "stay tuned for something better".

Kent Sandvik/DTS
Newsgroups: comp.sys.mac.programmer
From: cuong@haydn.Stanford.EDU (Cuong T. Nguyen)
Subject: Advice requested: keyboard programming
Originator: cuong@haydn.Stanford.EDU
Organization: Center for Integrated Systems, Stanford University
Date: Wed, 26 Aug 92 19:41:49 GMT


I want to implement a Vietnamese keyboard for the Mac.
Vietnamese has diacritical marks, like European languages,
except more complex in that a letter may have up to two
diacritics.  The dead-key mechanism is not acceptable
behavior.  The required, non-negotiable (standardized) behavior
is as follows.  Let's say the user needs to type in the single
Vietnamese letter <a^'>.  She will first type "a", and the
system echoes "a".  Then she types "^", the system echoes BS
to clear the "a", then echoes <a^>.  Similarly, when she types "'",
the system echoes Bs, then <a^'>.  Don't worry about the logic
states, character codes, or glyphs involved.  I would just like
to learn how this keyboard behavior can be implemented on a
system-wide basis, that is, when this keyboard mechanism is turned
on, all input windows will behave as described (something like
a specialized keyboard driver or desk accessory, perhaps).

I have scanned through Inside Mac vols at a bookstore and found
KCHR to be in the right neighborhood, but it's still very fuzzy.
I would greatly appreciate a knowledgeable pointer into the right
direction, but not off to a wild goose chase as I am a Mac neophyte.
You don't need to tell me exactly what to do step-by-step
(although that wouldn't hurt :-), but the idea for me is
to try and save re-discovery time.  I am thinking that
a Mac wizard would be able to name in 5 minutes what
the system components are that I need to mess with.

An estimate of task difficulty will also be appreciated.
As a reference, it took me two days to implement this
on Unix (I already knew X), and two weeks on MS-Windows
(had to learn Windows, which fortunately provides for
message hooks which allow you to filter keyboard messages
as well as to generate fake keyboard events for those
BS's I mentioned above).  Does the Mac provide a similar
mechanism?

Thanks in advance,

Cuong
Newsgroups: comp.sys.mac.programmer
From: jbush@magnus.acs.ohio-state.edu (J Eric Bush)
Subject: Re: Animated Cursor
Organization: The Ohio State University
Date: Fri, 4 Sep 1992 17:56:46 GMT

In article <chuck-040992120527@choffman.gte.com> chuck@gte.com (Chuck Hoffman)
writes:
>Can someone point me to documentation about how to do an animated cursor.
>I somehow missed it in the TN's and IM.
>
To do an animated cursor the way the Finder does it, you have a acur resource 
with the numbers of the CURS icons in the rotation.  Make a copy of your finder
and save it to disk.  Look at the acur and CURS resource with ResEdit.

Then, inyour application, you just keep a variable with the current cursor,
add one to it, and then do a SetCursor procedure/function.

Eric
-- 
------------------------------------------------------------------------------
J. Eric Bush
Internet: jbush@magnus.acs.ohio-state.edu
Newsgroups: comp.sys.mac.programmer
From: cent@u.washington.edu (Bob Cent)
Subject: MacApp 3.0 + Think Pascal?
Organization: university of washington
Date: Mon, 31 Aug 1992 18:42:45 GMT

Greetings,

I just got an Apple flyer about the release of MacApp v.3.0 that made me wonder
if Symantec plans to make their Pascal compiler with it.  If so, when?

Also, do they ever plan to make their C compiler MacApp compatible?


Thanks.

Bob Cent
cent@u.washington.edu
Seattle, Washington
From: poon@parc.xerox.com (Alex Poon)
Newsgroups: comp.sys.mac.programmer
Subject: MacApp 3.0 printing of documents
Date: 28 Aug 92 01:36:55 GMT
Organization: Xerox PARC

I have a document that has 2 main views associated with it.  
One view is in a floating window, and the other is in a regular window.
When the user chooses Print... from the File menu, I would like both
views to be printed. I attached a separated TStdPrintHandler object to
each view in my document's DoMakeViews method.  However, when I choose
Print... strange things happen.  If the last mouse click was in the floating
window, then only the view in the floating window prints.  If the last
mouse click was in the normal window, the view in the normal window prints,
and then the view in the normal window prints again, but with parts of
it clipped.

Anyone know of the right way to do printing of multiple views?

- poon@parc.xerox.com
Newsgroups: comp.sys.mac.programmer
From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
Subject: Re: How to increase stack size ???
Organization: Symantec Corp.
	<2AA522C1.F27@deneva.sdd.trw.com>
Date: Fri, 4 Sep 1992 14:03:50 GMT

>>>>> On Wed, 2 Sep 92 20:23:29 GMT, buckeye@spf.trw.com (John Wallace) said:

 > if (StackSpace() < STACK_MIN)
 >     SetApplLimit(StackPtr() - (STACK_MIN - StackSpace()))

 > This will make sure that you don't waste too much memory on "Large"
 > machines.  (StackSpace is a standard Toolbox trap.)

This is the best solution, but... On 68000 machines, the trap
StackSpace() returns garbage unless you've already called
MaxApplZone() (in which case the call to SetApplLimit will fail). I'm
not sure, but this may have been fixed in System 7.

In any event, I would recommend using the low memory global DefltStack
instead. In THINK C, you can just write:

    SetApplLimit(GetApplLimit() - (STACK_NEEDED - DefltStack));

In MPW C, you'd use:

    SetApplLimit(GetApplLimit() - (STACK_NEEDED - *((long *)DefltStack)));

In Pascal, you'd use:

    SetApplLimit(GetApplLimit - (STACK_NEEDED - LongPtr(DefltStack)^));

Is this in the FAQ?

	-phil
--
   Phil Shapiro                                   Software Engineer
   Language Products Group                     Symantec Corporation
		   Internet: phils@cs.brandeis.edu
From: anderson@Apple.COM (Clark Anderson)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Best text compression?
Date: 4 Sep 92 03:54:08 GMT
Organization: Apple Computer Inc., Cupertino, CA

agoates@nyx.cs.du.edu (Alan Goates) writes:



>First, thanks to everyone who answered my Notification Manager question.
>(I didn't have the latest tech notes yet)
>Second, does anyone know what the best published (Public Domain) algorithm is
>for compressing text. And does anyone know where I could get my hands on examplesource code for said algorithm (The only one I've seen is Lempel-Ziv).
>Thanks in advance,
> AL

I have gotten pretty good compression on text using
a Huffman algorithm. It's pretty easy to implement,
any standard book on compression schemes should
have it.
                           --clark
----------------------------------------------------------
Clark Anderson                 BellNet: 408-974-4593
Apple Computer, Inc.         AppleLink: C.ANDERSON
                              InterNet: anderson@apple.com
I speak only for myself...
----------------------------------------------------------

Newsgroups: comp.sys.mac.programmer
From: Anders Wallgren <anders@verity.com>
Subject: Re: Human Interface questions, specific functionality
Organization: Verity, Inc., Mountain View, CA, USA
Date: Thu, 27 Aug 92 23:09:32 GMT
X-Xxmessage-Id: <A6C2AF44F101C897@pokey.verity.com>
X-Useragent: Nuntius v1.1.1d9
X-Xxdate: Thu, 27 Aug 92 00:11:48 GMT

In article <1992Aug27.175328.1@tesla.njit.edu> Elliotte Rusty
Harold, erh0362@tesla.njit.edu writes:
>	2.  A user opens a file on a locked disk and makes changes to it.
 
>	(Alternately the user locks the disk while the file is open.) 
When
>	the user attempts to save should I 
>	
>	  a)  Simply post an error message saying the disk is locked? 
>	  b)  Check that the disk is locked before every save (If so
how?) 
>	  and if it is do a Save As instead?
>	  c)  Check that the disk is locked before every save  
>	  and eject the disk and post a dialog asking the user to unlock
>	  and reinsert it?

If the user opens a file that is locked or that is on a locked
volume, you should probably warn them that any changes they make
can't be saved to that file.  You might still enable Save and treat
that command like Save As (or treat it like they're saving a new
document).

If the disk becomes locked after the user has already opened the
file for writing, you should probably give them whatever error
message makes most sense, and perhaps prompt them to do a Save As
(verbally, not by putting the dialog up).

You probably shouldn't do choice c), since the user should control
when the disk is ejected.
Newsgroups: comp.sys.mac.programmer
From: sw@network-analysis-ltd.co.uk (Sak Wathanasin)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Zortech C++ - Comments? -
Date: 28 Aug 92 07:53:04 GMT
Reply-To: sw@network-analysis-ltd.co.uk
Organization: Network Analysis Ltd
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <vwbn6_a.nagle@netcom.com> (comp.sys.mac.programmer), nagle@netcom.com (John Nagle) writes:

>       Don't.  You'll be sorry.  The Zortech C++ product for Intel CPUs is
> good, but the 68000 code generator was botched, and the Mac product is
> lousy.  I am a very unhappy owner of this product.  I finally had to buy
> Apple's MPW C/C++ compiler.

Same here; can't believe anyone can use it for real work. I sent my copy back
but they claimed they didn't receive it, so I didn't even get my money back
(lesson: use a decent parcel service :-().


Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

uucp:      ...!uknet!nan!sw  Phone: (+44) 203 419996
AppleLink: NAN.LTD           Internet: sw@network-analysis-ltd.co.uk
Newsgroups: comp.sys.mac,comp.sys.mac.comm,comp.sys.mac.hardware
From: dwightj@sequent.com (Dwight Johnson)
Subject: Shiva 9600 v.32 NetModem needs fixed! Help!
Summary: I need info on fixing a NetModem
Keywords: Shiva Netmodem v.32 repair
Organization: Sequent Computer Systems Inc.
Date: Thu, 27 Aug 92 22:28:07 GMT

I need to know how to fix our NetModem.  Shiva wants over $250 to even
look at it.  I think it should be a one or two component replace job.

Can you help me trouble shoot it?

After the NetModem is turned on the three lights flash as normal until
it is warmed up.  It shows up on the Network, will connect and AT command
works correctly.  Then in about 4 minutes the power cycles, the connection
is lost, the lights start blinking again, etc.

After another 4 minutes or so the lights go out and don't return, the 
connection is lost.  I checked to 7805 chip inside.  It maintains 25VDC
input and 5VDC output even after the modem dies.  It is really hot though.

Do you have a suggestion for fixing it myself or somewhere else for less than
Shiva wants.  Thanks!
Dwight Johnson
Hillsboro High School
Oregon
503-648-8565
dwightj@sequent.com or
sequent.com!hilhi!dwightj



Newsgroups: comp.sys.mac.apps
From: owen@olympus.arc.nasa.gov..arc.nasa.gov (Owen S. Nishioka)
Subject: Re: Word 4 select all?
Organization: Nasa-Ames Research Center
Date: Fri, 4 Sep 92 18:52:51 GMT

In article <1992Sep4.142015.12078@linus.mitre.org> cbp@ladyday.mitre.org (Cynthia B. Phillips) writes:
>
>Most word processors have a select all command, which is very useful
>for changing elements of a document once it is already written.
>
>Is there any way to do this in Word 4?  As a college student, I find
<<Stuff Deleted >>


I will resist the temptation to say RTFM.

What you do to select all in word is hold command down and click in the
left hand margin of the page.  (You know, way over where the arrow
changes direction and starts pointing to the right...)  In word 5.0, you
type Command-A.  In word 4, from the keyboard, type command-option-M.

BTW, pg 153, 163 of the word manuals.  :-)



-----------------------------------------------------------
_|_|_|   _|    _|    owen@olympus.arc.nasa.gov
_|  _|   _|_|  _| 
_|  _|   _|  _|_|    -These are my personal views...
_|_|_|   _|    _|     After all, who else would want 'em!
From: yuan@asis.unimelb.EDU.AU (William Yuan)
Newsgroups: comp.sys.mac.apps
Subject: Re: Switching systems
Date: 27 Aug 92 02:22:16 GMT

bk1a+@andrew.cmu.edu (Bryan Michael Kearney) writes:

>Does anyone know of a system which can switch the syswtem which will be
>booted off of. Right now I have a drive with two system folders on it.
>My disk drive does not work so I would need to download the files onto
>my drive and switch the system.

There is an application called System Switcher 1.1 written by Keisuke Hara of
Japan which 'blesses' the system folder you wish to use next time you
restart or shutdown your mac. The system folders can be on the same hard disk
or on different hard disks. The SS will also tell you individually which
versions of the System you have on your hard disk.

MacUser November 1991 edition also refers to your problem and suggests two
other programs which do much the same as SS:

	System Picker which is shareware
and 	SwitchBoot INIT which is freeware.

They also mention that you can partition your hard drive and install different
systems in separate volumes. 


Good luck,

	William

+==============================================================================+
+ William Yuan          Information Technology Services (ASIS)                 +
+ Ingres Programmer     The University of Melbourne                            +
+                                                                              +
+ E-Mail address        yuan@asis.unimelb.EDU.AU                               +
+ Tel. (B/H)            (03) 344 5403                                          +
+==============================================================================+


Xref: sparky comp.sys.mac.apps:13966 comp.sys.mac.system:11448
From: bic@cgl.ucsf.edu (Bruce Cohen%CGL)
Newsgroups: comp.sys.mac.apps,comp.sys.mac.system
Subject: Has At Ease been released?
Date: 31 Aug 92 01:53:30 GMT
Organization: Computer Graphics Laboratory, UCSF
Originator: bic@socrates.ucsf.edu

Is At Ease Available for purchase?  I have been
unable to find it.

Thanks.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"	Bruce Cohen                    |  UUCP:     ..ucbvax!ucsfcgl!bic
"	Computer Graphics Lab          |  INTERNET: bic@cgl.ucsf.edu
"	S-926                          |  BITNET:   bic@ucsfcgl
Newsgroups: comp.sys.mac.apps
From: aefron@cornerstone.com (Andy Efron)
Subject: Excel 4.0/SuperBoomerang conflict
Reply-To: aefron@cornerstone.com (Andy Efron)
Organization: Cornerstone Research, Cambridge, Mass.
Date: Tue, 25 Aug 1992 19:52:55 GMT

Is anyone aware of any conflict between SuperBoomerang and Excel 4.0?  The 
problem occurs when Excel is already running and I double-click an Excel 
document in the finder.   I get the message saying "the application 'unknown' 
unexpectedly quit because an error of type 2 occurred."  This is on a IIfx 
with plenty of memory.

Any suggestions?  Please email me.

Thanks,

Andy

aefron@cornerstone.com



Newsgroups: comp.sys.mac.apps
From: miller@mrcnext.cso.uiuc.edu (Geoffrey M. Miller)
Subject: Need info on MS Word 5.0 Add On
Organization: University of Illinois at Urbana
Date: Wed, 2 Sep 1992 21:39:10 GMT

I remember hearing information recently about an add-on program
that placed some sort of menu bar with iconified commands at the
bottom of the Word 5.0 screen a la QuarkXPress floating palettes.
Can anyone enlighten me on what this product is called and where
I can get it.  I can't seem to find it listed in any of the MacUser
advetisements... I think it's from the same people that produced
MasterWord for 4.0???

Geoff Miller
University of Illinois

Xref: sparky comp.sys.mac.apps:13956 comp.sys.mac.comm:8510
From: johng@informix.com (John Galloway)
Newsgroups: comp.sys.mac.apps,comp.sys.mac.comm
Subject: Re: How to get N telnet windows & large fonts (with VersatermPro)
Date: 31 Aug 92 09:24:32 GMT
Distribution: usa
Organization: Galloway Research

In article <1992Aug31.091337.410@informix.com> johng@informix.com (John Galloway) writes:
>If I were to give up A/UX, going to just sys 7, what would replace the
>ability to have multiple windows (command shell) with varying fonts/pt sizes,
>logged into various machines?
>
>I could use MacX/xterm, but then I would have to first telnet to each host
             ********** forget I even mentioned this, the overhead would
	     be terrible compared to just telnet conections (over a WAN).
		-jrg
>(via say Versaterm) and then fire up an xterm, seems like a pain.  Versaterm
>alone won't allow multiple windows (or at least I can not get it to open them,
>though it uses the telnet tool just fine for one).  And while I am on the
>subject, VersaTerm also only goes up to a 12 pt font.  I like to use
>18 pt courier in a 40 line window.  Not exactly vt100ish, but in the
>A/UX command shell it works like a charm, and I can have N of them with
>different sizes and fonts (i.e. a 130 column 12 pt, etc) what Mac app
>will give me this?.
>
>	-jrg
>p.s.
>  I have to plans to drop A/UX, but since rlogin is about all I do these
>  days that is unix-ish, I was wondering what the world would be like
>  if I went to just sys 7.
>
>-- 
>internet    jrg@galloway.sj.ca.us  John R. Galloway, Jr  795 Beaver Creek Way
>applelink   D3413                  CEO...receptionist    San Jose, CA   95133
>                                   Galloway Research     (408) 259-2490


-- 
internet    jrg@galloway.sj.ca.us  John R. Galloway, Jr  795 Beaver Creek Way
applelink   D3413                  CEO...receptionist    San Jose, CA   95133
                                   Galloway Research     (408) 259-2490
Newsgroups: comp.sys.mac.apps
From: mike lee <mikelee@oregon.uoregon.edu>
Subject: Re: Filemaker Pro bombs in system 7 - advice, please
Organization: old oregon magazine
Distribution: usa
Date: Thu, 3 Sep 92 23:12:45 GMT

In article <1992Sep3.173441.2319@ccu.umanitoba.ca> mzajac@ccu.umanitoba.ca
(Michael Stephen Zajac) writes:
>We just bought a copy of Filemaker Pro (bundled with MacWrite II and 
>MacDraw) from the local university bookstore.  It runs once, creates a
>"Filemaker temp" folder, then bombs on startup when it runs again.  
>It will run successfully when the temp folder is removed.

I have had this happen with both System 7 (tuned-up) and 6.0.7. But lately, and
I don't know why, the 7-resident copy has worked fine.

...Mike Lee, Old Oregon magazine, University of Oregon
...MIKELEE@oregon.uoregon.edu


Newsgroups: comp.sys.mac.apps
From: rkmossm@pbhyb.PacBell.COM (Richard Mossman)
Subject: Re: Filemaker Pro bombs in system 7 - advice, please
Reply-To: rkmossm@PacBell.COM (Richard Mossman)
Organization: Pacific * Bell, San Ramon, CA
Distribution: na
Date: Thu, 3 Sep 1992 22:49:31 GMT

I have FileMaker Pro 1.0v3 running just fine. Claris sent me the upgrade for
free after complaining that I couldn't get 1.0 to run with Sys 7. Sounds 
familiar doesn't it?

I have only had one problem since where I couldn't get the "Find" function
to find the files I was telling it to find. That was easily solved by
doing a recovery on the file and using the new file.

Don't give up.
-- 
Richard K. Mossman  {att,bellcore,sun,ames,decwrl}!pacbell!rkmossm
510/823-0974
=========================================================================
"I need to put some distance between overkill and me!" -- E. John (1988)