How to scroll the screen buffer in tmux

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux Server 8
  • Red Hat Enterprise Linux Server 9
  • tmux

Issue

  • For RHEL systems with STIG profile, the buffer of the display is only one screen.
  • I cannot scroll my console to see the display past one screen.
  • Terminal session history not available in ssh session. Command history is available but output is only available for a few lines.

Resolution

On any terminal with a green bar at the bottom (tmux status bar), in order to scroll the screen buffer, press CTRL+b and then press the PgUp or PgDn keys, after reviewing it, exit the screen buffer by pressing CTRL+c.
More details on tmux usage on upstream Wiki,

tmux Wiki Getting Started

Root Cause

Default terminal session on systems with STIG profiles enforce the use of TMUX (terminal multiplexer) which uses a different method for scrolling the screen.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments