From owner-freebsd-questions Fri May 5 20:36:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.millennium20.com (smtp.thecyberguys.net [209.79.190.13]) by hub.freebsd.org (Postfix) with ESMTP id 3C0CA37B538 for ; Fri, 5 May 2000 20:36:09 -0700 (PDT) (envelope-from glennpj@bayouhome.net) Received: from gforce.johnson.home (1Cust50.tnt2.covington.la.da.uu.net [63.31.31.50]) by smtp.millennium20.com (8.10.0/8.10.0) with SMTP id e462WG321806; Fri, 5 May 2000 19:32:17 -0700 Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id WAA00673; Fri, 5 May 2000 22:36:03 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Fri, 5 May 2000 22:35:35 -0500 To: Bhishan Hemrajani Cc: Trevor Johnson , Robert B , questions@FreeBSD.ORG Subject: Re: Clear Screen Before Logout Message-ID: <20000505223535.B564@gforce.johnson.home> References: <200005060248.e462mIe41750@cytosine.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005060248.e462mIe41750@cytosine.dhs.org>; from bhishan@cytosine.dhs.org on Fri, May 05, 2000 at 07:48:17PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, May 05, 2000 at 07:48:17PM -0700, Bhishan Hemrajani wrote: > Or, you can put "clear" in /etc/csh.logout. > > --bhishan > > > > Whats the best way to clear the terminal screen after a log out so > > > that login: is the only thing on the screen. > > > > before: > > > > cd; echo "clear" > .logout; ln -s .logout .bash_logout > > > > after: Press control-L then enter. On a related note, when a system first boots up there are usually messages left on the first virtual terminal. Is there any way to automatically clear this so that the first virtual terminal looks like the other VT's, with just the login: prompt? -- Glenn Johnson glennpj@bayouhome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message