User Interface - Textual

NOTE: The textual interface is intended for advanced users. If you are not experienced, use Framsticks with a graphical interface.

Interactive command-line

To run an interactive command-line program (with its own shell), just execute it. (For PC console, run CFramsticks.exe).

All the commands and functions are organized as a tree. Enter "?" to learn about available commands at the current level. For example, when you enter "?" after the program has been run, you will see that you have four directories: 0, 1, 2, 3 and four commands: "?", "go", "hash" and "help". Enter "help" and read it.

To load genotypes from a file, enter "0/load filename". To run the simulation, enter "go number-of-steps". Feel free to explore directories and available commands.

Directories contain not only commands, but also objects! (genotypes, organisms, parameters etc.).

To get detailed help about some command, enter "? command", for example "? go".

To quit the program, enter End-Of-Line character (^Z for PC, ^D for UNIX).

Command-line

You can use arguments, for example (PC):

CFramsticks "0/load e0.gen" "go 100000000" "0/save last.gen" -q

means that you

Batch

You can use batch mode, for example (PC):

CFramsticks < commands.txt

where commands.txt file contains the commands you would enter interactively.