1. 5
  1.  

  2. 1

    Does anyone know how to stop tmux from breaking my terminal’s scrollback? My terminal is a perfectly good terminal, I don’t want tmux to pretend to be one I just want it to provide me with persistent sessions. It has a really annoying thing where it decides to truncate the output so if I cat a file to have a look at it in my terminal, I see only the end of the file and have to use tmux’s own scrolling (which doesn’t play nicely with my terminal’s scrolling and, in particular, doesn’t let me select more than one screen full of text to copy and paste). I’ve mostly switched to using abduco, but tmux is installed on more systems and abduco has a couple of bugs that are annoying.

    1. 2

      If all you need is session persistence, take a look at abduco instead. It provides solely the detach/attach ability of tmux, and doesn’t mess with (at least mine) terminal scrollback.

      1. 1

        The last line of my post was:

        I’ve mostly switched to using abduco, but tmux is installed on more systems and abduco has a couple of bugs that are annoying.

        In particular, in the Windows Terminal, abduco doesn’t seem to play nicely with readline and ends up with backspace deleting things but new characters then overwriting things to the right (sometimes - I haven’t figured out why and when it happens). tmux doesn’t have that problem.

        1. 1

          Indeed I read that a bit too fast. Perhaps this bug has to do with your $TERM env variable and terminfo. Just a quick idea.