[Pkg-mutt-maintainers] Bug#878197: Mutt destroys colors I set as default

David Lawyer davylawyer1 at gmail.com
Tue Oct 10 23:37:54 UTC 2017


Package: mutt
Version: 1.7.1-5

Here's the /etc/rc.local script I use to set colors.
Note that I send ESC[8] to set as default.  Other programs such as vim
restore the default colors after exiting but mutt doesn't nor does it use
these colors.

# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.   By default this script does nothing.

# Setting terminal colors  done here since it's done last.  If done sooner
# they interfere with boot display

#  is esc and not the 2 chars ^[.  ESC[8] makes bg and fg indicies weak
# defaults = seterm -store.  The reset command resets the color pallete.
# RGB=rrggbb (6 hex digits) =red,green,blue. P7rrggbb makes color 7
# (background 47) this defined RGB palette color.  Then ESC[47;30m applies
# it.  

echo "Set colors and cursor on virtual terminals from /etc/rc.local"

#Colors:
#Set palatte color first with P seq.
echo "]P777ee99  [8]"> /dev/tty1 #my lt. green
echo "]P755aabb " [8]> /dev/tty2 #my lt. cyan
echo "[8]" > /dev/tty3 #7-grey #standard light white (grey)
echo "]P7dd9988 " [8]> /dev/tty4 #my pink



More information about the Pkg-mutt-maintainers mailing list