Spinner v1.0 ------------- Copyright (C) 2002 Joe Laffey This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ---------------------------------------------------- This program makes a little character spinner. e.g. - \ | / - \ | / ... It is useful for keeping links alive, etc. Usage: spinner [] The delay is the time between each tick of the "spin". If no delay is provide a default is used. This is obviously a trivial prog. I found it useful for ssh keepalives through firewalls that timeout idle connections. Hopefully you will too... On un*x you can execute the ./Build shell script to compile spinner, or you can compile this with: gcc -O2 spinner.c -o spinner This will generate a binary called "spinner". Try executing it with "./spinner 0" or just plain "./spinner" for the default delay. If you use this to keep alive a connection use a delay of 2-30 secs. as not to waste bandwidth. *Windows users: The provided binary is a command line (DOS shell, Command Prompt) program. You execute it from the command line by typing the name of the program ("spinner") while in the same directory as the file. You may optionally move it to a directory in your PATH. If you wish to use a spin delay other than 2 seconds you enter the delay in seconds as the second argument to the command. ("spinner 5" for 5 sec) Hopefully somebody will find this useful. I use it when connected to remote servers to keep the link from timing out when I am connected through a firewall that times out idle connections. It can also be used to keep remote X windows sessions open, etc.