terminal UX

What UX rules should terminal tools follow?

I'm thinking about usability rules for command-line tools and terminal interfaces, from Ctrl+C and tab completion to help text and progress output. Which conventions are worth following, and…