#! /bin/bash
#
# 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.
#

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

PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin
export PATH

TUTORIAL=/usr/local/lib/ce/TUTORIAL

unset HISTFILE

LN="/bin/ln -s"
CE="/usr/local/bin/ce"

$LN $TUTORIAL $HOME/TUTORIAL

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

exit 0
