vcs: fix action formats
term: fallback to simpler TERM variables and to xterm

Use terminfo module to know if the term is properly installed.
prompt: more efficient way to find "add-in" prompts
prompt: when zsh is too old to know about %F, disable colors