#!/usr/local/bin/bash # # annoy: annoy the user by sending a unix fortune in morse code every # 20 minutes # # Usage: annoy & # # As provided, this will use a character spacing of 22 WPM and a word # spacing of 20 WPM. The places where you need to change this should be # obvious. # # Change auplay calls to appropriate calls to a sound player. Change paths # to fortune and morse as needed. # # # Author: Tom Russo # russo@swcp.com # # Copyright 1999, Thomas V. Russo, KM5VY, All rights reserved. # # You may freely distribute this software so long as you retain this notice # and provide a detailed description of any changes you might have made. # # This software provided with absolutely no warranty whatsoever. Use it if it # is useful, file it in your circular hacks file if not. while [ 56 = 56 ] do echo "vvv vvv vvv" | morse 22 20 400 | auplay sleep 10 /usr/games/fortune -s | tee annoy.$$.txt | morse 22 20 400 | auplay sleep 10 cat annoy.$$.txt rm annoy.$$.txt sleep 1200 done