Caption + scrolling?

Basil Mohamed Gohar <basilgohar-2Gt5Md4YAhP08/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Organization Libre Video
Message-ID <[email protected]>
I used to use the following command to enable scrolling with the
mousewheel through the scrollback buffer in graphical terminals:

> termcapinfo xterm* ti@:te@


I then discovered the caption feature, but upon enabling the caption,
the scrolling feature enabled by the termcapinfo piece above failed
working.  My full .screenrc is here:

> [basilgohar@alpha ~]$ cat .screenrc
> startup_message off
> shell -${SHELL}
> defscrollback 100000
>
> # Source:
> http://code-and-hacks.peculier.com/bash/setting-terminal-title-in-gnu-screen/
>
> termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
> defhstatus "screen ^E (^Et) | $USER@^EH"
> hardstatus off
>
> #hardstatus on
> #hardstatus alwayslastline
> #hardstatus string "%w"
>
> caption always "%{= kc}%H (system load: %l) %L=%-Lw%45>%{+b
> by}%n%f*%t%{-}%+Lw %-29=%{= .m}%D, %M %d, %Y %C:%s %A"
> #caption always "%?%F%{-b bc}%:%{-b bb}%?%C|%D|%M %d|%H|%?%F%{+u wb}%?
> %L=%-Lw%45>%{+b by}%n%f*%t%{-}%+Lw%-0<"
>
> # Added by Basil - Enable scrolling in remote terminal emulators
> termcapinfo xterm* ti@:te@
Is there a way that can have the benefit of both scrolling in graphical
terminals (e.g., gnome-terminal or mate-terminal) and also enjoy the
extra status and information afforded by the caption.

-- 
Libre Video
http://librevideo.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.