From owner-freebsd-bugs Fri May 25 17:40: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 092BD37B424 for ; Fri, 25 May 2001 17:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4Q0e2n39186; Fri, 25 May 2001 17:40:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 25 May 2001 17:40:02 -0700 (PDT) Message-Id: <200105260040.f4Q0e2n39186@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dima Dorfman Subject: Re: kern/27616: Syscons history permits peeking in the previous session output Reply-To: Dima Dorfman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/27616; it has been noted by GNATS. From: Dima Dorfman To: freebsd-gnats-submit@FreeBSD.ORG Cc: Subject: Re: kern/27616: Syscons history permits peeking in the previous session output Date: Fri, 25 May 2001 17:35:35 -0700 .@babolo.ru writes: > Dima Dorfman writes: > > Yar Tikhiy writes: > > > Let it be a per-vty configurable option. > > > > How about adding an option to kbdcontrol(1) to clear the buffer? If > > the user knows they've been reading love letters, they can clear it > > manually. Or if they're always reading love letters, they can stick > > `kbdcontrol -c' in .logout and forget about it. This has the > > fortunate sideaffects of giving the user an option of *when* to clear > > it and *if* to clear it. > > > > Trivial patch attached. > > > > Thoughts? > why kbdcontrol, not vidcontrol? Because the option to change the history size (-h) is in kbdcontrol, not vidcontrol. Whether it should be in vidcontrol is a subject for another thread; personally, I don't care as long as it's consistent. Putting -c, the option to clear history, in the same program as -h, the option to change history size, is consistent. > > -- > @BABOLO http://links.ru/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message