Set C-z as escape char in term-mode