🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4035

mixing standard i/o with intuition messages

#4035
From: Philip Hingston
Date: Wed, 13 Jun 1990 10:52
37 lines
1783 bytes
The subject line is basically my question: is it possible? Can I write
a command loop which acts on intuition (or other, e.g. arexx) messages
as well as reading lines from standard input?

Obvious failure:

		forever
			while a message is pending
				act on message
			read a line of input

See the problem?

A related problem: Can I set up a window in a custom screen for standard i/o?
If so, how?

If anyone can suggest a solution to either or both of these problems, it would
should save me a heap of time and trouble. The only solution I can see is to
re-implement the functionality of standard i/o myself based around intuition
messages, or the keyboard device? or maybe the console device?

If it helps any, the standard i/o can be attached to a different window
to the one generating the other messages.

The application is a logo interpreter. Standard i/o is a convenient way to
provide a command line type interface, and I also want to handle resizing
the graphics window, mouse clicks in the window, possibly menus, definitely
an arexx capability etc.


Thanks.		phi

-- 
Philip Hingston, Computer Science,ACSnet: phi@goanna.cs.rmit.oz
R.M.I.T.                          ARPA:   phi%goanna.cs.rmit.oz.au@uunet.uu.net
GPO BOX 2476 V,                   CSNET:  phi%goanna.cs.rmit.oz.au@australia
Melbourne, 3001, AUSTRALIA        UUCP:   ...!uunet!goanna.cs.rmit.oz.au!phi
Technical Details
Message-ID: <3242@goanna.cs.rmit.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!munnari.oz.au!goanna!phi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!munnari.oz.au!goanna!phi
From: phi@goanna.cs.rmit.oz.au (Philip Hingston)
Newsgroups: comp.sys.amiga.tech
Subject: mixing standard i/o with intuition messages
Message-ID: <3242@goanna.cs.rmit.oz.au>
Date: 13 Jun 90 10:52:59 GMT
Organization: Comp Sci, RMIT, Melbourne, Australia
Lines: 37