Finally a fix to the Ctrl-C handling. The old semantics were incorrect.
Now 1 ^C means "skip to next song" and 2 ^C's within a certain time period means (500 ms right now) exit the program. We use gettimeofday() so we don't need alarm() anymore. Thanks to Segher for working out most of this patch. svn path=/trunk/vorbis-tools/; revision=2902
Showing with 25 additions and 26 deletions