Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 17:25:17 -0700
From:      Matthew Hunt <mph@astro.caltech.edu>
To:        Josef Karthauser <joe@pavilion.net>, Ben Smithurst <ben@FreeBSD.ORG>, Kris Kennaway <kris@FreeBSD.ORG>, "Ron 'The InSaNe One' Rosson" <insane@lunatic.oneinsane.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Color ls
Message-ID:  <20000718172517.A98089@wopr.caltech.edu>
In-Reply-To: <20000719011726.K20505@pavilion.net>; from joe@pavilion.net on Wed, Jul 19, 2000 at 01:17:26AM %2B0100
References:  <20000718140646.B76011@lunatic.oneinsane.net> <Pine.BSF.4.21.0007181416130.20886-100000@freefall.freebsd.org> <20000718145920.B94689@wopr.caltech.edu> <20000719005555.W4668@strontium.scientia.demon.co.uk> <20000718170420.A97601@wopr.caltech.edu> <20000719010841.I20505@pavilion.net> <20000718171141.A97774@wopr.caltech.edu> <20000719011726.K20505@pavilion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 19, 2000 at 01:17:26AM +0100, Josef Karthauser wrote:

> > That's not the issue.
> 
> It is if my sun inherits the TERM from my FreeBSD box.  That said
> it's the sun that's borked here, not us.

If we make the change that we are considering, then you will
set TERM=xterm on your FreeBSD box.  Things will run in color
on your FreeBSD box.  When you ssh to your Sun, the inherited
value of TERM will work correctly, albeit without color.  This
seems to me like the best possibile situation.

To reiterate:  If we change termcap on FreeBSD so that "xterm"
contains color support, then you set TERM=xterm everywhere and
never use "xterm-color".  The only times this is bad are:
	- If you have an xterm on some foreign platform which
	  is screwed up by escape codes.  None have been reported
	  thus far.
	- If you log in to a machine which is like FreeBSD is
	  now; you won't get color unless you switch back to
	  "xterm-color".

The goal is to have TERM=xterm do the color thing when possible
and not give the problem you describe by setting TERM=xterm-color
and logging in to a Sun.

Matt

-- 
Matthew Hunt <mph@astro.caltech.edu> * Inertia is a property
http://www.pobox.com/~mph/           * of matter.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000718172517.A98089>