update tests to use default terminal; add flags to terminal database to indicate whether a given terminal is a display or output device.