I have two shell scripts, one that serves as the main \"program\" and another that serves as a \"library.\"
In several places in the \"program,\" I\'ll do something
Open /dev/tty on another FD.
/dev/tty
exec 0< /dev/null exec 1> /dev/null exec 2> /dev/null exec 3> /dev/tty echo 'Hello, World!' >&3