There's historically been stuff like "type the window title as if it was text entered on the keyboard"; since you can set the window title with escapes, this allowed Bad Things, and has subsequently been nerfed by major terminals (e.g. iirc xterm just reports "xterm" regardless of what the window title actually is)
I don't understand why they can't just distribute a package with the same install script.
(don't do this on a terminal you care about! on some older versions of OS X, this would hard-lock the entire UI (for all apps, requiring a reboot or something!), but these days it's sufficient to force-quit Terminal)
There's some wacky stuff out there: https://www.xfree86.org/current/ctlseqs.html
Actually, no it does not. My less displays the bell characters as ^G instead of showing them as raw.
Whether you hear the bell, or simply see ^G, depends upon how you have less configured. I leave mine configured to use the caret notation for control characters (which for my version of less, is also the default).
The beep character is control-g, ASCII 0x07