From owner-freebsd-hackers Fri Oct 18 13:03:35 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA20335 for hackers-outgoing; Fri, 18 Oct 1996 13:03:35 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.16]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA20205 for ; Fri, 18 Oct 1996 13:01:22 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.7.5/8.7.3) id VAA01261; Fri, 18 Oct 1996 21:57:11 +0200 (MET DST) From: Robert Eckardt Message-Id: <199610181957.VAA01261@ghost.mep.ruhr-uni-bochum.de> Subject: Re: TERM=cons25 in roots' .profile?!? In-Reply-To: <199610181336.IAA02730@brasil.moneng.mei.com> from Joe Greco at "18. Oct. 96 8:33:33" To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Fri, 18 Oct 1996 21:57:10 +0200 (MET DST) Cc: branson@widomaker.com, freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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