On Tue, 2013-07-16 at 21:50 +0200, Reindl Harald wrote:
Am 16.07.2013 21:45, schrieb John.Florian@dart.biz:
From: h.reindl@thelounge.net
i am *strictly* against all this truncate and autopaging and for me "GIT does the same" is no argument - a mistake is not better because others do the same.............
if i want paging i do " | less" or " | more" *this* is the unix way of work
but who am i...............
While I'm no more important than the next guy, I'll defend the auto-pager feature of both git and journalctl. I love it, in fact. I'm no stranger to very long pipelines and sub-shells but I see nothing but benefit in not having to add "| less" routinely to things that are UI in nature. These auto-pagers get out of the way immediately if you need a pipeline, so what's the harm? In fact, you can still "journalctl | less" or the like if you really want to.
you could also do alias journalctl="journalctl | less" to achive the same
hence my konsole has scrollbars, i do not like autopaging and whatever is not pure unix because there are mechs to achieve whatever you need and with GIt and systemctl/journalctl whe have a inconsistent behavior
in any case *truncate* outputs is a absolutely no-go
the ordinary user does not look at all this things and the advanced which have a reson to look get stripped informations
alias journalctl='journalctl --no-pager'
an live happy
Simo.