Hi guys...
Is there any news regarding this?
I'm on tmux 1.5, and having problem with tmux overwriting existing content
on the terminal when starting vi.
I cannot send clear as '\E[H\E[2J' with either terminal-override:
set -g terminal-overrides '*:smcup@:rmcup@:clear=\E[H\E[2J'
or by compiling
tmux already moves the content into the history on clear.
On Thu, Mar 08, 2012 at 11:32:02AM -0800, Gustavo Baratto wrote:
>Hi guys...
>
>Is there any news regarding this?
>I'm on tmux 1.5, and having problem with tmux overwriting existing content
>on the terminal when starting
Hi Nicholas...
Most people I surveyed (including myself) use the terminal's scrollback
instead of screen/tmux history. Not a very statistically relevant sample,
but these are all seasoned sysadmins coming from different backgrounds, so
I suppose there is good demand for such feature.
That works pe
I don't really understand what you are asking.
tmux has no control over what goes into the terminal scrollback and
when, nor does screen, it's entirely up to the terminal.
If I run screen with altscreen off it leaves the terminal scrollback
unaltered, same as tmux w/o smcup in terminfo.
What do
Are you still talking about the terminal scrollback rather than internal
tmux/screen history?
Because this is not the case for me, even if I add "altscreen off" to
your .screenrc below, screen behaves like I would expect - if I do ls
-la then vi then exit vi and scroll up into the terminal scroll
Hi Nicholas...
Try running "ls -la", then opening any file with 'vi'.
When 'vi' starts, the result of 'ls -la' get overwritten in tmux.
With screen or the plain terminal, the result of 'ls -la' get moved up but
not overwritten, so I never lose what was printed on the terminal.
This is my .tmux.co