Wait for console text (Zenix)
amiga_wait_textWait until a Zenix console line matches a regular expression, returning on a match or failing after a timeout while the Amiga watches locally without network traffic.
Instructions
Zenix only (not AmigaOS): wait until a line of the console matches a pattern (an extended regular expression), e.g. 'login:'. The Amiga watches, so nothing crosses the network meanwhile. Answers when a line matches; fails after 'timeout' seconds. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| console | No | console 1-10 (default: the one shown) | |
| pattern | Yes | the pattern | |
| timeout | No | seconds (default 30) |