"Facility + extensions"

facility [ANS]
* AT-XY ( col row -- )

move the cursor position to the given row and column
of the screen. If the output device is not a terminal
this will have no effect but can still send an
escape sequence.

FORTH/ANS facility (dpANS10.6.1.0742) ordinary primitive

* KEY? ( -- flag )

if a character is available from the keyboard, return true.
The KEY word will retrieve the actual character.

FORTH/ANS facility (dpANS10.6.1.1755) ordinary primitive

* PAGE ( -- )

CLRSCR

FORTH/ANS facility (dpANS10.6.1.2005) ordinary primitive

* EKEY ( -- keycode )

return a keyboard event, the encoding may differ, esp.
that it can contain special keys.

FORTH/ANS facility (dpANS10.6.2.1305) ordinary primitive

* EKEY>CHAR ( keycode -- keycode false | char true )

FORTH/ANS facility ordinary primitive

* EKEY? ( -- flag )

check if a character is available from the keyboard
to be received - unlike KEY? it will not discard
non-visible codes.

FORTH/ANS facility (dpANS10.6.2.1307) ordinary primitive

* EMIT? ( -- flag )

if EMIT can safely output characters without
blocking the forth by waiting for an indefinite time.

FORTH/ANS facility (dpANS10.6.2.1325) ordinary primitive

* MS ( n -- )

wait at least the specified milliseconds
(suspend the forth tasklet)

FORTH/ANS facility (dpANS10.6.2.1905) ordinary primitive

TIME&DATE

[] no special info, see general notes

FORTH/ANS facility ordinary primitive

ENVIRONMENT ENVIRONMENT FACILITY-EXT

[] no special info, see general notes

ENVIRONMENT facility ordinary constant