- added PS1 check routine for interactive terminal.
- added "set paste"