diff -rc tf-40s1/src/tf.1.catman tf-40s1-build/src/tf.1.catman
*** tf-40s1/src/tf.1.catman	Sat Mar  6 22:43:25 1999
--- tf-40s1-build/src/tf.1.catman	Wed Jan 23 12:41:51 2002
***************
*** 1,7 ****
  
  
  
! TF(1)                                                       TF(1)
  
  
  NNAAMMEE
--- 1,7 ----
  
  
  
! TF(6)                                                       TF(6)
  
  
  NNAAMMEE
***************
*** 67,73 ****
  
  
  
! TF(1)                                                       TF(1)
  
  
         -f     Do not load any personal configuration  file.   The
--- 67,73 ----
  
  
  
! TF(6)                                                       TF(6)
  
  
         -f     Do not load any personal configuration  file.   The
***************
*** 133,139 ****
  
  
  
! TF(1)                                                       TF(1)
  
  
         Send text previously received from the MUD to the MUD,  or
--- 133,139 ----
  
  
  
! TF(6)                                                       TF(6)
  
  
         Send text previously received from the MUD to the MUD,  or
***************
*** 199,205 ****
  
  
  
! TF(1)                                                       TF(1)
  
  
         design and maintenance of _T_F in July 1991,  and  continues
--- 199,205 ----
  
  
  
! TF(6)                                                       TF(6)
  
  
         design and maintenance of _T_F in July 1991,  and  continues
***************
*** 265,271 ****
  
  
  
! TF(1)                                                       TF(1)
  
  
         Added type argument to WORLD and LOGIN hooks.
--- 265,271 ----
  
  
  
! TF(6)                                                       TF(6)
  
  
         Added type argument to WORLD and LOGIN hooks.
diff -rc tf-40s1/src/tf.1.nroffman tf-40s1-build/src/tf.1.nroffman
*** tf-40s1/src/tf.1.nroffman	Sat Mar  6 22:43:25 1999
--- tf-40s1-build/src/tf.1.nroffman	Wed Jan 23 12:42:03 2002
***************
*** 1,5 ****
  .\" $Id: tf.1.nroffman,v 34000.3 1994/08/29 00:15:29 hawkeye Exp $
! .TH TF 1 LOCAL
  .SH NAME
  tf \- TinyFugue, a MUD client
  .SH SYNOPSIS
--- 1,5 ----
  .\" $Id: tf.1.nroffman,v 34000.3 1994/08/29 00:15:29 hawkeye Exp $
! .TH TF 6 LOCAL
  .SH NAME
  tf \- TinyFugue, a MUD client
  .SH SYNOPSIS
diff -rc tf-40s1/unix/Config tf-40s1-build/unix/Config
*** tf-40s1/unix/Config	Sat Mar  6 22:43:28 1999
--- tf-40s1-build/unix/Config	Wed Jan 23 12:41:01 2002
***************
*** 33,41 ****
  #   even if an old version is currently in use.  You can remove
  #   the old version manually later when it is no longer in use.
  
! # TF="/usr/local/bin/tf-${TFVER}"
! # LIBDIR="/usr/local/lib/tf-${TFVER}-lib"
! # SYMLINK="/usr/local/bin/tf"
  
  
  ### Manual Page.
--- 33,41 ----
  #   even if an old version is currently in use.  You can remove
  #   the old version manually later when it is no longer in use.
  
! TF="/usr/games/tf-${TFVER}"
! LIBDIR="/usr/share/games/tf-${TFVER}-lib"
! SYMLINK="/usr/games/tf"
  
  
  ### Manual Page.
***************
*** 44,51 ****
  # uses nroff format; set MANTYPE=cat if your man uses pre-formatted
  # vt100 "catman" pages.  Default is "cat".
  
! # MANTYPE="nroff"
! # MANPAGE="/usr/local/man/man1/tf.1"
  
  
  ### Flags.
--- 44,51 ----
  # uses nroff format; set MANTYPE=cat if your man uses pre-formatted
  # vt100 "catman" pages.  Default is "cat".
  
! MANTYPE="nroff"
! MANPAGE="/usr/share/man/man6/tf.6"
  
  
  ### Flags.
diff -rc tf-40s1/unix/unix.mak tf-40s1-build/unix/unix.mak
*** tf-40s1/unix/unix.mak	Sat Mar  6 22:43:28 1999
--- tf-40s1-build/unix/unix.mak	Wed Jan 23 12:41:01 2002
***************
*** 8,13 ****
--- 8,14 ----
  #
  #  DO NOT EDIT THIS FILE.
  #  Any configuration changes should be made to the Config file.
+ # Sorry, Ken!
  ########################################################################
  
  #
***************
*** 19,34 ****
  BUILDERS   = Makefile
  
  
! install:  _failmsg _all $(TF) LIBRARY $(MANPAGE) $(SYMLINK)
  	@echo '#####################################################' > exitmsg
  	@echo '## TinyFugue installation successful.' >> exitmsg
  	@echo "## You can safely delete everything in `cd ..; pwd`". >> exitmsg
! 	@DIR=`echo $(TF) | sed 's;/[^/]*$$;;'`; \
  	echo ":$(PATH):" | egrep ":$${DIR}:" >/dev/null 2>&1 || { \
  	    echo ; \
  	    echo "Note:  $$DIR is not in your PATH."; \
  	    echo "To run tf, you will need to type its path name"; \
! 	    echo "(e.g., $(TF)),"; \
  	    echo "or add $$DIR to your PATH."; \
  	} >> exitmsg
  
--- 20,35 ----
  BUILDERS   = Makefile
  
  
! install:  _failmsg _all $(ROOT)$(TF) LIBRARY $(ROOT)$(MANPAGE) $(ROOT)$(SYMLINK)
  	@echo '#####################################################' > exitmsg
  	@echo '## TinyFugue installation successful.' >> exitmsg
  	@echo "## You can safely delete everything in `cd ..; pwd`". >> exitmsg
! 	@DIR=`echo $(ROOT)$(TF) | sed 's;/[^/]*$$;;'`; \
  	echo ":$(PATH):" | egrep ":$${DIR}:" >/dev/null 2>&1 || { \
  	    echo ; \
  	    echo "Note:  $$DIR is not in your PATH."; \
  	    echo "To run tf, you will need to type its path name"; \
! 	    echo "(e.g., $(ROOT)$(TF)),"; \
  	    echo "or add $$DIR to your PATH."; \
  	} >> exitmsg
  
***************
*** 64,106 ****
  #	@# ULTRIX's sh errors here if strip isn't found, despite "true".
  	-test -z "$(STRIP)" || $(STRIP) tf$(X) || true
  
! install_TF $(TF): tf$(X) $(BUILDERS)
! 	-@rm -f $(TF)
! 	cp tf$(X) $(TF)
! 	chmod $(MODE) $(TF)
  
! SYMLINK $(SYMLINK): $(TF)
! 	test -z "$(SYMLINK)" || { rm -f $(SYMLINK) && ln -s $(TF) $(SYMLINK); }
  
! LIBRARY $(LIBDIR): ../tf-lib/tf-help ../tf-lib/tf-help.idx
  	@echo '## Creating library directory...'
  #	@# Overly simplified shell commands, to avoid problems on ultrix
! 	-@test -n "$(LIBDIR)" || echo "LIBDIR is undefined.  Check unix/Config."
! 	test -n "$(LIBDIR)"
! 	test -d "$(LIBDIR)" || mkdir $(LIBDIR)
! 	-@test -d "$(LIBDIR)" || echo "Can't make $(LIBDIR) directory.  See if"
! 	-@test -d "$(LIBDIR)" || echo "there is already a file with that name."
! 	test -d "$(LIBDIR)"
  #
! #	@#rm -f $(LIBDIR)/*;  # wrong: this would remove local.tf, etc.
  	@echo '## Copying library files...'
  	cd ../tf-lib; \
  	for f in *; do test -f $$f && files="$$files $$f"; done; \
! 	( cd $(LIBDIR); rm -f $$files tf.help tf.help.index; ); \
! 	cp $$files $(LIBDIR); \
! 	cd $(LIBDIR); \
  	chmod $(MODE) $$files; chmod ugo-wx $$files
! 	-rm -f $(LIBDIR)/CHANGES 
! 	cp ../CHANGES $(LIBDIR)
! 	chmod $(MODE) $(LIBDIR)/CHANGES; chmod ugo-wx $(LIBDIR)/CHANGES
! 	chmod $(MODE) $(LIBDIR)
! 	-@cd $(LIBDIR); old=`ls replace.tf 2>/dev/null`; \
  	if [ -n "$$old" ]; then \
! 	    echo "## WARNING: Obsolete files found in $(LIBDIR): $$old"; \
  	fi
  	@echo '## Creating links so old library names still work...'
  #	@# note: ln -sf isn't portable.
! 	@cd $(LIBDIR); \
  	rm -f bind-bash.tf;    ln -s  kb-bash.tf   bind-bash.tf;    \
  	rm -f bind-emacs.tf;   ln -s  kb-emacs.tf  bind-emacs.tf;   \
  	rm -f completion.tf;   ln -s  complete.tf  completion.tf;   \
--- 65,107 ----
  #	@# ULTRIX's sh errors here if strip isn't found, despite "true".
  	-test -z "$(STRIP)" || $(STRIP) tf$(X) || true
  
! install_TF $(ROOT)$(TF): tf$(X) $(BUILDERS)
! 	-@rm -f $(ROOT)$(TF)
! 	cp tf$(X) $(ROOT)$(TF)
! 	chmod $(MODE) $(ROOT)$(TF)
  
! SYMLINK $(ROOT)$(SYMLINK): $(ROOT)$(TF)
! 	test -z "$(ROOT)$(SYMLINK)" || { rm -f $(ROOT)$(SYMLINK) && ln -s $(ROOT)$(TF) $(ROOT)$(SYMLINK); }
  
! LIBRARY $(ROOT)$(LIBDIR): ../tf-lib/tf-help ../tf-lib/tf-help.idx
  	@echo '## Creating library directory...'
  #	@# Overly simplified shell commands, to avoid problems on ultrix
! 	-@test -n "$(ROOT)$(LIBDIR)" || echo "LIBDIR is undefined.  Check unix/Config."
! 	test -n "$(ROOT)$(LIBDIR)"
! 	test -d "$(ROOT)$(LIBDIR)" || mkdir $(ROOT)$(LIBDIR)
! 	-@test -d "$(ROOT)$(LIBDIR)" || echo "Can't make $(ROOT)$(LIBDIR) directory.  See if"
! 	-@test -d "$(ROOT)$(LIBDIR)" || echo "there is already a file with that name."
! 	test -d "$(ROOT)$(LIBDIR)"
  #
! #	@#rm -f $(ROOT)$(LIBDIR)/*;  # wrong: this would remove local.tf, etc.
  	@echo '## Copying library files...'
  	cd ../tf-lib; \
  	for f in *; do test -f $$f && files="$$files $$f"; done; \
! 	( cd $(ROOT)$(LIBDIR); rm -f $$files tf.help tf.help.index; ); \
! 	cp $$files $(ROOT)$(LIBDIR); \
! 	cd $(ROOT)$(LIBDIR); \
  	chmod $(MODE) $$files; chmod ugo-wx $$files
! 	-rm -f $(ROOT)$(LIBDIR)/CHANGES 
! 	cp ../CHANGES $(ROOT)$(LIBDIR)
! 	chmod $(MODE) $(ROOT)$(LIBDIR)/CHANGES; chmod ugo-wx $(ROOT)$(LIBDIR)/CHANGES
! 	chmod $(MODE) $(ROOT)$(LIBDIR)
! 	-@cd $(ROOT)$(LIBDIR); old=`ls replace.tf 2>/dev/null`; \
  	if [ -n "$$old" ]; then \
! 	    echo "## WARNING: Obsolete files found in $(ROOT)$(LIBDIR): $$old"; \
  	fi
  	@echo '## Creating links so old library names still work...'
  #	@# note: ln -sf isn't portable.
! 	@cd $(ROOT)$(LIBDIR); \
  	rm -f bind-bash.tf;    ln -s  kb-bash.tf   bind-bash.tf;    \
  	rm -f bind-emacs.tf;   ln -s  kb-emacs.tf  bind-emacs.tf;   \
  	rm -f completion.tf;   ln -s  complete.tf  completion.tf;   \
***************
*** 126,135 ****
  	$(MAKE) -f ../unix/unix.mak CC='$(CC)' CFLAGS='$(FLAGS)' makehelp
  	./makehelp < ../tf-lib/tf-help > ../tf-lib/tf-help.idx
  
! MANPAGE $(MANPAGE): $(BUILDERS) tf.1.$(MANTYPE)man
! 	cp tf.1.$(MANTYPE)man $(MANPAGE)
! 	chmod $(MODE) $(MANPAGE)
! 	chmod ugo-x $(MANPAGE)
  
  tf.1.catman:  tf.1.nroffman
  	TERM=vt100; nroff -man tf.1.nroffman > tf.1.catman
--- 127,136 ----
  	$(MAKE) -f ../unix/unix.mak CC='$(CC)' CFLAGS='$(FLAGS)' makehelp
  	./makehelp < ../tf-lib/tf-help > ../tf-lib/tf-help.idx
  
! MANPAGE $(ROOT)$(MANPAGE): $(BUILDERS) tf.1.$(MANTYPE)man
! 	cp tf.1.$(MANTYPE)man $(ROOT)$(MANPAGE)
! 	chmod $(MODE) $(ROOT)$(MANPAGE)
! 	chmod ugo-x $(ROOT)$(MANPAGE)
  
  tf.1.catman:  tf.1.nroffman
  	TERM=vt100; nroff -man tf.1.nroffman > tf.1.catman
***************
*** 142,152 ****
  dist: tf.1.catman ../tf-lib/tf-help.idx
  
  uninstall:
! 	@echo "Remove $(LIBDIR) $(TF) $(MANPAGE)"
  	@echo "Is this okay? (y/n)"
  	@read response; test "$$response" = "y"
! 	rm -f $(TF) $(MANPAGE)
! 	rm -rf $(LIBDIR)
  
  clean distclean cleanest:
  	cd ..; ./unixmake $@
--- 143,153 ----
  dist: tf.1.catman ../tf-lib/tf-help.idx
  
  uninstall:
! 	@echo "Remove $(ROOT)$(LIBDIR) $(ROOT)$(TF) $(ROOT)$(MANPAGE)"
  	@echo "Is this okay? (y/n)"
  	@read response; test "$$response" = "y"
! 	rm -f $(ROOT)$(TF) $(ROOT)$(MANPAGE)
! 	rm -rf $(ROOT)$(LIBDIR)
  
  clean distclean cleanest:
  	cd ..; ./unixmake $@

