Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #891
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Martin Wuerthner <spamtrap@mw-software.com> |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: TaskWindow -txt &xxxxxxxx |
| Date | Wed, 19 Oct 2011 10:45:13 +0200 |
| Organization | MW Software |
| Lines | 40 |
| Message-ID | <16ec882452.martin@bach.planiverse.com> (permalink) |
| References | <3613761952.davehigton@dsl.pipex.com> <068f781952.martin@bach.planiverse.com> <5219d7bca2steve@revi11.plus.com> <a930dc1952.martin@bach.planiverse.com> <j69v2p$v9c$1@dont-email.me> <4e96ae2b$0$4463$e4fe514c@dreader19.news.xs4all.nl> <j7bps7$vf1$1@dont-email.me> <4e9d8c5b$0$32484$e4fe514c@dreader21.news.xs4all.nl> |
| X-Trace | individual.net K6zYrZlyoNQwakVl+4WCJA2y8DIM/k3vfgN1pSFRtemJIcS8fU |
| X-Orig-Path | bach.planiverse.com%martin |
| Cancel-Lock | sha1:OnFfNeX2Xbl18EYYcfXO+jzEZMU= |
| X-Editor | EmailEdit 6.00 |
| User-Agent | Messenger-Pro/6.03 (MsgServe/6.00) (RISC-OS/5.16) NewsHound/v1.50-32 |
| Xref | x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:891 |
Show key headers only | View raw
In message <4e9d8c5b$0$32484$e4fe514c@dreader21.news.xs4all.nl>
Erik G <erikg@noname.invalid> wrote:
> On 15-10-2011 13:13, druck wrote:
>> On 13/10/2011 10:23, Erik G wrote:
>>> Question remains: How exactly does the child read the value of the -txt
>>> parameter that was passed to the TaskWindow command?
>>
>> Define child. There are up to 4 actors:-
>>
>> 1) The TaskWindow module
>> 2) Initiator - who or what issues *TaskWindow
>> 3) Handler - a wimp task which provides the window for taskwindow
>> output, can be the same as (2)
>> 4) The taskwindow task spawned by (1) when it receives (2)
> That would be "Child" as defined on the first page of the TaskWindow
> chapter of the PRM (page 3-321). As you correctly surmised, this would
> be (4).
> Although... there does not seem to be a distinction made there between
> the task that is started by the WimpStartTask(TaskWindow) call, which
> has a task handle, runs from code in the TaskWindow module and sends
> messages to and receives messages from the Parent (which is (3) in this
> context) on the one hand, and the command-line program which is started
> with the "command" parameter of the TaskWindow command, runs its own
> code in its own memory space and whose I/O is intercepted by that task
> and converted to messages.
There is no distinction because there is only one task. The TaskWindow
command starts the command-line program *as* a task. The TaskWindow
module calls Wimp_Poll on its behalf to allow it to multitask,
intercepts its output and sends messages on its behalf.
--
Martin
---------------------------------------------------------------------
Martin Wuerthner MW Software http://www.mw-software.com/
RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-09-27 21:41 +0100
Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-09-27 23:08 +0200
Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-09-27 22:33 +0100
Re: TaskWindow -txt &xxxxxxxx "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 15:27 +0100
Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-09-28 17:16 +0200
Re: TaskWindow -txt &xxxxxxxx "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 19:52 +0100
Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-09-30 06:02 +0200
Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-02 16:13 +0100
Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-13 11:23 +0200
Re: TaskWindow -txt &xxxxxxxx Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-10-13 21:08 +0100
Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-15 12:13 +0100
Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-18 16:25 +0200
Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-19 10:45 +0200
Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-09-30 05:47 +0200
Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-09-30 22:38 +0100
Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-01 05:49 +0200
Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-01 13:19 +0200
Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-10-01 20:20 +0100
Re: TaskWindow -txt &xxxxxxxx Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-01 20:51 +0100
Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-01 22:46 +0200
Re: TaskWindow -txt &xxxxxxxx Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-01 22:07 +0100
Re: TaskWindow -txt &xxxxxxxx Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-01 22:04 +0100
Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-10-01 22:45 +0100
Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-10-01 22:44 +0100
Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-18 15:23 +0200
Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-18 15:55 +0200
Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-19 20:27 +0100
Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-14 07:53 +0200
Re: TaskWindow -txt &xxxxxxxx Gavin Wraith <gavin@wra1th.plus.com> - 2011-10-14 11:43 +0100
Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-14 13:26 +0200
Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-15 20:37 +0200
Re: TaskWindow -txt &xxxxxxxx druck <news@druck.freeuk.com> - 2011-10-16 18:26 +0100
Re: TaskWindow -txt &xxxxxxxx Stewart Brodie <stewart.brodie@ntlworld.com> - 2011-10-16 23:28 +0100
Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-19 20:30 +0100
csiph-web