terminal_cub.diff