From owner-freebsd-questions Tue Nov 23 5:24:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from demo.telefonica.com.pe (kheops.demo.telefonica.com.pe [200.37.84.130]) by hub.freebsd.org (Postfix) with ESMTP id A2A2F14E14 for ; Tue, 23 Nov 1999 05:24:43 -0800 (PST) (envelope-from rcc@demo.telefonica.com.pe) Received: from elcsa20008 (dbase [200.37.84.135]) by demo.telefonica.com.pe (8.9.3/8.9.3) with SMTP id IAA09885; Tue, 23 Nov 1999 08:24:11 +0500 (GMT) Message-ID: <001701bf35b5$cecb83e0$4d01190a@tp.com.pe> From: "Richard Cotrina" To: "James Gill" Cc: References: Subject: RE: Clearing Screen Date: Tue, 23 Nov 1999 08:22:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hows about putting a line in .logout that says: > > clear > > and putting a dot.logout in /usr/share/skel ? > > would that solve anything for you? > James, thanks for your answer. Actually, the .logout file just works fine for users using tcsh or csh (these shells reads the .logout file before exiting) but It does not work for other kind of shells like sh or bash :-( That is why I am looking a more generic solution that not depends on the shell. I am still wondering about the syntax of gettytab's options. Thanks anyway, Richard > on Mon, 22 Nov 1999, Richard Cotrina wrote: > > ->hi folks: > -> > ->How can I enable the clearing feature in the console each time any user logs > ->out ? > ->I know that it can be done adding a line with the "cl" option in the > ->/etc/gettytab file under the "P|Pc|Pc console:\" line , like : > -> > -> :cl=\E[H\E[2J: (in OpenBSD) > -> > ->I tried it in FreeBSD 3.3-RELEASE but It does not work. > -> > ->Could anybody help me ? > -> > -> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message