Older Teletype machines, Model 15 and earlier, have two or three bells. The big bell is triggered by the BELL character. The bell is almost 3 inches across and produces a really nice "bong" sound that lasts more than a second. That bell was intended to get the attention of people in the room for important incoming messages. News services would send messages with one to ten bells. UPI used 3, 4, 5 and 10 bells.<p>What it sounded like: The Teletype March: [1] Good pictures of the big bell.<p>The small bell is triggered at column 73 or so. Just a quiet "ding".<p>On a Model 14 printer, which prints on a narrow tape, the third bell rings continuously when the blank tape supply has run out.<p>All that is what's being emulated by the "bell" sound on computers.<p>[1] <a href="https://youtu.be/b2QPy-igBLA?t=218" rel="nofollow">https://youtu.be/b2QPy-igBLA?t=218</a>
Here is a link to the product video: <a href="https://www.youtube.com/watch?v=uG8VpN6Z_YA" rel="nofollow">https://www.youtube.com/watch?v=uG8VpN6Z_YA</a><p>I sent a patch to iTerm2 for support: <a href="https://github.com/gnachman/iTerm2/pull/428" rel="nofollow">https://github.com/gnachman/iTerm2/pull/428</a>
Terminal bells trained me to be very cautious about what files I jam into stdout, or its equivalent.<p>There's nothing worse than accidentally cating a binary file and filling the computer room with a string of un-cancellable bells with all eyes on you. It was like a noob detector.
I ran across an old and very nice portable Smith Corona typewriter the other day and of course I opened it up and gave it the required typewriter inspection: holding down tab until the carriage rings the bell. What a delight.<p>This project is really great, but I cant help but want to remix it to hide the guts within the bell! I also kinda want to hook it up to a pinball knocker and put it under my coworkers' desks.<p>Anyone else have the unending list of cool projects to build that you can never seem to start?
One of the comments on the youtube video says "I need an analog carriage return".<p>Now <i>that</i> would be cool. Having a physical bell ding every time you hit enter, like an old typewriter!<p>Edit: I'm aware that typewriters ding before you get to the end, but that would be much harder to implement than just doing it when you hit enter, which would be a close representation. :P
Terminal bell is something that in my opinion was once great but now overused to the point I turn it off. I remember the time I could just sound a bell on an end of a long running process and that would be it. Today I use a visual/audio notification on the ends of my scripts.<p><pre><code> osascript -e 'display notification "Completed!"'
osascript -e 'say "Done"'</code></pre>
I have two bells _exactly_ like that one. One of them has a distinctive tone (and a sizeable dent) because it used to sit on a colleague's desk and people "rang him up" as they came up to him until one day he just lost it and threw it across the room (almost into the garbage bin - it hit on edge and dented).<p>Good thing we're working remote, because I would not be able to be near one of those things during an intensive terminal session.
I love the cheesy informercial [1]<p>[1] <a href="https://www.youtube.com/watch?v=uG8VpN6Z_YA" rel="nofollow">https://www.youtube.com/watch?v=uG8VpN6Z_YA</a>
Manual typewriters were noisy little beasts. "Tack tack tack tackity tack" (keys). Thunk... thunk (shift). "Chunka chunka (backspace). Ding (bell). Ziiiiiiip (return). All of these and more are lovingly preserved in US-ASCII:<p><a href="https://every.sdf.org/.webshare/us-ascii.txt" rel="nofollow">https://every.sdf.org/.webshare/us-ascii.txt</a>
> Here are the components needed:
> Mini USB B Connector ($1.72)
> 10k resistor ($0.10)
> 1k resistor ($0.10)
> 47nf capacitor ($0.22)
> 1N4004 diode ($0.12)
> TIP 122 or 102 ($0.70)
> Solenoid ($4.95)
> MCP2221a ($2.27)
> JST connector ($0.17)
> 14 Pin Socket ($0.18)
> Bell ($7.99)<p>A much easier way to do this would be an tiny Arduino-compatible board and a servo. I actually made an analog lunch bell at a startup this way that we struck when the food delivery arrived. It might be a few bucks more in components but you wouldn't have to deal with making and populating a PCB so you'd save on that.
That title brought back memories of some really old MUDs that would let you chat escape codes (mostly meant to make colorful chats in ANSI color), and you could chat the bell escape code to make everyone's PC beep. But it also kind of froze the computer for a second, so you could send a bunch of them and freeze everyone (including yourself).