Wiring A Vintage Teletype To The Internet
An anonymous reader writes "Do you have an old teletype with a 5-bit serial interface sitting around that you've been itching to hook up to the Internet? If so, this article at LinuxDevices.com is just what you've been looking for. Henry Minsky has caught the Mini-ITX motherboard bug big-time, arguing that the tiny, yet full-featured boards can now compete favorably with more traditional embedded platforms." Minsky explains that: "Messages and alerts could be printed to the teletype automatically from remote locations (such as our Yahoo calendar), while a user could send messages and access services such as weather and news headlines from the teletype keyboard."
Do you have an old teletype with a 5-bit serial interface sitting around that you've been itching to hook up to the Internet?
No.
I'd love to get an old teletype going. Ever since I read Hackers by Stephen Levy, I really really lusted after the old hardware. (The first computer I owned was an Atari 800; alas, I never got to play on a PDP-11 or a teletype, or punch cards on a modified IBM Selectric (or punch cards at all!)). I wonder if maybe some enterprising geeks could set up an 'old computer museum and workshop' so geeks can go and learn of their roots. I'd love to play with a teletype! (I hear the bell on one of those is an actual BELL!)
Honey, I shrunk the Cygwin
Depressingly, although he mentions the rationale for choosing the hardware and software that he did, with links to vendors, he never mentions if the damn thing actually works! Where's the audio of the teletype humming away? The pictures of the latest weather report, pulled off of some website, displayed as printed text?
Given the sort of spam that ends up in my mailbox, hooking the teletype up to print out the subjects of incoming mail messages would require upgrading the teletype to have UNICODE printing characters.
"Little does he know, but there is no 'I' in 'Idiot'!"
I first thought that they managed to run the HTTP server on the actual teletype (something like a mechanical HTTP server!), so I was a little dissapointed to see that they used a modern PC motherboard for doing that.
Still, it would be nice to see if something like Contiki could be used for this beast as well.
Hook this bad boy up to a machine running ASCII Quake, and give new meaning to the term "Frag"!
Let's try not to let fact interfere with our speculation here, OK?
(nervously) Who sent you?
Nope this sort of thing is called a TERMINAL, your vtxx0 session is actually trying to emulate the behavior of a paper terminal. Betcha you did not know that :).
A printer is output only, this device is input and output...
better? inkjet????? lcd??
the whole point of such to-paper logging is to log things so that the alerts can't get destroyed afterwards(because of a hacker, or because the machine has melted) by the computer. and i would presume dot matrix to be a LOT cheaper in the long run than paying for large amounts of ink for inkjets(not to mention the feeding system in inkjets tends to suck for such application).
and it's not exactly 'like they used to be', they still do it in critical places (or places where some 'hard' proof is needed for logs).
world was created 5 seconds before this post as it is.
A VT220 terminal sitting here in a box, too precious to throw away, too useless to do anything with except perhaps hook up to a Linux box as a useless console.
And now I can hook it to the Internet! This is seriously useful stuff. Maybe I can make it beep as the text appears, in double size, so that people can see I have a REAL computer!
Ceci n'est pas une signature
One of my father's first jobs was as a reporter for UPI. He could "edit" a story by reading the punched holes on the 5-level paper tape.
Mea navis aericumbens anguillis abundat
#### Teletype (tty)
:hc:os:xo:\
:co#72:\
:bl=^G:cr=^M:do=^J:sf=^J:
:bs:hc:os:xo:\
:bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E 7:
#
# These are the hardcopy Teletypes from before AT&T bought the company,
# clattering electromechanical dinosaurs in Bakelite cases that printed on
# pulpy yellow roll paper. If you remember these you go back a ways.
# Teletype-branded VDTs are listed in the AT&T section.
#
# The earliest UNIXes were designed to use these clunkers; nroff and a few
# other programs still default to emitting codes for the Model 37.
#
tty33|tty35|model 33 or 35 teletype:\
tty37|model 37 teletype:\
The bell is real, but the teletype itself makes so much darn noise that it would be ideal for notification of alerts needing immediate attention. My anecdote us that a friend once hacked one into a being printer for an Apple][. Not only did it make a din during normal operation, because his was missing some structural support it would occilate and bang into the adjacent metal table. Not everyone in the area had the same level of appreciation of this feature however. ;)
Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
Theres a program called heavy metal that allows you to connect your teletype to your box and be able to surf the web, check the weather, stock quotes, telnet into other machines, be able to convert ASCII into 5-bit and and read e-mail.
Nero-burning ROM for Linux!
And hence the old habit of injecting a kilobyte or two of formfeeds after the break so as to make sure the log printer was out of paper.
A friend, who shall remain nameless (though the setting was actually fairly benign), actually backed up the printer and 'X'-ed over the printout. But that was more for show, reverse feeding is unreliable, better yet to just run the printer out of paper.
A variation was recently used. A company HQ had a paper printer to log access cards as they opened the doors to the building. But, the printer was in a cleaning cupboard on the ground floor. The thief (an insider) just broke into it and took the paper logs with him as he left with his companions carrying a s*it load of computers.
The moral of that story is that paper is kind of fragile as a log material. Make sure it'll survive the calamity that the original equipment wont, lest you be standing with a long face with neither the equipment/data nor the logs.
Stefan Axelsson
I once worked for a company whose business cards had a Telex number on them. At a trade show, I gave a young feller my card. He studied it briefly and pointed to the Telex number at the bottom asking what it was. I said, "That's our Telex number." He looked at me and asked, "What's a Telex?" "It's a Teletype that can store messages", I replied. He seemed to nod, acknowledging my answer but then asked, "What's a Teletype."
Wansu, th' chinese sailor
Of course, inputting commands is rather trickier...
When I was a radioman in the Navy, our division officer wrote a program to convert between BAUDOT (the 5 digit code used by TTYs) to ASCII and handle the protocol so we could edit messages on a laptop and transfer it to a TTY.
He showed me the code, written in C.
That was the moment I fell in love with programming, eventually got out of the navy and studied comp sci.
Thanks, LCDR Meyers!
1 o.o.o.o
2
3 o.o.o.o
4
5 o.o.o.o
And of course, if you ever get gibberish, you should physically observer the tape for a messages:
1 ooo...o..ooo..ooo....o...o.ooo
2 o..o..o...o...o......oo.oo.o
3 ooo...o...o...oo.....o.o.o.ooo
4 o..o..o...o...o......o...o.o
5 ooo...o...o...ooo....o...o.ooo