make running multiple terminals in one process possible