From owner-freebsd-questions Wed Feb 20 15:13:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [194.228.200.160]) by hub.freebsd.org (Postfix) with ESMTP id 70D5D37B400 for ; Wed, 20 Feb 2002 15:13:11 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g1KNDA115562 for ; Thu, 21 Feb 2002 00:13:10 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002022100093990:4048 ; Thu, 21 Feb 2002 00:09:39 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g1KNPVT27764 for questions@freebsd.org; Thu, 21 Feb 2002 00:25:31 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Thu, 21 Feb 2002 00:25:31 +0100 From: Roman Neuhauser To: questions@freebsd.org Subject: Re: newbie xterm color ? Message-ID: <20020220232531.GU418@roman.mobil.cz> Mail-Followup-To: questions@freebsd.org References: <126563389@toto.iv> <15476.3916.761080.392914@guru.mired.org> <20020220230527.GT418@roman.mobil.cz> <1014245887.2517.32.camel@osiris.sigterm.com> Mime-Version: 1.0 In-Reply-To: <1014245887.2517.32.camel@osiris.sigterm.com> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/21/2002 12:09:40 AM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/21/2002 12:09:45 AM, Serialize complete at 02/21/2002 12:09:45 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > Subject: Re: newbie xterm color ? > From: Stuart Tanner > To: Roman Neuhauser > Cc: questions@freebsd.org > Date: 21 Feb 2002 10:58:06 +1200 > > On Thu, 2002-02-21 at 11:05, Roman Neuhauser wrote: > > > Date: Wed, 20 Feb 2002 15:04:12 -0600 > > > To: Dale Morris > > > Cc: questions@freebsd.org > > > Subject: Re: newbie xterm color ? > > > From: "Mike Meyer" > > > > > > Dale Morris types: > > > > I'm having trouble finding how to make xterm display in color. I have > > > > [setenv TERM=xterm-color] in my .tcshrc but that doesn't do the trick. > > > > It's strange though, RXVT will display mutt in color, but XTERM won't, > > > > from the command line both vim and mutt both display in color, but not > > > > in xterm. > > > > > > You've got the setenv syntax wrong. RXVT works because it (presumably) > > > sets the xterm type to xterm-color itself, whereas xterm proper > > > doesn't. > > > > rxvt doesn't set TERM to xterm-color. and xterm-color is incorrect > > for rxvt just as it is incorrect for the Xfree86 xterm. > OK, then what should TERM be for rxvt and xterm? # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM. # Since rxvt is not really compatible with xterm, it should be configured as # "rxvt" (monochrome) and "rxvt-color". # (untranslatable capabilities removed to fit entry within 1023 bytes) # (sgr removed to fit entry within 1023 bytes) # (acsc removed to fit entry within 1023 bytes) and xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System) -- FreeBSD 4.4-STABLE 12:19AM up 5 days, 1:46, 24 users, load averages: 0.23, 0.36, 0.18 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message