Maybe echo() and noecho() aren't supposed to effect terminal behavior outside Perl, but in my
experience they do.
1 When Curses.pm is used, and after Perl exits, text does not appear on the screen.
2 Before Curses.pm is used, stty returns icanon echo.
3 After Curses.pm is used, stty returns -canon -echo.
4 According to stty's man page, -canon and -echo prevent text from appearing on the screen.
5 Now, I add `stty icanon echo`to my scripts.
6 Now, before and after Curses.pm is used, stty returns icanon echo.
7 Now, before and after Curses.pm is used, text is echoed on the terminal as it normally does.