#!/bin/sh
#
#  edivisual -- use Edith as an alternative visual editor
#
#  This  file is (C) 1997 Annius Groenink/ZFC,  and is part of the Edith
#  Pro for X11 package.  Not to be distributed separately.
#

if [ "$DISPLAY" = "" ]
then
   if [ "$EDITOR" = "" -o "$EDITOR" = "edivisual" ]
   then
      EDITOR="vi"
   fi

   $EDITOR $*
else
   edith -w$*
fi
