Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Tracking idletimes



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



Messages sorted by: Reverse Date, Date, Thread, Author