Implement terminal commands

Terminal commands are freely configurable commands that are
entered through and interpreted by the shell but executed
by Final Term.