> I am trying to write a program that continously runs on the foreground and > exit iff any key is pressed.
do a 'man 3 unlocked_stdio'.. particularly the function getc_unlocked.. if your system doesn't have this, you'll have to stuff around with fgetc(3) and select(2).... matt. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
