#! /bin/sh
#
# teach-ce.  Generated from teach-ce.in by configure.
#
# teach-ce -- a script that sort of emulates Twenex Emacs' teach-emacs mode.
#
# Chet Ramey
# Copyright (c) 1987, 1988, 1989 by Chester Ramey.
#
# Permission is hereby granted to copy, reproduce, redistribute or
# otherwise use this software subject to the following: 
# 	1) That there be no monetary profit gained specifically from 
#	   the use or reproduction of this software.
# 	2) This software may not be sold, rented, traded or otherwise 
#	   marketed.
# 	3) This copyright notice must be included prominently in any copy
# 	   made of this software.
#
# The author makes no claims as to the fitness or correctness of
# this software for any use whatsoever, and it is provided as is. 
# Any use of this software is at the user's own risk.
#
unset HISTFILE

trap 'rm -f $HOME/TUTORIAL*' 0 1 2 3 6 15

prefix=/usr/pkg
exec_prefix=${prefix}

case "$PATH" in
*${exec_prefix}/bin*)	;;
*)		PATH=$PATH:${exec_prefix}/bin ;;
esac

export PATH

LN="/bin/ln -s"

TUTORIAL=/usr/pkg/share/doc/ce/TUTORIAL
CE="${exec_prefix}/bin/ce"

$LN $TUTORIAL $HOME/TUTORIAL

$CE -b '*TUTORIAL*' $HOME/TUTORIAL

exit 0
