DreamStrobe: Added experimental interactive (slave) mode
authorHarvie <tomas@mudrunka.cz>
Mon, 1 Nov 2010 04:27:01 +0000 (05:27 +0100)
committerHarvie <tomas@mudrunka.cz>
Mon, 1 Nov 2010 04:27:01 +0000 (05:27 +0100)
c/dreammachine/PKGBUILD
c/dreammachine/strobe
c/dreammachine/strobe.c

index 5b71cd3da4804fc627058e2f02a805bf86f2b731..9d8eb3528af0b7f0597f0f5ceb45a71a86d8c160 100644 (file)
@@ -3,7 +3,7 @@
 # You can also contact me on http://blog.harvie.cz/
 
 pkgname=dream-strobe
-pkgver=3
+pkgver=4
 pkgrel=1
 pkgdesc="Stroboscope implementation for GNU/Linux console. Also called 'Dream Machine' or 'Strobe'. Can be used to alternate state of consciousness by affecting brainwave frequencies. Use only at your own risk!"
 arch=('any')
@@ -11,7 +11,7 @@ license=('GPL')
 url="http://aur.archlinux.org/packages.php?ID=27012"
 depends=()
 source=('strobe.c')
-md5sums=('8df74539c4f79aaf54a8a6d4423e3b4a')
+md5sums=('a23d214d2934cb5814e10bc9a2b92aa4')
 
 build() {
        mkdir -p ${pkgdir}/usr/bin
index bcfc89e1f0b5f18afe8826b960c512f67d364c73..80134d386f5f9c2a5dd0d9bad860eb838d0e3899 100755 (executable)
Binary files a/c/dreammachine/strobe and b/c/dreammachine/strobe differ
index bfc40a4713d5453cda9882e457744ccd50020160..1c2c797f6abec6f40559d8985a05424a7b06e40c 100644 (file)
@@ -48,6 +48,7 @@ int main(int argc, char *argv[]) {
                fputs(state_a, stdout);
                        fflush(stdout);
                        usleep(half_interval);
+                       if(argc > 2) getchar(); //interactive strobe
                fputs(state_b, stdout);
                        fflush(stdout);
                        usleep(half_interval);
This page took 0.16558 seconds and 4 git commands to generate.