User:Erik G/Sandbox 1: Difference between revisions

From RISC OS
Jump to navigationJump to search
(Intro)
 
(more)
Line 1: Line 1:
<blockquote>''The Taskwindow module is intended to allow programs which do not call SWI Wimp_Poll to be pre-emptively scheduled in the {{RISC OS}} desktop.''
<blockquote>''The Taskwindow module is intended to allow programs which do not call SWI Wimp_Poll to be pre-emptively scheduled in the {{RISC OS}} desktop.''
-- PRM TaskWindow: Introduction and Overview</blockquote>
-- PRM TaskWindow: Introduction and Overview</blockquote>
Most {{RISC OS}} users will know this from the interactive window they use to type CLI commands in. A server application (usually the default text editor) is used to display the output of the CLI (and of the commands typed in) and accept the keyboard input and send it to the CLI.
Most {{RISC OS}} users will know this from the interactive window they use to type CLI commands in. It also has a mode where a user task can directly process all output of the target program, and send input to it if required.

==Direct Mode==
In this mode the user application acts as the Parent and should handle messages from and to the Child itself. This mode is entered my issuing the TaskWindow command with the -task option:
TaskWindow <command> -task &xxxxxxxx [-txt &yyyyyyyy]

==Server Mode==
A server application (usually the default text editor) is used to display the output of the CLI (and of the commands typed in) and accept the keyboard input and send it to the CLI.

Revision as of 04:02, 24 October 2011

The Taskwindow module is intended to allow programs which do not call SWI Wimp_Poll to be pre-emptively scheduled in the RISC OS desktop. -- PRM TaskWindow: Introduction and Overview

Most RISC OS users will know this from the interactive window they use to type CLI commands in. It also has a mode where a user task can directly process all output of the target program, and send input to it if required.

Direct Mode

In this mode the user application acts as the Parent and should handle messages from and to the Child itself. This mode is entered my issuing the TaskWindow command with the -task option:

TaskWindow <command> -task &xxxxxxxx [-txt &yyyyyyyy]

Server Mode

A server application (usually the default text editor) is used to display the output of the CLI (and of the commands typed in) and accept the keyboard input and send it to the CLI.