Allow ptree(1) to wrap output

Review Request #2455 — Created Nov. 14, 2019 and submitted — Latest diff uploaded

jbk
illumos-gate
11963
general

Currently ptree(1) truncates each line at the current width of the terminal. The -w option disables this behavior and allows the lines to wrap.

Run versions of ptree(1) with and without this patch and compared output and verified lines being truncated without the -w option matched between versions, and were not truncated when run with the -w on the patched binary.

Loading...