very simple and restricted signal interface for repl