10-21-2008
Thank you MajorMark.
my purpose for this scripting is to provide exception processing notification and acknowledgement.
I want to pause the screen that is scrolling as the messages are coming to the log. The user may not catch the error while the screen is scrolling other informational messages. If an error is found, I would like to pause for a user response. Once the user presses ENTER, the screen resumes scrolling again.
With the code above it paused, but did not wait for a user response.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I guess I posted in wrong forum before. How do I pause another process and then restart it on linux? The other process doesn't listen for anything.
Thanks for any help you can offer.
Dane :confused: (1 Reply)
Discussion started by: daneensign
1 Replies
2. Programming
ok, im somewhat of an advanced programmer for the windows-side of C/C++, and the system command to pause the console is 'system("pause");'.... i just recently transfered over to Slackware 3.3 (yes, its old, but i <3 text), and pause is not the command for pausing the command line. is there any... (3 Replies)
Discussion started by: 01000101
3 Replies
3. UNIX for Dummies Questions & Answers
well is gets stuck and i dont know why.......
pid=fork();
if(pid==0)
{
pause();
write(1,"child",5);
exit(0);
}
else
{
sleep(1);
kill(pid,SIGCONT);
write(1,"parent",5);
wait(0);
}
all=1; (1 Reply)
Discussion started by: IdleProc
1 Replies
4. AIX
Hi,
I am building a script to grep for a string in all the files from a folder and display the results.
I am reading the files one by one by placing the names in other file using while loop
my code is as below
while read inp
do
chk=`grep -c "$str" $pth/$inp`
... (2 Replies)
Discussion started by: sekhar gajjala
2 Replies
5. Shell Programming and Scripting
Hi,
I've written a shell script to take photos with my camera.
After every picture taken, the picture is transmitted to the computer via usb and then deleted on the camera.
But sometimes there's an error and the picture is not deleted and so, after a certain time, the camera chip will be... (4 Replies)
Discussion started by: McLennon
4 Replies
6. Shell Programming and Scripting
I have a running log file (jboss_server.log) which rotates at midnight . I need to constantly check and calculate the time for each thread and alert if it doesnt complete within 60 minute. For example my log file has following printed .
I want to run a script in cron every 30 minutes and... (2 Replies)
Discussion started by: gubbu
2 Replies
7. UNIX for Dummies Questions & Answers
Possibly a dumb question, but I'm deciding how I'm going to do this. I'm currently rsyncing a 25TB directory (with several layers of sub directories most of which have video files ranging from 500 megs to 4-5 gigs), from one NAS to another using rsync -av. By the time I need to act ~15TB should... (3 Replies)
Discussion started by: DeCoTwc
3 Replies
8. Shell Programming and Scripting
Hi All,
I have a requirement to read response file which looks like below
Ex:
NAME=SAM
DOB=01/01/1980
ADDRESS=
7658 James Street
NewYork
0000
Now, I need to take NAME, DOB, ADDRESS into variables
I am fine taking NAME and DOB
I need help on how can I... (6 Replies)
Discussion started by: mallak
6 Replies
9. Shell Programming and Scripting
6) printf "\n GoodBye! \n\n"; exit ;;
I am trying modify the above command to pause a couple of seconds before exiting, so a message can be displayed. Thank you :). (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT DEBIAN
exscroll
exscroll(3alleg4) Allegro manual exscroll(3alleg4)
NAME
exscroll - Mode-X hardware scrolling and split screens. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exscroll
DESCRIPTION
This program demonstrates how to use hardware scrolling. The scrolling should work on anything that supports virtual screens larger than
the physical screen.
SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_bitmap(3alleg4), allegro_init(3alleg4),
allegro_message(3alleg4), clear_keybuf(3alleg4), create_sub_bitmap(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4),
install_keyboard(3alleg4), keypressed(3alleg4), rectfill(3alleg4), release_bitmap(3alleg4), screen(3alleg4), scroll_screen(3alleg4),
set_color(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), vline(3alleg4)
Allegro version 4.4.2 exscroll(3alleg4)