Do the right thing with the tputs macro so that *terminfo*
or *terminal-io* are set as expected.