More termcap work.