Terminfo searcher paths

r? @cmr