Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 22:07:34 -0600 (CST)
From:      Gene Harris <zeus@tetronsoftware.com>
To:        Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: color xterm and zsh
Message-ID:  <Pine.BSF.4.10.10001032204370.1040-100000@tetron02.tetronsoftware.com>
In-Reply-To: <Pine.BSF.4.21.0001040347290.45269-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 4 Jan 2000, Jonathon McKitrick wrote:

>  Hi all,
>  i had a nice setup where in my .bashrc i define TERM as xterm-color, but
>  in .profile it is cons25.  This way i get color for midnight commander
>  whether i am running on a console or in an xterm window.  I'm trying to do
>  this under zsh, but it isn't working.  I either get a black and white
>  xterm or garbage characters in a console display.  I've tried various
>  combinations of TERM settings in .zprofile and .zshrc, but i must be
>  overlooking something.  Can someone tell me what it is?
>  
>  -=> jm <=-

I doubt you were getting TERM=xterm-color from .bashrc
settings in X running xterm.  The way to set TERM in X is
using an .Xdefaults file entry:

XTerm*termName:	 xterm-color

This was covered fairly well in a thread a couple of weeks
ago and is in the archives.

HTH,
Gene



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001032204370.1040-100000>