[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ALERT.ACC
>> Does anyone know if it's possible to send a message to ALERT, for
>> it
>> to appear as an alert within MTOS, and if so, how would I do it? I
>> want to be able to do it from a shell command - I've tried echo'ing
>> to /pipe/alert in several different formats, but to no avail.
>
> Just use the system call Salert to send a message to /pipe/alert. If
> no process is reading /pipe/alert the string will be written to the
> standard output of MiNT.
I should have been a bit clearer. I was after something to use in
shell scripts. Has anyone written anything to take a message in, and
Salert it out, or will I have to dust off my C compiler (not to
mention brain cells), and write something?
Cheers,
Xav
--
Xav
E-mail: mbge4mdc@fs1.ee.man.ac.uk
Web: http://cerebus.lamp.ac.uk/~xav/xav.html
"It's who I am, it's what I do - I can't change" - Sledge Hammer