I'm not sure I completely understand what you want to achieve.

My bad, throwing too much thin client jargon around. I have a wrapper script for the screensaver. I check if someone is using a thin client and if they are I disconnect the session instead of running the actual screensaver. Disconnected sessions remain running on the server until the user reconnects from a thin client (could be the same one or could be a different one). Think Citrix or Windows Terminal Services (I list Citrix first because guess who Microsoft got the technology from.... ;-)

Management wants idle sessions locked or disconnected after 30 minutes. The problem is several users are looking at informantion on the thin client but not actually using them so the idle timeout kicks in and the session gets disconencted. Reconencting is annoying -- it's several seconds slower than just unlocking a screen saver. Thus, this script to warn them before it happens.

Thanks for the help!!


In reply to Re^2: Perl/Tk: Is there a way to key off of any user input event? by Argel
in thread Perl/Tk: Is there a way to key off of any user input event? by Argel

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.