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

Re: Morse code shell



On Sun, 1 Feb 2004, Dan Jacobson wrote:

> 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!

     And/or flash the keyboard LEDs in Morse code!

> 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.

-- 
	Chris F.A. Johnson
	=================================================================
	cfaj@freeshell.org                      http://cfaj.freeshell.org



Reply to: