From db7971565393852b21d547a37df23c0a0b49bf74 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 16 Jun 2011 14:59:18 +0200 Subject: Release v1.1 --- COPYING | 2 +- Changelog | 6 ++++++ bin/ekgping | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/COPYING b/COPYING index 45bb17d..a0f1c49 100644 --- a/COPYING +++ b/COPYING @@ -1,3 +1,3 @@ -All files below in this distribution are licensed under the following terms: +All files in this distribution are licensed under the following terms: 0. You just DO WHAT THE FUCK YOU WANT TO diff --git a/Changelog b/Changelog index ed5b0e8..2ebbed5 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,9 @@ +ekgping 1.1 - Thu Jun 16 2011 + + * You can now run ekgping -f beepfile without having to run + "./Build install" + * Add -t / --timout option (ping timeout for continuous beep) + ekgping 1.0 - Wed Jun 15 2011 * Initial release diff --git a/bin/ekgping b/bin/ekgping index 4ca1765..38e292b 100755 --- a/bin/ekgping +++ b/bin/ekgping @@ -13,7 +13,7 @@ use SDL::Music; use Term::Size; use Time::HiRes qw(usleep); -our $VERSION = '1.0'; +our $VERSION = '1.1'; my $beep = 0; my $id = 0; @@ -24,7 +24,7 @@ my $column = 0; my $column_max = Term::Size::chars; my $beep_file; -my $quiet = 0; +my $quiet = 0; my $timeout = 3; GetOptions( @@ -128,7 +128,7 @@ while ( usleep(100_000) ) { else { $beep = 0; $dead_count++; - if ( $dead_count > ($timeout * 10) ) { + if ( $dead_count > ( $timeout * 10 ) ) { $beep = 1; } @@ -161,7 +161,7 @@ B [B<-q>] [B<-t> I] [B<-f> I] I [B<--> I