summaryrefslogtreecommitdiff
path: root/src/shared/pager.c
Commit message (Collapse)AuthorAgeFilesLines
* pager: add -M to $LESS to make the bottom line nicerLennart Poettering2013-03-071-2/+2
|
* pager: always override LESSLennart Poettering2013-03-071-2/+2
| | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=868383 Primary reason to do this is to ensure "-e" works as intended, and is not ignored because the user set his own LESS variable.
* pager: introduce "jump to end" optionHarald Hoyer2013-03-071-2/+5
| | | | | | | | $ journalctl -be is what you want :) https://bugzilla.redhat.com/show_bug.cgi?id=867841
* pager: add K to less environmentLukas Nykryn2013-03-011-1/+1
| | | | | | | | | Using less as a pager sometimes breaks terminal when output is interrupted by ctrl-c. Reproducer: run 'sudo journalctl' ctrl-c. Thanks mbriza@redhat.com for the solution.
* util: unify usage of on_tty() in util.cLennart Poettering2012-10-191-1/+1
|
* journalctl: unify ellipsation handling between journalctl and systemctlLennart Poettering2012-10-181-8/+14
|
* journalctl: fix ellipsization with PAGER=catZbigniew Jedrzejewski-Szmek2012-07-231-7/+10
| | | | | | | | | | 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."
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-121-4/+4
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* move pager.[ch] to shared/Kay Sievers2012-04-101-0/+134