See also
See also
Posted May 18, 2011 15:51 UTC (Wed) by Tobu (subscriber, #24111)In reply to: See also by njwhite
Parent article: Announcing TermKit
Structured command output would be pretty neat. For example making it foldable.
At the moment I can use less with an alternative screen that gets wiped when I close it, less on the terminal, and raw command output to the terminal. The last two can wipe the scrollback buffer, the last isn't too convenient to navigate (search isn't standard, though screen and some terminal emulators provide it), the first lets the output disappear (though less can be used to save it somewhere), and the first two require extra typing. Picking one before running a command increases cognitive load a bit.
Fixing this would require some integration between shell and terminal. At the very least one escape that says "begin prompt" and one that says "end prompt"; maybe some deeper integration to prevent binary garbage from messing with terminal state as well.
