From owner-freebsd-questions Wed May 24 19:55:36 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 14B7537BDC6 for ; Wed, 24 May 2000 19:55:33 -0700 (PDT) (envelope-from glennpj@bayouhome.net) Received: from gforce.johnson.home (1Cust102.tnt2.covington.la.da.uu.net [63.31.31.102]) by smtp.millennium20.com (8.10.0/8.10.0) with SMTP id e4P1s0313713; Wed, 24 May 2000 18:54:01 -0700 Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id VAA02211; Wed, 24 May 2000 21:55:11 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Wed, 24 May 2000 21:55:10 -0500 To: Chris Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: HELP! - Clearing screen on logout Message-ID: <20000524215510.A981@gforce.johnson.home> References: <959158168.392b97980978e@www.tdyc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <959158168.392b97980978e@www.tdyc.com>; from chris.smith@raytheon.co.uk on Wed, May 24, 2000 at 01:49:28AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 24, 2000 at 01:49:28AM -0700, Chris Smith wrote: > Hi, > > Can anyone tell me _explicitly_ how to clear the screen when a user > logs out (or when a getty starts)? I know it's in the gettytab man > page, but I cant get it to work. I've probably incorrectly played > with the cl option?!? Put a "\f" after the "im=" for the default entry in /etc/gettytab. So it would look like this: default:\ :cb:ce:ck:lc:fd#1000:im=\f\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: The \f does a form feed. -- Glenn Johnson glennpj@bayouhome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message