home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / live / bin / vi < prev    next >
Text File  |  1998-10-30  |  205b  |  12 lines

  1. #!/bin/sh
  2.  
  3. if [ -x /usr/bin/vi ]; then
  4.     exec /usr/bin/vi ${1+"$@"}
  5. else
  6.     if [ ${DISPLAY}MT = MT ]; then
  7.     ae -f /etc/ae/ae2vi.rc ${1+"$@"}
  8.     else
  9.         ae -f /etc/ae/ae2vix.rc ${1+"$@"}
  10.     fi
  11. fi
  12.