Next: Emacs Face, Up: Faces
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.
Begin terse command repl. Enter
quitor EOF to quit.Entering
,EXPRevaluatesEXPRas Scheme code and prints out the answer. Entering!CMDuses the shell (whatever theSHELLenv var is set to) to executeCMD. Typing "help" explains this and lists all the commands in the command table.
terse-cmd-faceuses the standard exception framework for faces. See Exception model.
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):
- x (thud-execute-user-script)
- add (add)
- link (prepare-to-simulate)
- next (next)
- reset (reset-internals)
- quit (thud-exit)
- print (eval-print)
- deposit (deposit)
- cd (cd)
- set verbose ((uvar:verbose #:setter))
- set debug ((uvar:debug #:setter))
- set max-cycle ((uvar:max-cycle #:setter))
- set dump-file (set-dump-file!)
- set scope ((uvar:scope #:setter))
- set prompt (set-thud-prompt!)
- show working-dir
- show system (display-system-info)
- show version
- show batch ((uvar:batch-mode #:wrline))
- show verbose ((uvar:verbose #:wrline))
- show debug ((uvar:debug #:wrline))
- show warranty
- show scope ((uvar:scope #:wrline))
- show max-cycle ((uvar:max-cycle #:wrline))
- show dump-file ((uvar:dump-file #:wrline))
- show cc
- show event-log (display-event-log)
- show prompt
- info blks (display-blks-summary)
- info vob (display-vob)
- info todolist (display-todo-list-reps)
- info schedvals (display-scheduled-values)
- info instances (display-instances-summary)
- info scopes (display-scopes)
- fs compile (compile-to)