Date: Fri, 18 Oct 1996 21:57:10 +0200 (MET DST) From: Robert Eckardt <roberte@mep.ruhr-uni-bochum.de> To: jgreco@brasil.moneng.mei.com (Joe Greco) Cc: branson@widomaker.com, freebsd-hackers@freebsd.org Subject: Re: TERM=cons25 in roots' .profile?!? Message-ID: <199610181957.VAA01261@ghost.mep.ruhr-uni-bochum.de> In-Reply-To: <199610181336.IAA02730@brasil.moneng.mei.com> from Joe Greco at "18. Oct. 96 8:33:33"
next in thread | previous in thread | raw e-mail | index | archive | help
> > TERM=cons25 <<<< This is bad.
> > export TERM
[...]
> It is not so clearly wrong in the case where you are in single user
> mode, but it is still wrong: if you have a serial console and a vt100,
> "cons25" does not work well. However, it is less clear what the
> correct solution is, in this case.
>
> Personally, this does not bother me too much, since I am used to fixing
> broken environments to be able to work, but this might be rather
> frustrating to someone a little newer to UNIX.
>
> Anyone have ideas about a more general fix than throwing an explicit
> TERM=xxxx in .profile?
I put TERM=${TERM:-cons25} in my /etc/profile
This should be changed by hand if someone uses a
serial console, but it cares for the common cases
of single/multi user mode logins.
Robert
--
Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm)
RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm)
http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610181957.VAA01261>
