[Bug 246514] w(1) truncates output before passing to libxo

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 27 14:44:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246514

Phil Shafer <phil at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil at freebsd.org

--- Comment #8 from Phil Shafer <phil at freebsd.org> ---
Just knowing that the "--libxo"  was used is not sufficient, since there are
options that should not affect output (e.g. color, no-humanize, warn).

Can you describe more exactly when you want to avoid truncation?  I'm guessing
you want this for the "encoding" output styles (XML, JSON) and not text, but 
do you want to truncate HTML output?

Maybe the test you are needing is just "if (xo_get_style(NULL) ==
XO_STYLE_TEXT)"?

Thanks,
 Phil

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list