If your vi can't turn off modeline commands, you should be safe[r] if you set up rvi (restricted vi) and nothing dangerous in it's PATH to execute. If your vi recognizes "rvi", that is... Merlyn LeRoy