spinix-hive/manpages/pfth.txt

41 lines
1.5 KiB
Plaintext

PFTH(1) User Commands PFTH(1)
NAME
pfth - interpret and execute Forth programs
SYNOPSIS
pfth [FILE]...
DESCRIPTION
pfth is a Forth interpreter that can load Forth source files from the
SD card and execute them. One or more Forth files can be specified
on the command, which will be loaded when pfth starts up.
pfth supports up to two simultaneous opened files. This allows one
file to be read while another one is written, or two files can be read
at the same time. This also allows including a file from another file.
Simple versions of the ls, cat, rm and cp commands are supported under
pfth. The Forth source files used by pfth are included in the /forth
directory. It also includes a Forth versin of the ted line editor,
some SD utilities and other sample programs.
The user can exit pfth and return to the Spinix shell by typing the
bye command.
LIMITATIONS
pfth processes a maximum of six command-line parameters. No more than
two files can be opened at the same time.
AUTHOR
Dave Hein
COPYRIGHT
Copyright (c) 2013, Dave Hein
MIT License (See license.txt in the root directory)
This is free software: you are free to change and redistribute it.
There is no warranty, to the extent permitted by law.
SPINIX utility August 2013 PFTH(1)