ssh buffer doesn't satisfy buffer lines settings

Resolved

ssh buffer doesn't satisfy buffer lines settings

avatar

I have the default 2000 scroll lines set my ssh terminal settings:



However when I run a command with long output and I then "scroll up", as soon as it moves away from the last displayed lines I see output from very old commands I run yesterday, and not the top initial lines of the command I just run. It seems like the lines buffer handling might be broken somewhere.

75d1ff01-f072-45a0-b768-cf7fa5a1a779.png

All Comments (2)

avatar

Hi,

I suspect you are in "alternate screen" mode. This happens with command such as "screen" or "tmux" for exemple. In such cases, all the output is limited to the alternate screen, which is the size of the window, and leaves the scrollback intact. You can leave this mode by ending the command, usually by typing "exit" or ctrl+d.

Regards

Denis Vincent

avatar

I think you're spot-on. I pressed CTRL+ENTER it opened a new session and now it behaves as expected.
Thank you so much!