The console has two purposes. It logs various system messages, such as PCC2's startup phase. It also acts as the interface to the script interpreter. You can enter expressions and one-line commands. When you enter an expression, both the expression and its result will be logged on the console. You can therefore use this as a calculator ("what is 17*4?"), and to check PCC2 expressions (Distance(Ship(10), Ufo(20)), Ship(17).Name) or commands (SetMission 4). For details, refer to PCC2 Interpreter Documentation.

You can use the following keys:

  • Enter: Evaluate expression
  • Up, Down: Recall previous input and output into input line
  • Ins: Insert last result into input line
  • Tab: Attempt to complete current word (as property name of current object)
  • AltV: List user-defined properties of the current object, and their values
  • ShiftUp, ShiftDown: Scroll through previous output
  • ShiftPgUp, ShiftPgDn: Scroll through previous output

When PCC2 is executing a long-running script, it will not otherwise react on keypresses. In this case, press CtrlPause or, if your computer doesn't accept that, CtrlC, to abort that script (PCC2 will ask for confirmation).

Reference

Keys:
AltC from almost everywhere
Related command:
UI.PopupConsole
Script context:
same as invoking screen