Interactive mode is entered by executing the command asy with
no file arguments. Each line must be a complete Asymptote statement;
however, it is not necessary to terminate each line with a semicolon.
The following special commands are supported only in interactive mode and must be entered immediately after the prompt:
helpresetAsymptote to its initial state, except that a prior call
to scroll (see scroll) and any changes to the setting
outname are respected.
input FILEerase(); include FILE. If
the file name FILE contains nonalphanumeric characters, enclose
it with quotation marks. For convenience, a trailing semi-colon
followed by optional Asymptote commands may be entered on the same line.
quitq; exit is a synonym).
A history of the most recent 1000 (can be changed with the
historylines command-line option) previous commands will be retained
in the file .asy/history in the user's home directory (unless
the command line option -localhistory was specified, in which case
the history will be stored in the file .asy_history in the
current directory).
Typing ctrl-C interrupts the execution of Asymptote code
and returns control to the interactive prompt.
Interactive mode is implemented with the GNU readline library.
To customize the key bindings, see:
http://cnswww.cns.cwru.edu/php/chet/readline/readline.html