From owner-freebsd-hackers Fri Oct 18 05:55:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA20039 for hackers-outgoing; Fri, 18 Oct 1996 05:55:27 -0700 (PDT) Received: from toth.hq.ferg.com (pm1-06.wmbg.widomaker.com [206.161.154.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA20033 for ; Fri, 18 Oct 1996 05:55:19 -0700 (PDT) Received: from toth.hq.ferg.com (localhost.hq.ferg.com [127.0.0.1]) by toth.hq.ferg.com (8.7.5/8.7.3) with SMTP id IAA18105 for ; Fri, 18 Oct 1996 08:55:07 -0400 (EDT) Date: Fri, 18 Oct 1996 08:55:07 -0400 (EDT) From: Branson Matheson X-Sender: branson@toth.hq.ferg.com To: freebsd-hackers@freebsd.org Subject: TERM=cons25 in roots' .profile?!? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Just had this brought up to me... why oh why are we setting a TERM entry in .profile for root?! login does this for us and .login sets TERMCAP based on the one reported to the shell by login or asked at login time? -branson # $Id: dot.profile,v 1.8 1994/10/27 05:27:00 phk Exp $ # PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin echo 'erase ^H, kill ^U, intr ^C' stty crt erase ^H kill ^U intr ^C export PATH HOME=/root export HOME TERM=cons25 <<<< This is bad. export TERM ============================================================================= Branson Matheson | Ferguson Enterprises | If Pete and Repeat were System Administrator | W: (804) 874-7795 | sittin on a fence and Pete Unix, Perl, WWW | branson@widomaker.com | fell off, who is left?