Long listings are only partially shown since the amount of lines remembered isn't too large. I'd like to cancel the limit of lines in a similar way to the following:
- Terminal limits scrolling
- How do I increase the number of lines shown on the Ubuntu terminal window?
- How to increase Scrollback lines in Ubuntu(14.04.2) server edition?
only I'm running an Ubuntu Server 15.10 and I'd like to do it using CLI.
I've also tried to use
xrandr from the
x11-xserver-utils package, but I keep getting
Error: Can't open display: when running it, or when running
I tried using a Terminal Multiplexer, but neither
tmux did the trick (admit I'm not sure I took full advantage of
tmux though), and setting the
GRUB_CMDLINE_LINUX value did not change anything either. I've tried 1024k, 2048k etc, but nothing happend - the amount of lines remains limited.
To do the above said, I've tried to use information from the following: https://www.kernel.org/doc/Documentation/kernel-parameters.txt , https://www.kernel.org/doc/Documentation/fb/modedb.txt and https://www.kernel.org/doc/Documentation/fb/fbcon.txt, by following the links given by commentators and those who submitted their answers - I still haven't solved it, but thanks a bunch for that, guys.
One thing that did happen, is after changing the lines value with the
screen Terminal Multiplexer to a large value (65000) - the screen refreshed badly. I saw white lines whenever I typed something. So I guess it did affect RAM consuming, but the amount of lines did not change.
I installed Ubuntu-Server 14.04.3 for reference - and most methods above work. I was able to send settings to the kernel through
fbcon and set the "lines-history" file size to what ever I wanted, for example.