Purge terminfo database