How can I tell, from a Korn shell script, if the script is running in a vi sub-shell?<br><br>I have a script that has a problem when run from a vi subshell, and I'd like to check for that condition and just issue an error message.<br>
(I know that's not the solution to the problem, but the thing that fails is being replaced, so this is a temporary "fix")<br><br>Thank you<br clear="all"><br>-- <br>There are 10 types of people in the world: those who understand binary, and those who don't. :-)