[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Morse code shell



The power has just been turned off in your neighborhood, but you need
more time to finish up on your computer than what your UPS can provide
--- unless you turn off your monitor.  But if you turn off your
monitor, you'll have to rely on Morse code to hear what is output on
your screen!

What might be a way to do this, just in case?
stty -echo && PS1=$ bash --norc -i 2>&1|cw; stty echo
works unless you need to hit ^C etc.  --norc is to turn off my usual
gaudy prompt, also we keep PS1 shot.  -i is to enable command editing.
We resume echo when the experiment is over.

This is mini screen reader for blind users too I guess.



Reply to: