How can I scroll up more (increase the scroll buffer) in iTerm2?

ItermIterm2

Iterm Problem Overview


How can I scroll up more on iterm2 to get full output? At times, for example if I am doing unit tests, the errors are so large than I need to keep scrolling up to which I cannot scroll up anymore but the output continues further up beyond the top of the scroll. How can I access that? I tried page up more but not getting me there.

Iterm Solutions


Solution 1 - Iterm

There is an option “unlimited scrollback buffer” which you can find under Preferences > Profiles > Terminal or you can just pump up number of lines that you want to have in history in the same place.

Solution 2 - Iterm

Solution: In order to increase your buffer history on iterm bash terminal you've got two options:

> Go to iterm -> Preferences -> Profiles -> Terminal Tab -> Scrollback Buffer > (section)

Option 1. select the checkbox Unlimited scrollback

Option 2. type the selected Scrollback lines numbers you'd like your terminal buffer to cache (See image below)

enter image description here

Solution 3 - Iterm

Tree Step:

  1. cmd + ,
  2. Profiles Tab
  3. Select "Terminal" and mark the "Unlimited scrollback"

now restart your terminal and BOOM

Watch video here: https://i.imgur.com/yFwduAl.mp4

Solution 4 - Iterm

macOS default terminal (not iTerm2)

> macOS 10.15.7

  1. open Terminal
  2. click Prefrences...
  3. select Window tab
  4. just change Scrollback to Limit number of rows to: what your wanted.

my screenshots

enter image description here

enter image description here

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMohamed El MahallawyView Question on Stackoverflow
Solution 1 - ItermrastasheepView Answer on Stackoverflow
Solution 2 - ItermavivamgView Answer on Stackoverflow
Solution 3 - ItermEricgitView Answer on Stackoverflow
Solution 4 - ItermxgqfrmsView Answer on Stackoverflow