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


_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to