support Terminal.app version 2.5 (342)