Date: Tue, 23 Nov 1999 08:22:33 -0500 From: "Richard Cotrina" <rcc@demo.telefonica.com.pe> To: "James Gill" <gill@topsecret.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: Clearing Screen Message-ID: <001701bf35b5$cecb83e0$4d01190a@tp.com.pe> References: <Pine.BSF.4.10.9911230143210.4381-100000@pacific.int.topsecret.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701bf35b5$cecb83e0$4d01190a>