mdb's output autowrapping should be optional -- and disabled
Among mdb's more annoying idiosyncrasies is its insistence on autowrapping output at the terminal width. This is not required from a terminal perspective (mdb's terminal code handles the proper autowrapping of output), but is rather done from a pseudo-semantic perspective whereby a line wrap is induced if a word will exceed the width of the terminal. (Running the "::set" command is an easy way to see this.) The mechanism has many strange flaws and quirks (it doesn't always wrap at a whitespace boundary, for a variety of reasons), and it doesn't (ever?) seem to really be the desired behavior. To the contrary, it very often gets in the way of parsing mdb output. This behavior should be made optional, and turned off by default.
This was tested by running the test suite, including the addition of a new test to test this behavior.
Updated by Electric Monk 4 months ago
- Status changed from New to Closed
commit f76ff24c761689d2859f3bc5faa7ec9e84f92234 Author: Bryan Cantrill <email@example.com> Date: 2019-06-06T14:01:13.000Z 11186 mdb's output autowrapping should be optional -- and disabled Reviewed by: Dave Pacheco <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>