![]() | ![]() | |||||||||||||||
| ||||||||||||||||
Command Line InteractionSparForte supports all modern terminal or console windows, including the Linux text console, KDE's konsole, the Gnome console and most monochrome terminal emulations that cursor movement. Support for inverse and bold print is preferred. Command Line Key BindingsSparForte recognizes the Linux console arrow keys and common key sequences for the "emacs" and "vi" text editors. The sequences are called key bindings and represent cursor movement and editing functions. The emacs mode key bindings are:
If you prefer to use vi cursor movement instead, press the escape key to enter vi mode. Press escape again to return to emacs mode. In vi mode, you can use lower-case 'h', 'j', 'k', 'l', '^' and '$'. Filename completion is accomplished with two escape key presses in a row. Command HistorySparForte remembers up to 100 command lines for the current session, and you can cycle through them using control-p and control-n. The history command will show your command history. Filename CompletionPressing a tab (or ESC twice) on the command line will cause SparForte to search for filenames to complete a command. If there are multiple machines, SparForte will complete as much of the filename as matches all cases. Pressing tab again will show a list of the possible matches. If the filename contains a leading tilde, it will be treated as the path to your home directory. SIGINT HandlingTyping a control-c (sending a SIGINT signal) at the command prompt acts the same as a control-x. Pressing control-c while a script or command is running will cause it to stop. Interactive Sessions versus ScriptsInteractive sessions have the following limitations or features:
|
Block Statements and Subprograms |