So the situation is that as soon as I start screen with a hardstatus
line configured, then iterm no longer captures the scrollback window.
Basically all I can see is the screen window itself. However, if I
disable the hardstatus then I get integration with the scrollback window
and so I can scroll up and see past output
This all works fine in Terminal.app
My screenrc config has something like this:
backtick 1 0 0 /usr/local/bin/cpuusage
hardstatus alwayslastline
hardstatus string '%{= kG} %{G}%H %{g}[%=
%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}] %1`%%
CPU %{W}%c %{g}'
termcapinfo xterm|xterms|xterm-color|xs ti@:te=\E[2J
Any ideas on what I can do to get scrollback working with iterm & screen
hardstatus please? It doesn't seem to be specific to what's in the
hardstatus line, and probably there is some termcap line needed to fix
things, but no idea what...?
And yes, I am aware of the screen scrollback buffer, but I much prefer
the gui scrollback window for simple needs
Thanks for any help
Ed W
P.S. It would also be nice if the "activity monitor" had some
configuration to ignore changes in the hardstatus line? Kind of means I
would need to turn off anything which regularly updates
(uptime/clock/cpu) if I want to use this feature.
Very interesting - thanks
Could perhaps another heuristic be that if the scroll region is nearly
the entire screen except for say the bottom X lines, then the "changed"
bell/tab/growl will ignore stuff outside the scroll region?
The idea would be to ignore the status bar in screen and perhaps similar
apps (tmux, mutt, whatever) and focus only on changes in the content area?
Thanks again!
Ed W