setupterm prepration