#!/bin/sh

# This is a little wrapper shell script which runs elvis with 
# the GUI set to "termcap" (i.e. for using in a console).

case $0
in
       *ex) mode="-e";;
    *input) mode="-i";;
     *view) mode="-R";;
esac

ELVISGUI="termcap" exec /usr/bin/elvis $mode "$@"
