freebsd-nq/usr.bin/w
Kristof Provost 307625842b w: don't truncate if we're writing libxo json/xml
If we're writing structured output (i.e. json or xml) we shouldn't worry
about terminal width, and instead always output full width information.

This means that, for example, if we're called from crontab with 'w
--libxo json' we'll provide full the command field rather than
pointlessly truncating it.

Suggested by:	Phil Shafer
Event:		Aberdeen Hackathon 2022
Differential Revision:	https://reviews.freebsd.org/D25013
2022-10-07 18:21:27 +02:00
..
extern.h
Makefile
Makefile.depend
pr_time.c
proc_compare.c
uptime.1
w.1 w(1): Add EXAMPLES to man page 2020-08-24 17:57:08 +00:00
w.c w: don't truncate if we're writing libxo json/xml 2022-10-07 18:21:27 +02:00