
echo
echo "Installing KEDIT"
echo "Please wait........."
echo
echo "Copying help files..."
mkdir /usr/share/kedit
cp -f k1.cpp /usr/share/kedit/
cp -f newhelp.cpp /usr/share/kedit/
cp -f *.hlp /usr/share/kedit/
cp -f krishna.h /usr/share/kedit/
cp -f kedit.1.gz /usr/share/man/man1
echo
echo "Compiling source code..."
c++ -lpanel -lcurses -o /bin/kedit /usr/share/kedit/k1.cpp /usr/share/kedit/newhelp.cpp
echo
echo "Installation complete."
echo
echo "You can run the editor by typing 'kedit'."
echo "Type 'man kedit' to read the man page"

