diff --git a/content/misc/baud/baud b/content/misc/baud/baud deleted file mode 100755 index 510d491..0000000 Binary files a/content/misc/baud/baud and /dev/null differ diff --git a/content/misc/baud/index.md b/content/misc/baud/index.md index 1fbbb6b..f80dad9 100644 --- a/content/misc/baud/index.md +++ b/content/misc/baud/index.md @@ -5,17 +5,48 @@ title: baud.c [baud.c](baud.c) is a program to simulate going through a modem. It reads stdin, and prints it to stdout at the provided baud rate (bits per second). + +Building +-------- + +Download [baud.c](baud.c). Change to that directory, and type + + make baud + +That will generate a file named `baud` in whatever directory you're in. +If you like, +you can put it in `~/bin` or `~/.local/bin` or `/usr/games/bin` or +wherever you prefer. + + +Running +------- + If you'd like to see what life was like when I got my first modem, try - cat file | ./baud.c 110 40 + cat file | ./baud 110 40 Run that for a few hours, then try - cat file | ./baud.c 1200 20 + cat file | ./baud 1200 20 And you will understand how mind-blowingly fast 1200 baud modems were at the time. + frotz zork1.zip | ./baud 4800 + +Gives Zork a retro vibe, +without being so slow that it's aggravating. +I don't think more than a dozen or so people every played Zork over a modem link, +but whatever. + + +Why --- -This is the second or third time I've written this code. +Every 10 years or so, somebody asks me for this program. +I don't know why. + +The other day it happened again, and I couldn't find it soon enough, +so I just wrote it again from scratch. I'm putting it on my web site so I don't have to write it again. +