From 59251693e7e0e576b26a33633cfff5d92d0a700e Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Thu, 28 Sep 2017 11:56:40 +0000 Subject: [PATCH] Add a note about overriding the journalctl nowrap default Hoping that this helps people who consider this as annoying as I do. Change-Id: I45e71301efb8d9a17989b57232a142e786175c2a --- doc/source/systemd.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/systemd.rst b/doc/source/systemd.rst index c1d2944057..2009f7407c 100644 --- a/doc/source/systemd.rst +++ b/doc/source/systemd.rst @@ -115,8 +115,9 @@ an appropriate terminal/pager - e.g. ``less``, the default):: journalctl -a --unit devstack@n-cpu.service When outputting to the terminal using the default pager, long lines -appear to be truncated, but horizontal scrolling is supported via the -left/right arrow keys. +will be truncated, but horizontal scrolling is supported via the +left/right arrow keys. You can override this by setting the +``SYSTEMD_LESS`` environment variable to e.g. ``FRXM``. See ``man 1 journalctl`` for more.