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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to