0

I'm SSH'ing into my RaspPi (Raspbian) with PuTTY and I want to user tmux in order not to worry about a connection ending while I'm installing something. My Problem is, that when I call tmux from a bash session and I scroll upwards, I don't see the previous lines of my tmux session, but of my plain bash session. Is there any way to fix this?

5
  • screen (similar to tmux) keeps its own scrollback buffer, and to browse it you have to use the method it defines. tmux probably has something similar. The reason you're not seeing the scrollback is because the text isn't really scrolling off the top of the screen when using these programs.
    – Steve
    Commented Apr 27, 2015 at 20:21
  • Yep, that's how it works. See linked duplicate question.
    – Steve
    Commented Apr 27, 2015 at 20:21
  • @Steve Yeah i figured that out already. But isn't there any way to "fix" this?
    – 0x539
    Commented Apr 27, 2015 at 20:31
  • While I'm not familiar with tmux, it's very likely that you would have to modify that program the change its behavior, which is possible because it's open source.
    – Steve
    Commented Apr 27, 2015 at 20:33
  • When you "switch" to a different screen with tmux, where would that scroll-back data go for the other windows, since that scrollback buffer is maintained by your terminal emulator, and not the system you're connected to?
    – Steve
    Commented Apr 27, 2015 at 20:34

0

Browse other questions tagged .