terminal_min and terminal_max commands