Fix linux bugs with vi and tabtitle