def init(): for term in Terminal.select(): term.connect()
def write_to_terminal(terminal_id, data): Terminal.write_to_terminal(terminal_id, data)