Next: , Up: Faces


2.5.1 Terse Command Face

The terse-cmd-face is a command-line variant. It is called "terse" because input can be abbreviated as long as the abbreviations are unambiguous in the command table. For example, the command info schedvals can be entered as i sch.

— Procedure: terse-cmd-face

Begin terse command repl. Enter quit or EOF to quit.

Entering ,EXPR evaluates EXPR as Scheme code and prints out the answer. Entering !CMD uses the shell (whatever the SHELL env var is set to) to execute CMD. Typing "help" explains this and lists all the commands in the command table.

terse-cmd-face uses the standard exception framework for faces. See Exception model.

— Variable: terse-cmd-table

This table holds all the commands that are recognized by the terse-cmd-face. In the future, there may be some mechanism to extend it at run time, but for now, if you want to add a command, you need to change the source code.

The commands in this table usually map directly to a procedure. In that case, "help" also includes the name of the procedure as callable by Scheme code.

Here is a complete list of the commands included in the table (underlying procedure in parentheses, if available):

See Procedures and variables.