journalctl
is the systemd tool for viewing and tailing system logs. It's cool but has one infuriating bug: when you hit ^C,
it kills both journalctl and your pager.
less
has lots of useful behavior based on ^C
(such as to stop tailing a log), so this makes journalctl
practically
useless in my view :)
It sets the K
option on less
which has this effect, but then it also sends SIGTERM itself when journalctl
receives
SIGINT, so unsetting that K
is not effective, either.