> when I use Mutt on a direct console I like color settings. When I dial in
> from work the color settings don't work very well even though I DO set
> the terminal type correctly.
> 
> Is there a way I can have mutt apply different color settings depending
> on terminal type, or may be depending on which tty I'm on , or some other
> way to handle this issue?

 I am using:

 ~/.muttrc:
# Color settings
source ${HOME}/.mutt/`echo $TERM`

 Then, there are two files with different settings in .mutt, colors and mono.
 $TERM is just a link to the approproiate file:

$ ls -l ~/.mutt
-rw-r--r--   1 lhecking users        1064 Aug 16  1999 colors
lrwxrwxrwx   1 lhecking users           6 May  8 22:15 dtterm -> colors
lrwxrwxrwx   1 lhecking users           6 May  8 22:15 emacs -> colors
lrwxrwxrwx   1 lhecking users           6 May  8 22:15 linux -> colors
-rw-r--r--   1 lhecking users          22 Sep 11  1997 mono
lrwxrwxrwx   1 lhecking users           4 May  8 22:15 screen -> mono
lrwxrwxrwx   1 lhecking users           4 May  8 22:15 sun -> mono
lrwxrwxrwx   1 lhecking users           4 May  8 22:15 sun-cmd -> mono
lrwxrwxrwx   1 lhecking users           4 May  8 22:15 vt100 -> mono
lrwxrwxrwx   1 lhecking users           4 May  8 22:15 vt220 -> mono
lrwxrwxrwx   1 lhecking users           6 May  8 22:15 xterm -> colors
lrwxrwxrwx   1 lhecking users           6 May  8 22:15 xterm-color -> colors

Reply via email to