How a broken pascal compiler, a 300 baud modem, and a 1970s terminal helped create the (in)famous text editor.