Path: chonsp.franklin.ch!usenet From: Neil Franklin Newsgroups: alt.folklore.computers Subject: ihttpd and other small stuff (was Re: Rubouts and such) Date: 15 Oct 1998 22:04:45 +0200 Organization: My own Private Self Lines: 32 Sender: neil@chonsp.franklin.ch Message-ID: References: <908252683@ablelink.org> <0DBU1.1149$525.4158979@ptah.visi.com> X-Newsreader: Gnus v5.3/Emacs 19.34 Ingvar Mattsson writes: > > On a.f.c or "for real"? Hmm... I think it's time to do some changes > to ihttpd[1], I'm sure I can add "ZGET" support if I restructure some... > It should be doable, I have a whopping 100-ish bytes to play with. > > so I thought for a bit and, suddenly, it it me. A web server, with > the most basic functionality, in <= 4096 bytes of C code. Haven't Where can I get a copy of this? URL? If you are not on the Web, simply mail me a copy. I will put it on my Web site for you (if you want). And while we are on such nice small programs: if you want an universal telnet/ftp/mail(SMTP/POP3)/browser/inetd/netscan replacement, try: -rw-r--r-- hobbit/dirtbags 58553 Mar 21 01:38 1996 netcat.c A copy with docu and examples is on my Web site at: http://neil.franklin.ch/Info_Texts/nc110.tar.gz Fitting to the earlier discussion about achiving a lot in small size: does anyone else know any more such size wonders? -- *** New home Addresses Mail and Web *** home: neil@franklin.ch.remove http://neil.franklin.ch/ work: franklin@arch.ethz.ch.remove http://caad.arch.ethz.ch/~franklin/ Microsoft is Software Communism, Fight for GNU Freedom! ###### From: lucvdv@null.net (Luc Van der Veken) Newsgroups: alt.folklore.computers Subject: Re: ihttpd and other small stuff (was Re: Rubouts and such) Date: Fri, 16 Oct 1998 20:46:05 GMT Organization: . Lines: 36 Message-ID: <3629a5b2.4636107@news.uunet.be> References: <908252683@ablelink.org> <0DBU1.1149$525.4158979@ptah.visi.com> NNTP-Posting-Host: pool02b-194-7-144-22.uunet.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.451 X-No-Archive: yes Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.maxwell.syr.edu!newspeer.monmouth.com!rill.news.pipex.net!pipex!join.news.pipex.net!pipex!krypton.inbe.net!INbe.net!not-for-mail Also sprach Neil Franklin on 15 Oct 1998 22:04:45 +0200 to alt.folklore.computers: > Fitting to the earlier discussion about achiving a lot in small size: > does anyone else know any more such size wonders? [better say this first: _not_ serious, but true - the ratios are about correct, but I may be off on the actual sizes by a couple of bytes] Well, there was this thing I uploaded to a BBS once (years before I got internet access - I just had my first XT clone and was learning DOS 3 internals and 8086 assembler). It was a self-extracting archive that expanded itself from only a few k into a whopping >100k executable. The executable, "blkhole.exe", was a demo for a new compression program I called "BlackHole". The demo would archive files with really unbelievable compression ratios and at a speed never seen (actually, the generated archives would invariably have a size of 0 bytes - hence the name). Whoever was interested would receive the extraction-enabled version after registering - but for some reason nobody ever applied :-) [Do I really need to say that the description I uploaded with the file made it clear that it was a joke, to make sure nobody would actually pay me - and that the executable created during extraction contained, besides a lot of random binary data, maybe a few hundred bytes of code that expanded wildcards from the command line, echoed all filenames found to the screen, and created an empty file?]