'xterm -e mutt' doesn't show colors

by Pieter Verberneon 2009-06-17T20:44:25+00:00
Hi,
When I run mutt (or tmux/colorls -G/etc) from xterm, I have fancy
colors=] But when I run:
$ xterm -e mutt
I don't have colors =[ (I'm running dwm and I want xterm to start tmux
automaticly)
$ cat .Xdefaults
XTerm.*.colorMode: on # yes, two capitals
XTerm.*.dynamicColors: on
xterm.*.loginShell: true
xterm.*.scrollBar: false
xterm.*faceName: Mono
xterm.*faceSize: 13
xterm.*.visualBell: true
$ echo $TERM
xterm-xfree86
All other settings in .Xdefaults are applied just fine with the '-e'
option, so I don't think it's a problem with that file or with
xterm-options; -title -T or -n .
Can someone help me with this puzzle?
Pieter

Re: 'xterm -e mutt' doesn't show colors

by Todd T. Frieson 2009-06-17T21:20:48+00:00.
Try TERM=xterm-color
Penned by Pieter Verberne on 20090617 22:39.56, we have:
| Hi,
|
| When I run mutt (or tmux/colorls -G/etc) from xterm, I have fancy
| colors=] But when I run:
|
| $ xterm -e mutt
|
| I don't have colors =[ (I'm running dwm and I want xterm to start tmux
| automaticly)
|
| $ cat .Xdefaults
| XTerm.*.colorMode: on # yes, two capitals
| XTerm.*.dynamicColors: on
| xterm.*.loginShell: true
| xterm.*.scrollBar: false
| xterm.*faceName: Mono
| xterm.*faceSize: 13
| xterm.*.visualBell: true
|
| $ echo $TERM
| xterm-xfree86
|
| All other settings in .Xdefaults are applied just fine with the '-e'
| option, so I don't think it's a problem with that file or with
| xterm-options; -title -T or -n .
|
| Can someone help me with this puzzle?
|
| Pieter
--
Todd Fries .. todd@fries.net
_____________________________________________
| \ 1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \ 1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX)
| "..in support of free software solutions." \ 250797 (FWD)
| \
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt

Re: 'xterm -e mutt' doesn't show colors

by Christian Weisgerberon 2009-06-17T21:39:27+00:00.
Pieter Verberne wrote:
> When I run mutt (or tmux/colorls -G/etc) from xterm, I have fancy
> colors=] But when I run:
>
> $ xterm -e mutt
>
> I don't have colors =[
> $ echo $TERM
> xterm-xfree86
Where is TERM set? I suspect "xterm -e ..." simply doesn't pick
up this setting. When you run "xterm -e mutt", do a shell escape
from mutt and check the value of TERM.
--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: 'xterm -e mutt' doesn't show colors

by Christian Weisgerberon 2009-06-17T22:44:16+00:00.
Todd T. Fries wrote:
> Try TERM=xterm-color
That's not the issue. TERM=xterm-xfree86 does include color support
and is generally the best description of our xterm's capabilities.
--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: 'xterm -e mutt' doesn't show colors

by Pierre-Yves Ritschardon 2009-06-18T06:58:38+00:00.
On Wed, 17 Jun 2009 22:39:56 +0200
Pieter Verberne wrote:
> Hi,
>
> When I run mutt (or tmux/colorls -G/etc) from xterm, I have fancy
> colors=] But when I run:
>
> $ xterm -e mutt
>
> I don't have colors =[ (I'm running dwm and I want xterm to start tmux
> automaticly)
>
> $ cat .Xdefaults
> XTerm.*.colorMode: on # yes, two capitals
> XTerm.*.dynamicColors: on
> xterm.*.loginShell: true
> xterm.*.scrollBar: false
> xterm.*faceName: Mono
> xterm.*faceSize: 13
> xterm.*.visualBell: true
Add xterm*termName: xterm-color (or xterm-xfree86 if you prefer)
>
> $ echo $TERM
> xterm-xfree86
>
> All other settings in .Xdefaults are applied just fine with the '-e'
> option, so I don't think it's a problem with that file or with
> xterm-options; -title -T or -n .
>
> Can someone help me with this puzzle?
>
> Pieter

Re: 'xterm -e mutt' doesn't show colors

by Pieter Verberneon 2009-06-18T15:52:43+00:00.
On Thu, Jun 18, 2009 at 08:55:44AM +0200, Pierre-Yves Ritschard wrote:
> On Wed, 17 Jun 2009 22:39:56 +0200
> Pieter Verberne wrote:
> > When I run mutt (or tmux/colorls -G/etc) from xterm, I have fancy
> > colors=] But when I run:
> >
> > $ xterm -e mutt
> >
> > I don't have colors =[ (I'm running dwm and I want xterm to start tmux
> > automaticly)
> >
> > $ cat .Xdefaults
> > XTerm.*.colorMode: on # yes, two capitals
> > XTerm.*.dynamicColors: on
> > xterm.*.loginShell: true
> > xterm.*.scrollBar: false
> > xterm.*faceName: Mono
> > xterm.*faceSize: 13
> > xterm.*.visualBell: true
>
> Add xterm*termName: xterm-color (or xterm-xfree86 if you prefer)
My fancy colors returned:D

Thanks