Set terminal line settings