Re:Sherver: Bash lightweight web server
by _wldu on Wednesday December 22, 2021 @08:56AM
(#29649304)
Interesting. I don't hear anything when I use the -a flag.
[ Parent
| on HN ]
Re:Sherver: Bash lightweight web server
by thanatos519 on Wednesday December 22, 2021 @09:15AM
(#29649545)
Let's check with "reveal codes":
$ ping -a 127.0.0.1 | less
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.029 ms^G
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.023 ms^G
Looks like you need a terminal that has a BEL sound.
Re:Sherver: Bash lightweight web server
by vesinisa on Wednesday December 22, 2021 @09:15AM
(#29649559)
It just echoes a Bell character to your terminal. Make sure your terminal emulator supports it, and is configured properly: https://en.wikipedia.org/wiki/Bell_character
Re:Sherver: Bash lightweight web server
by rzzzt on Wednesday December 22, 2021 @03:38PM
(#29654829)
Windows Terminal shows a "visual bell" in the tab bar whenever BEL is emitted (even though I have it set to "audible" in advanced settings of the profile, hmm).
Edit: Uhm, right. I have also silenced all system sounds in Windows.