Fix for sr #3117, (https://gna.org/support/?3117) - Functionality to inspect interactively after running script - The equivalence to python -i
It should be turned on for the script so you see the "relax>" messages, and then turned off again for the prompt so that
the user function text and "relax>" is not printed out twice.