Mon Sep 24 2001: HPC builds now support GNU readline. You must set TERM to wince and copy the termcap file to $UNIXROOTDIR/etc. Set TERMCAP to the full path of the termcap file. You must download celib.dll 3.04 or greater. External commands can be declared to be pipeable, which means they are run with popen() and dont open a new console. External commands dont need x anymore. The order of x/y in the cm cap has been changed. Builtins must be declared as builtin, else they wont work.
| -f batchfilename | Execute script. |
| cd [dir] | Change to diretory, HOME by default. |
| cp src dest | Copy file. |
| dir | List diretory. |
| echo string | Print string. |
| env | List environment. |
| exit | Exit console. |
| ls | List files. |
| mkdir dirname | Make diretory. |
| more filename | Show filename. |
| mv src dest | Move file. |
| pwd | Print current directory. |
| quit | Exit console. |
| rm pattern | Remove files. |
| rmdir dirname | Remove directory. |
| setenv varname value | Set environment variable. |
| start commandline | Execute commandline and do not wait. |
| x commandline | Execute commandline and wait. |
| builtin cmd1 cmd2 ... | Declare builtin. |
| pipeable cmd1 cmd2 ... | Declare pipeable. |
Note that external programs must be started with 'x' or 'start'. Not needed since console 1.2 anymore.
There might be better implementations of some commands in the file-utils archive.
All entries must be string values. Paths can contain forward-slashes.
The follwing variables are used:
| UNIXROOTDIR | Directory containing standard Unix files/directories, like 'etc', 'dev'. |
| PATH | Searchpath for the process creating functions. Paths are seperated by semicolon. |
| HOME | Home diretory. |
| ROWS/COLS | Rows and columns for console window. Must be string values. |
| CONSOLEFONTSIZE | Fontsize for console. |
| PWD | Used for passing the parent pwd to child processes. Very bad. |
| TMP/TEMP/TEMPDIR | Direcory for temp files. |
| TERM | Terminal. Set to wince. |
| TERMCAP | Path to the termcap file. |