Article 53RGF watch -c is stripping colors and animation

watch -c is stripping colors and animation

by
fakie_flip
from LinuxQuestions.org on (#53RGF)
I am running this from screen in my .screenrc

watch -c -n 60 curl -s wttr.in

~/.screenrc
Code:term screen-256color # Lots of colors
#truecolor on # 24-bit of colors; Works in version 5 git
defbce on # Background color erase
defshell -bash # The dash makes it a login shell
defscrollback 2024 # Lots of scroll-back
bind ' ' windowlist -b # Space displays the list of windows
bind '^b' '^a^a' # Bind ^b for nested screens that would do ^a^a
#termcapinfo xterm* ti@:te@ # Scroll using scrollbar of Konsole or xterm instead
defmousetrack on # Watch for mouse clicks when there are splits
#windowlist string "%4n %h%=%f" # Name fix in windowlist that only shows "bash"
altscreen # Clear the screen after running bashtop or vim
shelltitle "$ |bash"
#reptyr pid # Attach a process in screen that was started outside of screen

# No more issues launching GUI apps within screen
setenv DISPLAY ':0'
log on
logfile ~/.screen.log

hardstatus off
#hardstatus alwayslastline
hardstatus firstline # Statusbar at top
hardstatus string '%{= bW}%-Lw%{= rW}%50>%n%f* %t%{= bW}%+Lw%< %{= bd}%-=%D %d %M %Y %c:%s%{-}'
caption always "%{= rW} [ %S ] %f %t %? ( %{rY} %u %{rW} ) %?"

# HTML Color Codes : https://www.computerhope.com/htmcolor.htm
# String Escapes : https://www.gnu.org/software/screen/manual/html_node/String-Escapes.html
# Understanding GNU Screen's hardstatus Strings :
# https://www.kilobitspersecond.com/2014/02/10/understanding-gnu-screens-hardstatus-strings/

## Default screens
screen -t root 0
stuff "su -\n"
screen -t weather 1
stuff "watch -c -n 60 curl -s wttr.in\n"
screen -t music 2 mocp
screen 3All the colors are stripped except a background color on one line. The animated lighting bolts are also no longer animated.latest?d=yIl2AUoC8zA latest?i=Mlaw0IMuFlo:9TQz8YpTYbY:F7zBnMy latest?i=Mlaw0IMuFlo:9TQz8YpTYbY:V_sGLiP latest?d=qj6IDK7rITs latest?i=Mlaw0IMuFlo:9TQz8YpTYbY:gIN9vFwMlaw0IMuFlo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments