In the POLY module this is called SET_INTERACTIVE.
Use the SET_INTERACTIVE_MODE command to use it in demonstration or macro files to stop the execution of the command file and pass over input focus to the keyboard.