Exit Full View

Featureful / about / components / Runner.md

Runner

Runs an operating system command, showing the results in a TextBehaviour.

Currently, it lacks many features of a true command line, such as file-completion.

However, for some commands, I find it much nicer to use than a terminal.

For example, the man command. I find it so much nicer to have the results in a Text Area.

Despite it awesome power, the terminal is somewhat clunky to use. Runner will never replace a proper terminal, but I do prefer it occasionally.

Embedded in ListFolder

ListFolder has a Runner input field in its status bar.

This is a rare case when one component directly talks to another component.

At some point, I may remove this interdependence, and instead have my Personal project inject the Runner feature into the ListFolder's status bar. But the framework doesn't allow that yet.

Registered Prefixes

Runner lets you register special prefixes, which are NOT run as commands.

For example, I've set up a prefix of = which passes the remainder of the string to Feather Calculator, where it is evaluated.

I also have prefixes word, ants, hyper and hypo which look up word's definitions, their antonyms, hypernyms and hyponyms using the Word Net dictionary.

You can also use prefixes to launch other Components. Sometimes, it is nicer to type, than to hunt through menus. e.g. I Use ps to open the Processes component.


Back to Components index.