I хан see only limited lines on конечный by using shift + pageup. in Ubuntu desktop версия, there is option to make scroll-back lines unlimited. how to do it in Ubuntu server версия. please suggest.
Наилучший вариант состоял бы в том, чтобы использовать оконечный мультиплексор как screen
или tmux
, которые легче настроить.
другой путь состоял бы в том, чтобы настроить консоль кадрового буфера путем редактирования /etc/default/grub
и изменения GRUB_CMDLINE_LINUX
для включения fbcon=scrollback:<value>[k]
, где <value>
размер в килобайтах, Вы хотите присвоиться для буфера. От документы ядра :
C. Boot options
The framebuffer console has several, largely unknown, boot options
that can change its behavior.
1. fbcon=font:<name>
Select the initial font to use. The value 'name' can be any of the
compiled-in fonts: VGA8x16, 7x14, 10x18, VGA8x8, MINI4x6, RomanLarge,
SUN8x16, SUN12x22, ProFont6x11, Acorn8x8, PEARL8x8.
Note, not all drivers can handle font with widths not divisible by 8,
such as vga16fb.
2. fbcon=scrollback:<value>[k]
The scrollback buffer is memory that is used to preserve display
contents that has already scrolled past your view. This is accessed
by using the Shift-PageUp key combination. The value 'value' is any
integer. It defaults to 32KB. The 'k' suffix is optional, and will
multiply the 'value' by 1024.
, Если 32 КБ не достаточно, попробуйте 256k
. Или некоторое другое значение. Метод проб и ошибок, я предполагаю.
Другая более включенная опция создает ядро с CONFIG_VGACON_SOFT_SCROLLBACK
набор.