]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/pager.h
journalctl: fix ellipsization with PAGER=cat
authorZbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jul 2012 07:06:26 +0000 (09:06 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 23 Jul 2012 15:57:11 +0000 (17:57 +0200)
commitfafb6eccc2c9e3f8d6ce0aad9cb428f8cc402b24
tree1cf54ff0d9fa2a6d5cf36b13d8511caa0b5fc4c8
parentf84b1a8c3aff81c9d80f47943e116e205c884565
journalctl: fix ellipsization with PAGER=cat

There are other reasons for not opening the pager then the --no-pager
or --follow options (described below). If the pager is not used,
messages must be ellipsized.

On Fri, Jul 20, 2012 at 05:42:44AM +0000, Shawn Landen wrote:
> "Pager to use when --no-pager is not given; overrides $PAGER.
> Setting this to an empty string or the value cat is equivalent to passing --no-pager."
src/journal/journalctl.c
src/shared/pager.c
src/shared/pager.h