From owner-freebsd-questions Thu Nov 1 12:44:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 2FAC437B406 for ; Thu, 1 Nov 2001 12:44:08 -0800 (PST) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15zOgz-0000bX-00; Fri, 02 Nov 2001 09:44:01 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id fA1Ki0Q03657; Fri, 2 Nov 2001 09:44:00 +1300 (NZDT) (envelope-from jonc) Date: Fri, 2 Nov 2001 09:44:00 +1300 From: Jonathan Chen To: Andreas Ntaflos Cc: freebsd-questions@freebsd.org Subject: Re: how to set env. vars when starting X? Message-ID: <20011102094400.D3298@jonc.itouch> References: <20011101214056.A2603@Deadcell.ANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011101214056.A2603@Deadcell.ANT>; from ntaflos.andreas@gmx.net on Thu, Nov 01, 2001 at 09:40:56PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 01, 2001 at 09:40:56PM +0100, Andreas Ntaflos wrote: > Hi all, > This may sound like, or be, a stupid question, > but in order to be able to have xterms that support color > output, you have to set the environment variable TERM to > xterm-color for every xterm you start/have started (for example > in .xinitrc). > > Now I was wondering how to set that variable everytime you start X > for the xterms you run? Create a ~/.Xdefaults file with the following line in it: xterm*termName: xterm-color -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message