Sujet : Re: [ksh93u+m] alarm timer function
De : dwhodgins (at) *nospam* nomail.afraid.org (David W. Hodgins)
Groupes : comp.unix.shellDate : 17. Mar 2024, 18:49:49
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <op.2ksg5bhua3w0dxdave@hodgins.homeip.net>
References : 1
User-Agent : Opera Mail/12.16 (Linux)
On Sun, 17 Mar 2024 10:48:21 -0400, Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> wrote:
In ksh93u+ I'm using the built-in 'alarm' timer command.
>
$ alarm --man
Usage: alarm [-r] [varname seconds]
>
(The original 'alarm' feature may have been experimental
and not documented well, but it was nonetheless useful.)
>
Just noticed in ksh93u+m that the 'alarm' timer command
doesn't seem to be available; I now get errors like
"alarm: not found"
and
timer.alarm: invalid discipline function
>
Is there some substitute in ksh93u+m that will replace
that function from the original ksh? (Or something else
to do to get it working?) Or has that feature just been
abandoned in the "u+m" branch?
I'm not a ksh user, so don't know much about it. I recommend using the package
"at" for setting alarms and it's not shell dependent.
Regards, Dave Hodgins