baud

Modem simulator
git clone https://git.woozle.org/neale/baud.git

 1Baud
 2====
 3
 4[baud.c](baud.c) is a program to simulate going through a modem.
 5It reads stdin, and prints it to stdout at the provided baud rate (bits per second).
 6
 7
 8Building
 9--------
10
11Download [baud.c](baud.c). Change to that directory, and type
12
13    make baud
14
15That will generate a file named `baud` in whatever directory you're in.
16If you like,
17you can put it in `~/bin` or `~/.local/bin` or `/usr/games/bin` or
18wherever you prefer.
19
20
21Running
22-------
23
24If you'd like to see what life was like when I got my first modem, try
25
26    cat file | ./baud 110 40
27
28Run that for a few hours, then try
29
30    cat file | ./baud 1200 20
31
32And you will understand how mind-blowingly fast 1200 baud modems were at the time.
33
34    frotz zork1.zip | ./baud 4800
35
36Gives Zork a retro vibe,
37without being so slow that it's aggravating.
38I don't think more than a dozen or so people every played Zork over a modem link,
39but whatever.
40
41
42Why
43---
44
45Every 10 years or so, somebody asks me for this program.
46I don't know why.
47
48The other day it happened again, and I couldn't find it soon enough,
49so I just wrote it again from scratch.
50I'm putting it on my web site so I don't have to write it again.
51
52
53License
54-------
55
56I'm placing this in the public domain.
57So there's no license.
58
59Some jurisdictions don't recognize the existence of a public domain.
60If you live in one of those,
61you can use the terms of [Creative Commons 0](COPYING.txt).