From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: util-linux-owner@vger.kernel.org Received: from monster.unsafe.ru ([195.18.34.9]:52257 "EHLO mail.unsafe.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446Ab2KOGox (ORCPT ); Thu, 15 Nov 2012 01:44:53 -0500 Message-ID: <50A48F5F.3090404@gmail.com> Date: Thu, 15 Nov 2012 10:44:47 +0400 From: Alexey Gladkov MIME-Version: 1.0 To: Karel Zak , util-linux@vger.kernel.org, "Dmitry V. Levin" Subject: Re: vlock command References: <20121114103509.GD1835@x2.net.home> <50A37AD8.6060601@gmail.com> <20121114122610.GF1835@x2.net.home> <20121114233117.GD20303@altlinux.org> In-Reply-To: <20121114233117.GD20303@altlinux.org> Content-Type: text/plain; charset=UTF-8 Sender: util-linux-owner@vger.kernel.org List-ID: 15.11.2012 03:31, Dmitry V. Levin wrote: > On Wed, Nov 14, 2012 at 01:26:10PM +0100, Karel Zak wrote: >> On Wed, Nov 14, 2012 at 03:04:56PM +0400, Alexey Gladkov wrote: >>> We have another version of vlock, which is being supported by Dmitry >>> V. Levin. >>> >>> http://git.altlinux.org/people/ldv/packages/vlock.git >> >> Alexey, just today I added --erase option to Fedora version. Maybe >> you can apply the patch below to your repository too. Author of the >> patch is Petr Pisar . > > The first vlock RFE for ages! Alexey, please apply. Dmitry, I mistakenly did not add you in the Cc. I wrote Karel that similar functionality you have already implemented. Here is my answer: > On closer look I found out that the my version of vlock already erases > display if we are on the virtual console: > > http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=blob;f=src/vlock/screen.c;h=720d880080f9030553a32d625756b5e30c6d4266;hb=768b8c314e1d3c465d895b206da4aa4543914d1d#l37 > > http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=blob;f=src/vlock/vt.c;h=50746de238f5acc231d2ffef8a5604dfbef3cfad;hb=768b8c314e1d3c465d895b206da4aa4543914d1d#l194 > > As I understand you want a similar functionality. Is this enough for > you, or you want to be able to clear the display regardless of conditions? -- Rgrds, legion