when checking for dumb terminal setting just look at first part of string so sizes can be changed without bogus character appearing in result set