Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 1996 11:41:28 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        imp@village.org (Warner Losh)
Cc:        jgreco@brasil.moneng.mei.com, branson@widomaker.com, freebsd-hackers@freebsd.org
Subject:   Re: TERM=cons25 in roots' .profile?!?
Message-ID:  <199610181641.LAA03395@brasil.moneng.mei.com>
In-Reply-To: <199610181635.KAA16346@rover.village.org> from "Warner Losh" at Oct 18, 96 10:35:41 am

next in thread | previous in thread | raw e-mail | index | archive | help
> In message <199610181336.IAA02730@brasil.moneng.mei.com> Joe Greco writes:
> : > TERM=cons25			<<<< This is bad. 
> : > export TERM
> 
> Doesn't "TERM=${TERM:-cons25}" do the trick?

It is a better fix, but not a complete fix.

I think the suggestion put forth by Bruce has somewhat more merit, as it
does not try to solve the problem in a single place.  It has the advantage
of not setting HOME as well.

Anything is probably better than the current hard coding though.

... JG



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