From owner-freebsd-questions Mon Jan 14 9:30:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by hub.freebsd.org (Postfix) with ESMTP id ECBA637B416 for ; Mon, 14 Jan 2002 09:30:13 -0800 (PST) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id B670419ACD for ; Mon, 14 Jan 2002 12:30:07 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.6/8.11.6) id g0EHU7I84391; Mon, 14 Jan 2002 12:30:07 -0500 (EST) (envelope-from khera) Date: Mon, 14 Jan 2002 12:30:07 -0500 (EST) Message-Id: <200201141730.g0EHU7I84391@onceler.kciLink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Vivek Khera To: freebsd-questions@freebsd.org Subject: Re: Still can't get color in xterm properly. Newsgroups: ml.freebsd.questions References: <20020114170518.GA7846@debian.local> X-Trace: lorax.kciLink.com 1011029219 85312 216.194.193.106 (14 Jan 2002 17:26:59 GMT) X-Complaints-To: daemon@kciLink.com 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 >>>>> "AC" == Anthony Campbell writes: AC> I can set AC> TERM=xterm-color; export TERM [[ snip ]] AC> Where is one supposed to put it so that it is the default for X? I use rxvt as my X terminal window, since it is quite small memory-wise and pretty fast. I just told it to identify itself as xterm-color like this: rxvt.font: TFONT rxvt.boldFont: TFONTB #if defined(COLOR) rxvt.foreground: FGCOLOR rxvt.background: BGCOLOR rxvt.termName: xterm-color #endif /* COLOR */ rxvt.scrollBar: true rxvt.saveLines: 500 rxvt.geometry: 80x30 rxvt.modifier: meta alt all in my .Xdefaults file. This assumes that you compile rxvt with the proper option to use the xrdb database rather than reading the .Xdefaults file directly, which is just idiotic. My .Xdefaults #define's the TFONT, TFONTB, FGCOLOR and BGCOLOR values elsewhere to my preferences. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message