]> git.phdru.name Git - dotfiles.git/blobdiff - .screenrc
.fvwmrc: Do not start root terminal
[dotfiles.git] / .screenrc
index 1f4850d9150e97fb91825ddb38cb9fe74a6752a8..1b17439f2c91aecbe15585e3ea1090bf2bd46763 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -77,5 +77,14 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
 #
 #termcapinfo xterm*|rxvt* ti@:te@
 
+# Use the alternate screen of the xterm-like terminal
+# https://unix.stackexchange.com/a/261939
+#termcapinfo xterm* 'ti=\E[?1049h:te=\E[?1049l'
+#termcapinfo rxvt* 'ti=\E7\E[?47h:te=\E[2J\E[?47l\E8'
+
+# Do not use the alternate screen at all
+# run `tput smcup; screen -S test; tput rmcup`
+termcapinfo xterm*|rxvt* 'ti=:te='
+
 # Enable non-blocking mode to better cope with flaky ssh connections.
 defnonblock 5