alert(3alleg4) Allegro manual alert(3alleg4)NAME
alert - Displays a popup alert box. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int alert(const char *s1, *s2, *s3, const char *b1, *b2, int c1, c2);
DESCRIPTION
Displays a popup alert box, containing three lines of text (s1-s3), and with either one or two buttons. The text for these buttons is
passed in `b1' and `b2' (`b2' may be NULL), and the keyboard shortcuts in `c1' and `c2' as ASCII value. Example:
if (!exists(CONFIG_FILE))
alert(CONFIG_FILE, "not found.", "Using defaults.",
"&Continue", NULL, 'c', 0);
RETURN VALUE
Returns 1 or 2 depending on which button was clicked. If the alert is dismissed by pressing ESC when ESC is not one of the keyboard short-
cuts, it treats it as a click on the second button (this is consistent with the common "Ok", "Cancel" alert).
SEE ALSO alert3(3alleg4), gui_fg_color(3alleg4), exgui(3alleg4), expackf(3alleg4), exspline(3alleg4)Allegro version 4.4.2 alert(3alleg4)
Check Out this Related Man Page
alert(3alleg4) Allegro manual alert(3alleg4)NAME
alert - Displays a popup alert box. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int alert(const char *s1, *s2, *s3, const char *b1, *b2, int c1, c2);
DESCRIPTION
Displays a popup alert box, containing three lines of text (s1-s3), and with either one or two buttons. The text for these buttons is
passed in `b1' and `b2' (`b2' may be NULL), and the keyboard shortcuts in `c1' and `c2' as ASCII value. Example:
if (!exists(CONFIG_FILE))
alert(CONFIG_FILE, "not found.", "Using defaults.",
"&Continue", NULL, 'c', 0);
RETURN VALUE
Returns 1 or 2 depending on which button was clicked. If the alert is dismissed by pressing ESC when ESC is not one of the keyboard short-
cuts, it treats it as a click on the second button (this is consistent with the common "Ok", "Cancel" alert).
SEE ALSO alert3(3alleg4), gui_fg_color(3alleg4), exgui(3alleg4), expackf(3alleg4), exspline(3alleg4)Allegro version 4.4.2 alert(3alleg4)
I have a monitoring script that checks on the content of an alert file, I'm doing some checks on weather I have already reported on the alert (there is one alert per file). If I find that the content is the same as before how can I stop and restart the loop until there is differences bewteen the... (5 Replies)
Hi everyone,
Does anyone use a good unix security alert provider (such as CERT/SANS) that caters specifically to Unix and would provide a similar method of alert reporting? Any suggestions (with links!! :) ) would be helpful and appreciated.
Thanks in advance
:p (4 Replies)
I have a file called alert.log containing the following:
WARNING: received KRVX_OPER_CANNOT_SUPPORT
knlldmm: gdbnm=CROOP
knlldmm: objn=23793
knlldmm: objv=1
knlldmm: scn=5189816456
knllgobjinfo: MISSING Streams multi-version data dictionary!!!
knlldmm: gdbnm=FDROP
knlldmm: objn=49385... (9 Replies)
Hi Guys...
I want to change the below script to send an alert when my file system is greater than 5G.
# If any filesystem has less than 5k, issue an alert
if
Regards (3 Replies)
Hi All,
My below shell script is not capturing %used value in the filesystem alert in the subject of the mail alert:
#!/bin/bash
export DBALIST="abc@xyz.com"
df -k /oradata/xyz/archive > dfk.result
archive_capacity=`awk -F" " '{ print $5 }' dfk.result|grep -i %| cut -c 1-4`
if ]
then... (5 Replies)
Hi,
I need an alert to be triggered if any filesystem(imagine there are n no of filesystems) reaches more than 90%, it should send an alert to the mailbox stating which filesystem is at what percentage. How can I achieve this in unix?
Many thanks. (8 Replies)
Hello,
I want to check the size of text files in a directory continuously via cronjob.
I would like to receive an e-mail alert if the file is greater than 0 kb.
Thank you for your help. (3 Replies)
Hi ,
I want a script who will send alert the moment someone edit any file in a directory in LINUX. Can some one throw some light on this please.!! (4 Replies)
Hi Experts,
Please help me in find the right way to create a script for the below task.
Task - I need to create a alert script for CPU usage and I only need to alert when there is a process hold the CPU high for more than 5 mins.
Initially five mins one use the ps command five mins... (5 Replies)
Hi Experts,
Iam bit poor in shell scripting,
Here my requirement is for generating an alert where the oracle database db_recovery_file_dest_size usage. If it reaches beyond 80% should recieve an alert through an email.
Want to schedule this alert in cron.
#!/bin/bash
.... (9 Replies)
hi all members
I have a shell script to generate disk space usage email alert if threshold is more than 80 %, now the requirement changed to keep sending alert emails for every 5% incremental usage ........ Any help would be greatly appreciated.
ex - 80% , 85% ,90%,95%,100% we should get an... (6 Replies)