Command Mode

Right after starting TEAPOT, you are in the command mode. Many operations from the command mode are also available from menus, but using keys is faster and some things, like moving the cell cursor, are only available through keys. Tables tab:Key-Bindings-in through tab:Key-Bindings-in-2 list all available key bindings[*]. If a binding is only available in the console variant, it is enclosed in square brackets; if the binding only works in the graphical variant, it is in curly braces (the mnemonic for this notation is that square brackets are “plain” and curly braces are “fancy”).

Table 1: Cursor Motion Key Bindings in Command Mode
Cursor Motions
Function Key
ASCII Key Operation
Next Character/Right Arrow
[Ctrl-F] Right
Prev. Character/Left Arrow
[Ctrl-B] Left
Next Line/Down Arrow
[Ctrl-N] Down
Previous Line/Up Arrow
[Ctrl-P] Up

{Click on right of layer number}

[+] Next Layer

{Click on left of layer number}

- (Dash/Minus) Previous Layer
[Ctrl-A] To column 0
[Ctrl-E] To last column
{Ctrl-Home} {Ctrl-PageUp}
[<] To row 0
{Ctrl-End} {Ctrl-PageDown}
[>] To last row
[_ (Underscore)] To Layer 0
[*] To last layer
[Ctrl-X >] Jump one page right
[Ctrl-X >] Jump one page left
PageDown {Ctrl-Down}
[Ctrl-V] Jump one page down
PageUp {Ctrl-Up}
[Meta-V] Jump one page up
{Ctrl-G} Go to arbitrary location

Table 2: Program Control Key Bindings in Command Mode
Program Control
Function Key
ASCII Key Operation
[/] Main menu
[Ctrl-X Ctrl-S] {Ctrl-S} Save sheet
{Ctrl-Shift-S} Save sheet as...
[Esc z] Save sheet and quit
[Ctrl-X Ctrl-R] {Ctrl-O} Load sheet
{Meta-F} Activate File menu
{Meta-V} Activate View menu
{Meta-O} Activate fOrmat menu
{Meta-H} Activate Help menu
Ctrl-L Redraw screen
[Ctrl-C] [Ctrl-G] {Esc} Abort current action
[Ctrl-X Ctrl-C] {Ctrl-Q} Quit

Table 3: Key Bindings that Modify Cells in Command Mode
Modify Cells/Blocks
Function Key
ASCII Key Operation
[Ctrl-J] [Ctrl-M] Edit cell contents
[Ctrl-H] Edit cell and delete last character
“, @, digit, letter Overwrite cell contents
[Esc Ctrl-J] [Esc Ctrl-M] Edit clocked cell contents
[Esc s] Edit style expression
. (Period) Start/End Mark block (see text)
{Shift-Right} {Shift-Left}

{Shift-Down} {Shift-Up}

  Start Mark and Move
{Ctrl-C} Copy cell/text/block; End Mark
{Ctrl-X} Designate block for moving; End Mark
[Ctrl-Y] {Ctrl-V} Paste/move block
  Clear block
{Meta-A} Set cell label
{Meta-B} Toggle cell/block bold
{Meta-U} Toggle cell/block underlined
{Meta-L} Make cell/block left justified
{Meta-C} Make cell/block centered
{Meta-R} Make cell/block right justified
{Meta-P} Set cell/block precision
{Meta-W} Set column width
{Meta-E} Toggle cell/block shadowed
{Meta-T} Toggle cell/block transparent
{Meta-I} Toggle cell/block ignored
Ctrl-R Reset sheet
F9, {Shift-Tab}
[Ctrl-S] Clock sheet

One command-mode key in particular needs additional explanation. The . (Period) marks blocks: The first time it is pressed marks the beginning of a block, which is then extended by moving the cell cursor. The next time, it marks the end of the block which lets you move the cell cursor after without changing the block. The third time, it removes the block marks again.