On Mon, Jul 15, 2013 at 06:39:59PM -0500, Chris Adams wrote:
Actually, journalctl DOES do something other than popen("less"); it overrides the user's $LESS and sets it to "FRSXMK" (the S option tells less to chop lines). So while technically journalctl is not chopping lines, it is forcing less to do so. A user's $LESS should not be overridden, especially to chop log lines.
Although the less man page says that lines are "chopped", they actually _should_ be available for scrolling to the right and back to the left. That is, the lines are not truncated.
I had an RFE about this in bugzilla somewhere. It's hard because some options which make sense for a general pager don't for journal paging, so it's better to set a sane set of options. You can set the systemd-specific pager variable if you think it should be different. (You can set that to `cat` and then presto, no paging.)
Another thing that I don't see in the man page is why some lines are bold/in color.
That's a documentation bug. It's not in the man page but explained here http://0pointer.de/blog/projects/journalctl.html
* Lines of error priority (and higher) will be highlighted red. * Lines of notice/warning priority will be highlighted bold.