🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #36285

Writing Desk Accessories in C

#36285
From: Lee Spector
Date: Thu, 12 Jan 1989 20:56
17 lines
1514 bytes
Does anybody know of a painless way to make a C program run as a
Desk Accessory on a macintosh?  I have a program (a calculator-like
expression evaluator) that reads strings from standard in, processes 
them, and writes to standard out.  I'd like to install it on a mac 
so that the user could select the DA from the apple menu, causing 
a scrolling (if possible) text window (with a close box) to 
appear that would act like a normal terminal screen.  The only
fancy interface element I require is that the user should be able
use the mouse and the editing commands to modify the text the text
in the DA window. (I want the user to be able to grab parts of
previous expressions, pressing RETURN to send the string to the program.)
I have asked this question previously in regard to Pascal programs; 
the general response was "you have to do alot of mac system programming."
Is the situation with C any better?  I don't know the mac's guts and I'm
not learning any time soon.

Thanks a bunch,   - Lee (spector@brillig.umd.edu)
Technical Details
Message-ID: <15437@mimsy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!xanth!ukma!uflorida!haven!mimsy!brillig.umd.edu!spector

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!xanth!ukma!uflorida!haven!mimsy!brillig.umd.edu!spector
From: spector@brillig.umd.edu (Lee Spector)
Newsgroups: comp.sys.mac
Subject: Writing Desk Accessories in C
Keywords: DA Desk Accessory C programming
Message-ID: <15437@mimsy.UUCP>
Date: 12 Jan 89 20:56:48 GMT
Sender: nobody@mimsy.UUCP
Reply-To: spector@brillig.umd.edu.UUCP (Lee Spector)
Organization: University of Maryland, Dept. of Computer Sci.
Lines: 17