From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8691 invoked from network); 29 Mar 1999 04:24:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Mar 1999 04:24:26 -0000 Received: (qmail 16529 invoked by alias); 29 Mar 1999 04:23:56 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2253 Received: (qmail 16518 invoked from network); 29 Mar 1999 04:23:50 -0000 Date: Sun, 28 Mar 1999 23:23:32 -0500 From: Sweth Chandramouli To: zsh-users@sunsite.auc.dk Subject: Re: Idle function? Message-ID: <19990328232332.B11812@astaroth.nit.gwu.edu> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <19990329133756.A505@tertius.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19990329133756.A505@tertius.net.au> On Mon, Mar 29, 1999 at 01:37:56PM +1000, Bek Oberin wrote: > Is it possible for a console to auto-execute a command when it has > been idle for x number of minutes? I don't want it to log off, just > reread some config files. i could swear you asked this sometime last year, too... i think the eventual answer was something like "have your preexec reset an IDLETIME variable, and then start a background process that checked the value of IDLETIME every so often and did something if it hadn't been reset in the relevant time period". the details should be in the archives. -- sweth. -- Sweth Chandramouli IS Coordinator, The George Washington University / (202) 994 - 8521 (V) / (202) 994 - 0458 (F) *