Running telnet on 22.04. Is there a command to issue an audible alert when new data appears? Thanks.
Telnet is interactive, not job or batch based.
There is no reason for the feature to exist in the way you want it.
When you have a Telex machine dialed into Reuters, Reuters sends
<ctrl>-G, the bell character, indicating "incoming article". The
BEL character 0x07 hex, was intended for the "alert function".
Sometimes they would send individual news articles over the Telex,
and an operator would not know something was coming in, unless
they happened to hear the BEL.
However, that requires cooperation from the serving end. The
people sending the information, need to understand that an
audible alert should be included. On a Telex or Teletype machine,
a real bell is used, and a hammer strikes it. On a computer,
BEL makes a beep noise, which is annoying if used to excess.
*******
It's a long shot, but find the Accessibility section of the
OS, where help is provided for vision-impaired or hearing-impaired
individuals.
You may be able to select TTS (text to speech) and have the
contents of the Telnet window read aloud to you. When new
information comes in, you would hear the voice start up
while it reads the content.
But short of editing the source of PuTTY terminal emulator
and adding a feature there, I don't think a convenient tick
box exists for what you want. In a Google, I can see someone
asked for it, but the answers were similar to mine. DIY.
Paul