Hello, The attatched gets rid of the immediate problem of cntrl-z not working. When async, it calls cli_command_loop. Thanks to mark for analyzing the problem. It should eventually be called via the CLI interpreter's command loop but that can follow. This is to get over the immediate problem (and hey, while we're at it, eliminate a reference to the global command_loop_hook). committed, Andrew PS: The TUI also appears to have also suffered in the fallout :-(