'xterm -e mutt' doesn't show colors

Pieter Verberne
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. Fries on 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

 -------------------------------------------

Re: 'xterm -e mutt' doesn't show colors by Christian Weisgerber on 2009-06-17T21:39:27+00:00
Pieter Verberne <pieterverberne@xs4all.nl> 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.


Re: 'xterm -e mutt' doesn't show colors by Christian Weisgerber on 2009-06-17T22:44:16+00:00
Todd T. Fries <todd@fries.net> 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.


Re: 'xterm -e mutt' doesn't show colors by Pierre-Yves Ritschard on 2009-06-18T06:58:38+00:00
On Wed, 17 Jun 2009 22:39:56 +0200
Pieter Verberne <pieterverberne@xs4all.nl> 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 Verberne on 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 <pieterverberne@xs4all.nl> 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

Loading


$ This page is proudly powered by www.pubbs.net, you can see more at openbsd archive | Partners: Global Manufacturers