hacks

[index] [hacks] [sirc] [ytalk] [utalk] [TSora] [xtris] [Zoinx]

Most of the code here is covered by the GNU General Public License.

All these files can also be accessed by ftp on this ftp server.

lingerd
an accelerator daemon for Apache, which takes over the job of doing "lingering closes". Most useful for dynamic page servers.
sirc
an IRC client programmed and programmable in perl. Or look at the ChangeLog for it, so you know if you need to dl again, and if so what you're missing.
xtris
a client/server multi-player game of Tetris for X, including an automatic player bot and a message area between players.
ircd
the protocol changes since 1995, for EFnet-type IRC servers; there's a description of the protocol, the current code, and some new developments.
YTalk
I have taken up maintenance of the YTalk program, and released a new version, 3.1. The news is lots of bugfixes, and moved to GNU Autoconf.
talk/talkd protocol docs
Many people have asked me for documentation on the Unix talk/ntalk/ytalk protocols. Here's some info about that, pieced together from my replies to such mails. One day I might sit down and write an RFC-like description of the whole damn thing....
utalk
a proposed better protocol and client for talk requests, built over UDP. This is an early beta version, in active development. Or not really that active anymore, actually.
zer0
a small and friendly IRC script for the ircII client. The current version is 0044.
a mail lister for the Maildir format
a replacement for the "from" or "frm" that uses qmail's Maildir format. Lists the originator and subject for each mail, handling the new/old/read status.
rpm2cpio
a perl version of Red Hat's RPM dumping software, to get files out of an RPM on a platform that doesn't use RPM packages. you still need gzip and a decent cpio (GNU's and Solaris' work), but at least you don't have to install the whole RPM manager to get the files in an RPM.
Bot-Tom
an IRC bot programmed in perl, version 3.0 (quite neat, but unmaintained).
pleng
A "compiler" for a very restricted subset of English language descriptions of algorithms into perl. This is to make a point that there is no reasonable reason why code wouldn't be considered a form of expression and therefore be protected by free speech laws. I did this over 2 years ago, but the issues keeps coming back so I'm putting it here again... not much more would be needed for it to be Turing-equivalent.
explay
a command-line soundfile player for Suns that does .au and .wav (obtained by taking the X stuff out of xplay and making the rest work together).
acp
a command-line audio control panel for Suns (running SunOS or Solaris).
mkmod
a set of utilities to make .MOD (sountracker) files, extract and convert samples from them, and decompile and edit them. see the README.
a perl tutorial
a simple perl tutorial for beginners; doesn't assume any programming knowledge. perl 4 only.
relay
a proxy package for telnet, ftp and other tcp connections. This was also the first socket code I ever wrote, so don't complain if it's yucky :)
telserv
a little program to do the equivalent of talk requests via telnet.
bounce
a little program to bounce tcp connections to another machine/port.
Lynx-2.5.diff.gz
a patch to Lynx 2.5 so the browser doesn't freeze for a few seconds every time it displays a status message. (way outdated; go get Lynx 2.8 or newer instead, it's much neater)
a patched version of figlet
which can read compressed font files. (outdated)


Before I was englightened into programming for Unix, I used to hack on PCs running msdos, mostly in assembler and Turbo Pascal. Here are some of the hacks from that era:

sof.zip
a compiler and debugger for a Forth-like RPN language called SOF. It includes an extension to load, execute and singlestep external executable files; this lets you make loaders for programs that modify their behavior, without writing a single line of assembler. Full assembler source (300k) and documentation (60k) included.
stopprg.zip
a resident utility that lets you exit from any program (even games that steal interrupt 9) with a key combination.
ktris
a Tetris in 408 bytes of 8086 assembly. Also includes a bootsector version. Or look at the source code.
tetrises.zip
a collection of Tetris games: normal, 2-player, 3-player, hexagonal, triangular, 4-directional, with source code in Turbo Pascal and assembler.
five.zip
a game of five-in-a-row (also known as gomoku), for two players or one player against the computer.
calc.zip
a resident hex and decimal RPN calculator.
resine.zip
a loader that turns Norton Editor into a resident program. Requires a copy of Norton Editor 1.1B.
thurbo.zip
a joke program that looks and feels like Turbo Pascal 6, but doesn't actually do anything.
At some point I got very interested in reverse engineering the ROMs of my HP48sx; this was the result:
external.doc
a 300k textfile describing (in French) a number of entry points and objects in the HP48sx ROM. Yes, this is a text file, not an MS Word document; this was before the evil empire claimed sole rights to the ".doc" extension.
hp48.zip
an msdos program to examine a dump of an HP48sx ROM, including a disassembler and unthreader for objects.


[index] [hacks] [sirc] [ytalk] [utalk] [TSora] [xtris] [Zoinx]