...
- from the command set, send the next command line to the device, followed by Enter
- collect all output, up until a known (recognizable) output occurs
- IF device asks if it should continue with output (more info below), answer "Y", GO TO step 2
- IF device outputs a question (such as a "[y/n]" question - more info below), stop, GO TO step 1.
- IF device asks for a password, or another "secret", stop, GO TO step 1
- IF device pages through output ("-- more --"), send pagination key (space for most device types) to proceed to next page, GO TO step 2
- IF device asks to confirm end of output, ("press Q to finish"), send the appropriate key to finish output, GO TO step 2
- IF a prompt is received, stop, GO TO step 1
...