Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sched waits for next prompt. Does it have to?
- X-seq: zsh-users 119
- From: bas@xxxxxxxxxxx (Bas V. de Bakker)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: sched waits for next prompt. Does it have to?
- Date: Wed, 1 Nov 1995 10:14:20 +0100
- In-reply-to: <199510312213.XAA14119@xxxxxxxxxxxxxxxxxxxxx> (message from Rob Hooft on Tue, 31 Oct 1995 23:13:34 +0100)
Rob Hooft <Rob.Hooft@xxxxxxxxxxxxxxxxxx> writes:
> Isn't it possible to call the periodicals from an ALARM function?
> If not now, then it should be relatively easy to add such
> functionality? That would enable one to make "sched" behave like
> "at" using a smart ALARM handler and "TMOUT=60".
As I have mentioned before, you could indeed use TMOUT and TRAPALARM
to build an at-like function. For "periodic", this is relatively
easy, but to make a generic sched thing you would have to maintain
some kind of priority queue. If someone would hack together a shell
function for this purpose, it would be nice to include it in the
distribution.
For all my purposes, btw, "at" suffices.
Bas.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author