From: Perry G. <pe...@st...> - 2004-12-12 04:02:23
|
In thinking about the ioff(), ion() approach it occurs to me that it may not be quite so simple for scripts. I think a common desire is for a script or function to turn off interactive mode if it is on, but at the end, restore the previous interactive state. In this case a push/pop approach to interactive mode may be more appropriate rather than stop/start. In particular, if interactive mode happended to be off, you wouldn't want to turn it on at the end of the script. Perry |