Someone (Richard Doyle?) asked about 10 days ago for the sources of the
ticker program.

The archive 2.9.4-sourcesnapshot.tar.gz, dated May 29, 1999 at


ftp://ftp.linuxrouter.org/linux-router/old/2.9.4/source/

contains the sources for ticker, watchdog, an ipfwd as well as the original
of the binaries found in Dachstein, Shorewall, etc.

I believe ipfwd is now obsolete. I may be wrong :-))

The watchdog code is almost identical to the busybox watchdog code.

Which gave me this silly idea: follow the sequence. If anybody is interested
in this new busybox ticker applet, I will post the diff on my page. However,
this may end up in the next official release of busybox. :-))

Cheers!!!

From: "Serge Caron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: LEAF and ticker
Date: Sun, 3 Feb 2002 15:51:12 -0500

Dear busybox :-),

The Linux Embedded Appliance Firewall project at http://leaf.sourceforge.com
is actively using busybox for all current releases.

It is with tongue in cheek that I submit this busybox applet, ticker, for
which we have been budgeting 3Kb since the early release of the Linux Router
Project. It is about time this ticker got a lick.

Ticker is just a warm fuzzy feeling that just won't die and I thought I'd
pass it along.

Cheers,

Serge Caron

Return-Path: <[EMAIL PROTECTED]>
Received: from dsl-212-23-14-12.zen.co.uk ([212.23.14.12])
          by tomts14-srv.bellnexxia.net
          (InterMail vM.4.01.03.16 201-229-121-116-20010115) with SMTP
          id
<[EMAIL PROTECTED]
.uk>
          for <[EMAIL PROTECTED]>; Sun, 3 Feb 2002 19:07:51 -0500
Received: (qmail 8508 invoked by uid 0); 4 Feb 2002 00:07:46 -0000
Received: from hyperspace (HELO linuxhacker.org) (192.168.0.1)
  by alexholden.net with SMTP; 4 Feb 2002 00:07:46 -0000
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 04 Feb 2002 00:07:46 +0000
From: Alex Holden <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
X-Accept-Language: en-us
MIME-Version: 1.0
To: Serge Caron <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [BusyBox] LEAF and ticker
References: <000b01c1acf4$8557b540$8400000a@piglet>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Serge Caron wrote:

> It is with tongue in cheek that I submit this busybox applet, ticker, for
> which we have been budgeting 3Kb since the early release of the Linux
Router
> Project. It is about time this ticker got a lick.


With tongue also held firmly in cheek I humbly submit a version which I
found to be 96 bytes smaller :)

#include <stdio.h>
#include <unistd.h>

int main(void)
{
 int i;
 char c[] = {'.', 'o', ':', 'O', ':', 'o'};

 switch(fork()) {
  case -1:
   return -1;
  case 0:
   setbuf(stdout, 0);
   putchar(' ');
   while(1) {
    for(i = 0; i < sizeof(c); i++) {
     putchar('\b');
     putchar(c[i]);
     sleep(1);
    }
   }
 }
 return 0;
}

[cue frantic attempts to beat me by another 100 bytes]

--
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer

From: "Serge Caron" <[EMAIL PROTECTED]>
To: "Alex Holden" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: Re: [BusyBox] LEAF and ticker
Date: Sun, 3 Feb 2002 19:35:35 -0500
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700

Dear Alex,

Lester B Pearson once said "Diplomacy is the art of letting other people
have it your way." :-))

I am glad to see that the busybox community has the greatest sense of humor.
I will report to the LEAF project that their flagship product, ticker, is
now mainstream busysbox and has found a champion in the person of Alex
Holden.

Best regards,

Serge Caron

PS: You can keep the 96 bytes :-)) ROTFL






_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to