#!/bin/sh
#
# (C) 1994 Free Software Assiociation of Germany
#
#  Sample script that demontrates the use of quest & Answer
#
#
###########################################################

if [ $# = 0 ]
then
	TXT_FILE=`Answer -g +300+300 -title Edit File \
		 -label "Enter Filename" -hno -cstr "Abort"\
		 -ostr "Edit" -prev "$MAN_PAGE"`
else
	TXT_FILE=$1
fi

xterm -xrm "*iconName: vi [ $TXT_FILE ]" -e vi $TXT_FILE


