
useful test lines:
	echo "\\\" arst"
	echo ""

uses hex-to-string to avoid problems with bash replacement

abandoned trying to hide the "pwd" line nesssecary for updating status.  I tried control characters and "tput".  I tried 'echo -en "\033[5A\033[0m" ; tput ed' which works fine when run manually in a terminal but doesn't work when run through the pipe.  I don't know, it's not essential and it's complicated so it's not worth it.

tried using screen instead of pipes, simpler, wound only require 1 terminal, but doesn't mirror, not going to work

