Terminal.app workaround.