From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15550 invoked from network); 16 Dec 1998 09:57:15 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 16 Dec 1998 09:57:15 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id EAA04018; Wed, 16 Dec 1998 04:55:13 -0500 (EST) Resent-Date: Wed, 16 Dec 1998 04:55:08 -0500 (EST) From: "Bart Schaefer" Message-Id: <981216015313.ZM11440@candle.brasslantern.com> Date: Wed, 16 Dec 1998 01:53:12 -0800 In-Reply-To: Comments: In reply to gossamer@tertius.net.au (Gossamer) "Re: Tracking idletimes" (Dec 16, 5:01am) References: <19981215235912.25281@athenaeum.demon.co.uk> X-Mailer: Z-Mail (4.0b.820 20aug96) To: gossamer@tertius.net.au, zsh-users@math.gatech.edu Subject: Re: Tracking idletimes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"ZCMkI.0.H-.yDuTs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1992 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Dec 16, 5:01am, Gossamer wrote: } Subject: Re: Tracking idletimes } } What I want the computer to do is somehow "sense" when I'm using it } and tell me to get up and stretch. If you're on a linux box (I'm guessing by the reference to virtual consoles), try using "stat" or "ls -l" on the /dev/tty? device files. If the mod time is changing, then either you're sitting there typing or some job is generating continuous output. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com