Date: 20 Feb 2002 23:17:35 +0200 From: Gilad Rom <rom_glsa@ein-hashofet.co.il> To: Mike Meyer <mwm-dated-1014671053.596fa9@mired.org> Cc: Dale Morris <dlm@well.com>, questions@freebsd.org Subject: Re: newbie xterm color ? Message-ID: <1014239857.23322.16.camel@dhcp-251.meshek.eh> In-Reply-To: <15476.3916.761080.392914@guru.mired.org> References: <15476.3916.761080.392914@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Or, you can use 'xterm -tn xterm-color'. Gilad On Wed, 2002-02-20 at 23:04, Mike Meyer wrote: > Dale Morris <dlm@well.com> 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. You can tell xterm to do that by adding > > #ifdef COLOR > XTerm*termName: xterm-color > #endif > > to your .Xresources file (or whatever file is being fed to xrdb to set > resources). If you're not using anything, then > > echo 'XTerm*termName: xterm-color' | xrdb > > in .xinitrc - before you start any xterms - will do the job, except > that will also set it in the unlikely event that you are on an X > server that doesn't support color. > > I think this method is a bit cleaner than setting things in the shell > startup files. > > <mike > -- > Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1014239857.23322.16.camel>