From owner-freebsd-questions Thu Sep 17 14:18:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04593 for freebsd-questions-outgoing; Thu, 17 Sep 1998 14:18:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from filer2.isc.rit.edu (filer2.isc.rit.edu [129.21.3.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04364 for ; Thu, 17 Sep 1998 14:17:37 -0700 (PDT) (envelope-from aaron@csh.rit.edu) Received: from thud.homenet by osfmail.isc.rit.edu (PMDF V5.1-10 #27553) with ESMTP id <0EZG0099S5SFS5@osfmail.isc.rit.edu> for FreeBSD-Questions@FreeBSD.ORG; Thu, 17 Sep 1998 17:17:04 -0400 (EDT) Received: (from aaron@localhost) by thud.homenet (8.8.7/8.8.7) id RAA00960; Thu, 17 Sep 1998 17:16:28 -0400 (EDT envelope-from aaron) Content-return: allowed Date: Thu, 17 Sep 1998 17:16:28 -0400 From: Aaron Jeremias Luz Subject: Re: WHY? WAS:Clear screen before login... In-reply-to: <35FD8866.FC3A76F0@aei.ca>; from Malartre on Mon, Sep 14, 1998 at 05:19:34PM -0400 To: Malartre Cc: FreeBSD-Questions@FreeBSD.ORG Reply-to: aaron@csh.rit.edu Message-id: <19980917171628.08468@homenet> MIME-version: 1.0 X-Mailer: Mutt 0.84e Content-type: text/plain; charset=us-ascii References: <35FC33DA.76FDBB64@onramp.net> <19980914001932.A6503@emsphone.com> <35FD8866.FC3A76F0@aei.ca> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 14, 1998 at 05:19:34PM -0400, Malartre wrote: > [First reply snipped.] > Why does it's not in the basic instalation of freebsd? > I dont see why I should be able to read what people writed on the screen > after they login off. Why is there the "choice" to be, well, "unsecure"? You should be aware that clearing the screen still leaves text in the console scroll back buffer (if enabled). To clear that as well, my '.bash_logout' is as follows. # If we are logging off from the console, erase the scroll back buffer # and clear the screen. There is unfortunately no ioctl to get # history size. Just force it to 100 for this vty. case `tty` in /dev/ttyv*) kbdcontrol -h 100 ; clear esac Note that I'm only changing the scroll back buffer _size_. Why this has the side effect of _clearing_ the scroll back buffer is not clear to me and probably cannot be relied upon to exist in future versions of the console code. (BTW, I'm using 2.2.5R.) Aaron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message