Debian Bug report logs - #488613
Wish for two :idle handlers (:blanker *and* :lockscreen).

version graph

Package: screen; Maintainer for screen is Axel Beckert <abe@debian.org>; Source for screen is src:screen.

Reported by: "Trent W. Buck" <trentbuck@gmail.com>

Date: Mon, 30 Jun 2008 03:33:01 UTC

Severity: wishlist

Tags: upstream

Found in version screen/4.0.3-9

Forwarded to https://savannah.gnu.org/bugs/index.php?23739

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de>:
Bug#488613; Package screen. Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck@gmail.com>:
New Bug report received and forwarded. Copy sent to Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Wish for two :idle handlers (:blanker *and* :lockscreen).
Date: Mon, 30 Jun 2008 13:31:44 +1000
Package: screen
Version: 4.0.3-9
Severity: wishlist
Tags: upstream

I've been (ab)using the :idle handler to lock my screen, similar to
X's xscreensaver or xautolock + xlockmore:

    idle 1800 lockscreen        # "screensaver" lockout

I'd like to set this timeout to be much shorter (say, two minutes), so
that if I step away from my desk for a meeting, there's a smaller
attack window.  The problem with this is that if I'm looking at a
printout, the idle handler will trip and lock the screen even though
I'm really using it, meaning I have a disruptive period of typing in
my login and session passwords.

Xscreensaver (and others) solve this by having two timeouts --
initially it will blank the screen (without locking it), and then
after a further period of inactivity, it will lock the screen:

    # ~/.xscreensaver -*- conf -*-
    mode: blank
    lock: true
    splash: false
    fade: false
    timeout: 2
    lockTimeout: 1

That way, I notice when the screen blanks, and I tap a key to wake it
up, without having to go through the password prompt.

I'd like this functionality for Screen.  I guess it can be implemented
most easily by adding support for multiple idle handlers.  The syntax
would be similar to backticks:

    idle [number] <timeout> [command]

With number being 0 if not supplied (thereby retaining backwards
compatibility).  For example,

    idle 0 120 blanker
    idle 1 180 lockscreen

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libncursesw5              5.6+20080308-1 Shared libraries for terminal hand
ii  libpam0g                  0.99.7.1-6     Pluggable Authentication Modules l

screen recommends no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de>:
Bug#488613; Package screen. Full text and rfc822 format available.

Acknowledgement sent to Micah Cowan <micah@cowan.name>:
Extra info received and forwarded to list. Copy sent to Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de>. Full text and rfc822 format available.

Message #10 received at 488613@bugs.debian.org (full text, mbox):

From: Micah Cowan <micah@cowan.name>
To: "Trent W. Buck" <trentbuck@gmail.com>, 488613@bugs.debian.org
Cc: 488613-forwarded@bugs.debian.org
Subject: Re: Bug#488613: Wish for two :idle handlers (:blanker *and* :lockscreen).
Date: Sun, 29 Jun 2008 23:59:46 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trent W. Buck wrote:
> I've been (ab)using the :idle handler to lock my screen, similar to
> X's xscreensaver or xautolock + xlockmore:
> 
>     idle 1800 lockscreen        # "screensaver" lockout
> 
> I'd like to set this timeout to be much shorter (say, two minutes), so
> that if I step away from my desk for a meeting, there's a smaller
> attack window.  The problem with this is that if I'm looking at a
> printout, the idle handler will trip and lock the screen even though
> I'm really using it, meaning I have a disruptive period of typing in
> my login and session passwords.
> 
> Xscreensaver (and others) solve this by having two timeouts --
> initially it will blank the screen (without locking it), and then
> after a further period of inactivity, it will lock the screen:

...

Tracking upstream at:

https://savannah.gnu.org/bugs/index.php?23739

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIaIRi7M8hyUobTrERAqhWAJ9XtTdf11cw1CIJQyMrbLOgf7w1TgCdGWxq
UAK8Oj0YC9gu3RQGB/QDRYE=
=qS4f
-----END PGP SIGNATURE-----




Reply sent to Micah Cowan <micah@cowan.name>:
You have marked Bug as forwarded. Full text and rfc822 format available.

Noted your statement that Bug has been forwarded to https://savannah.gnu.org/bugs/index.php?23739. Request was from Trent W.Buck <trentbuck@gmail.com> to control@bugs.debian.org. (Mon, 30 Jun 2008 07:54:24 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 12:57:14 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.