aboutsummaryrefslogtreecommitdiff
path: root/screenrc
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-06-06 20:36:42 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-06-06 20:36:42 +0200
commitc9a75340863b42360bd7d00207438e2060223b9a (patch)
tree5f232fcd69ad9d985da3dc921d67e4374f57d7cc /screenrc
parentd511fe9a50ceb444660cb51f8fa63723290e590d (diff)
downloaddotfiles-c9a75340863b42360bd7d00207438e2060223b9a.tar.gz
dotfiles-c9a75340863b42360bd7d00207438e2060223b9a.tar.bz2
screenrc: hardstatus port to screen 5
Diffstat (limited to 'screenrc')
-rw-r--r--screenrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/screenrc b/screenrc
index de2dfde..f73677f 100644
--- a/screenrc
+++ b/screenrc
@@ -20,6 +20,7 @@
# text and console edge:
# '%{=b}%{G} Screens: '
#term screen-256color
+#term xterm-256color
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
@@ -62,11 +63,12 @@ vbell off
#hardstatus alwayslastline "%{=b}%{kG} Screen(s): %{r}%w %=%{kG}%c %D, %d.%m.%Y "
# Green text(host), time, and date; windows in blue:
-hardstatus alwayslastline "%{=b}%{kG} [%{G}%H] Screen(s): %{r}%w %=%{kG}%c %D, %d.%m.%Y "
+# WORKED WITH SCREEN 4:
+#hardstatus alwayslastline "%{=b}%{kG} [%{G}%H] %{r}%w %=%{kG}%c %d.%m.%Y "
-
-# Green text(host), time, and date; windows in blue:
-#hardstatus alwayslastline "%{=b}%{kG} [%{G}%H] Screen(s): %{r}%w ?%f%t%?(%u)%? %=%{kG}%c %D, %d.%m.%Y "
+# Port to screen 5 attempt:
+#hardstatus alwayslastline "%{=b2;0}[%{4}%H%{-}] %{7;0}%w %=%{=b2;0}[%{3}%c %d.%m.%Y%{-}]"
+hardstatus alwayslastline " %{=b2;0}[%{4}%H%{-}]%{-} %{7;0}%?%-Lw%?%{+9;0}(%{+15;0}%n%f %t%?(%u)%?%{-})%{-} ^H%?%+Lw%?%= %{-} %=%{=b2;0}[%{3}%c %d.%m.%Y%{-}]%{-}%{-}"
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #