From owner-freebsd-questions Sat Aug 5 8:13:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www3.pacific-pages.com (www3.pacific-pages.com [192.41.48.219]) by hub.freebsd.org (Postfix) with ESMTP id C3F6137BA34; Sat, 5 Aug 2000 08:13:25 -0700 (PDT) (envelope-from David@www3.pacific-pages.com) Received: from www3.pacific-pages.com ([216.191.60.7]) by www3.pacific-pages.com (8.8.5) id JAA20606; Sat, 5 Aug 2000 09:13:12 -0600 (MDT) Message-ID: <398C2EC4.91146CF6@www3.pacific-pages.com> Date: Sat, 05 Aug 2000 11:12:04 -0400 From: David Banning Reply-To: David@SkytrackerCanada.com Organization: Sky-Tracker of Canada Inc. X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Ovens Cc: David@SkytrackerCanada.com, bsd Subject: Re: Subject: setting of TERM variable in X References: <398B43E8.FD986CCC@www3.pacific-pages.com> <20000805011750.A239@parish> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On review - I realize my problem was not from a standard $TERM setting but rather when I "su -" to root - then TERM is set to 'cons25' Well, I created a file .Xdefaults and put 'XTerm*TermName: xterm-color' in it as you suggested - which does not work, but I realize now that since my question was wrong - maybe your answer won't work. Mark Ovens wrote: > > On Fri, Aug 04, 2000 at 06:30:00PM -0400, David Banning wrote: > > > > My TERM variable is still set to cons25 even when I am in X > > How can I change to xterm - (other than doing it manually) > > > > Is there a .profile type script for X which I could > > 'setenv TERM xterm' ? > > Try adding this to ~/.Xdefaults or ~/.Xresources: > > XTerm*TermName: xterm-color > > remove ``-color'' if you really want a mono xterm :) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message