Allegro CL v4.3 commands

The following commands can be entered in keyword form at the Allegro CL prompt. For example, :EXIT exits Allegro CL.

The following section sorts the commands by category. An alphabetical listing is also available. If your web browser supports tables, here are tables of commands that are slightly easier to read.

Allegro CL commands, categorized

Files and Directories

:cd             change into another directory
:cf             compile a file
:cload     cl   compile and load a file
:dirs      di   print the Allegro directory stack
:ld             load one or more files
:pwd       pw   print the process current working directory

Debugger

:arrest    arr  arrest a process for debugging
:boe            mark frame to break when exited
:bottom    bo   show the oldest frame on the stack
:bt             trace stack in a very brief manner (see Zoom)
:continue  cont continue from a continuable error
:current   cur  return the expression given by the current stack frame
:dn             move down the stack `n' frames, default 1
:EOF            either :pop or :exit
:error     err  print the last error message
:pop            pop up 'n' (default 1) break levels
:scont     sc   step 'n' forms before stopping
:unarrest  unar revoke the debugging arrest reason on a process
:wdebug    wd   create a window debugger for the given process (default current)

Stack

:bottom    bo     show the oldest frame on the stack.
:bt               trace stack in a very brief manner (see Zoom)
:current   cur    return the expression given by the current stack frame
:dn               move down the stack `n' frames, default 1
:edit      ed     edit the source for the current stack frame
:find      fin    find the stack frame calling the function `func'
:focus     fo     focus the top level on a process
:frame     fr     print info about current frame
:function  fun    print and set * to the function object of this frame
:hide      hid    hide functions or types of stack frames
:local     loc    print the value of a local (interpreted or compiled) variable
:pop              pop up 'n' (default 1) break levels
:prt              pop-and-retry the last expression which caused an error
:reset     res    return to the top-most break level
:restart   rest   restart the function in the current frame
:return    ret    return values from the current frame
:set-local set-l  set the value of a local variable
:sover     so     eval the current step form, with stepping turned off
:step      st     turn on or off stepping
:top       to     Show the newest frame on the stack.
:unhide    unh    unhide functions or types of stack frames
:up               move up 'n' (default 1) stack frames
:zoom      zo     print the runtime stack

Inspector

:inspect         i       inspect a lisp object
:who-binds       who-b   find bindings of a variable
:who-calls       who-c   find callers of a function
:who-references  who-r   find references to a variable
:who-sets        who-s   find setters of a variable
:who-uses        who-u   find references, bindings and settings of a variable
:winspect        wi      window inspect a component or *

Processes

:arrest     arr    arrest a a process for debugging
:focus      fo     focus the top level on a process
:kill       ki     kill a process
:processes  pro    List all processes
:unarrest   unar   revoke the debugging arrest reason on a process

Miscellaneous

:args               arg    save arguments before calls
:evalmode           eval   examine or set evaluation mode
:exit               ex     exit and return to the shell
:help               he     print this text -- use `:help cmd-name' for more info
:history            his    print the most recently typed user inputs
:macroexpand        ma     call macroexpand on the argument, and pretty print it
:optimize           opt    interactively set compiler optimizations
:package            pa     go into a package
:popd                      cd into the previous entry on directory stack
:printer-variables  pri    Interactively set printer control variables
:processes          pro    List all processes
:pushd              pu     cd to a directory, pushing the directory on to the stack
:trace              tr     trace the function arguments
:untrace            untr   stop tracing some or all functions

Allegro CL commands, alphabetical

Typing :HELP at the prompt produces this list. Many of the commands have a short abbreviation, as shown.
Command  abbr Description

:args arg save arguments before calls :arrest arr arrest a process for debugging :boe Mark frame to break when exited. :bottom bo Zoom at the oldest frame on the stack. :bt Zoom in a very brief manner. :cd change into another directory :cf compile a file :cload cl compile and load a file :continue cont continue from a continuable error :current cur return the expression given by the current stack frame :dirs di print the Allegro directory stack :dn move down the stack `n' frames, default 1 :edit ed edit the source for the current stack frame :EOF either :pop or :exit :error err print the last error message :evalmode eval examine or set evaluation mode :exit ex exit and return to the shell :find fin find the stack frame calling the function `func' :focus fo focus the top level on a process :frame fr print info about current frame :function fun print and set * to the function object of this frame :help he print this text -- use `:help cmd-name' for more info :hide hid hide functions or types of stack frames :history his print the most recently typed user inputs :inspect i inspect a lisp object :kill ki kill a process :ld load one or more files :local loc print the value of a local (interpreted or compiled) variable :macroexpand ma call macroexpand on the argument, and pretty print it :optimize opt interactively set compiler optimizations :package pa go into a package :pop pop up `n' (default 1) break levels :popd cd into the previous entry on directory stack :printer-variables pri Interactively set printer control variables :processes pro List all processes :prt pop-and-retry the last expression which caused an error :pushd pu cd to a directory, pushing the directory on to the stack :pwd pw print the process current working directory :reset res return to the top-most break level :restart rest restart the function in the current frame :return ret return values from the current frame :scont sc step `n' forms before stopping :set-local set-l set the value of a local variable :sover so eval the current step form, with stepping turned off :step st turn on or off stepping :top to Zoom at the newest frame on the stack. :trace tr trace the function arguments :unarrest unar revoke the debugging arrest reason on a process :unhide unh unhide functions or types of stack frames :untrace untr stop tracing some or all functions :up move up `n' (default 1) stack frames :wdebug wd create a window debugger for the given process (default current) :who-binds who-b find bindings of a variable :who-calls who-c find callers of a function :who-references who-r find references to a variable :who-sets who-s find setters of a variable :who-uses who-u find references, bindings and settings of a variable :winspect wi window inspect a component or * :zoom zo print the runtime stack