From owner-freebsd-questions Mon Jan 3 20: 6: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tetron02.tetronsoftware.com (ftp.tetronsoftware.com [208.236.46.106]) by hub.freebsd.org (Postfix) with ESMTP id B63D215080 for ; Mon, 3 Jan 2000 20:05:56 -0800 (PST) (envelope-from zeus@tetronsoftware.com) Received: from tetron02.tetronsoftware.com (zeus@tetron02.tetronsoftware.com [208.236.46.106]) by tetron02.tetronsoftware.com (8.9.3/8.9.3) with ESMTP id WAA01108; Mon, 3 Jan 2000 22:07:34 -0600 (CST) (envelope-from zeus@tetronsoftware.com) Date: Mon, 3 Jan 2000 22:07:34 -0600 (CST) From: Gene Harris To: Jonathon McKitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: color xterm and zsh In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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