Subject: games/warp configure bug, .joverc update (#226) Index: games/warp/*.SH,new/jove/doc/system.rc 2.11BSD Description: The 'warp' configuration scripts use the "." command to source additional scripts. "." is normally not part of the search path when running as 'root' and the configuration process fails. Using 'jove' on a 11/44 console would result in stopping the system. Repeat-By: Run the 'warp' configuration process (./Configure) without '.' in the search path. Note the "not found" errors for config.sh. Run 'jove' on an 11/44's console. Hit ^P (Control-P) to go up a line. Note that you have just entered console ODT. Fix: The sh '.' command uses the search path. If '.' is not in the patch the '.' command fails. The fix is to prefix the sourced file with "./" to specify the current directory. For jove the change is a one line addition to the joverc file to enable the ANSI key codes. This makes it possible to use the arrow/function keys to move up a line rather than ^P (which is not a nice thing to do on an 11/44). Thanks to Torsten Hippe for contributing the joverc suggestion. To apply this update cut where indicated and save to a file (/tmp/226) and then: patch -p0 < /tmp/226 Nothing needs to be recompiled at this time. ======================cut here===================== *** /usr/src/games/warp/Makefile.SH.old Mon Jan 25 19:52:00 1993 --- /usr/src/games/warp/Makefile.SH Sun Jan 22 17:59:09 1995 *************** *** 6,12 **** ln ../../../config.sh . || \ (echo "Can't find config.sh."; exit 1) fi ! . config.sh ;; esac echo "Extracting Makefile (with variable substitutions)" --- 6,12 ---- ln ../../../config.sh . || \ (echo "Can't find config.sh."; exit 1) fi ! . ./config.sh ;; esac echo "Extracting Makefile (with variable substitutions)" *** /usr/src/games/warp/makedepend.SH.old Fri Jun 19 10:08:59 1987 --- /usr/src/games/warp/makedepend.SH Sun Jan 22 18:00:05 1995 *************** *** 6,12 **** ln ../../../config.sh . || \ (echo "Can't find config.sh."; exit 1) fi ! . config.sh ;; esac case "$0" in --- 6,12 ---- ln ../../../config.sh . || \ (echo "Can't find config.sh."; exit 1) fi ! . ./config.sh ;; esac case "$0" in *** /usr/src/new/jove/doc/system.rc.old Sun Mar 6 12:55:43 1988 --- /usr/src/new/jove/doc/system.rc Thu Feb 2 20:42:06 1995 *************** *** 6,8 **** --- 6,9 ---- bind-to-key pause-jove ^[s process-bind-to-key interrupt-process ^C process-bind-to-key process-newline ^M + bind-to-key ansi-codes ^[[ *** /usr/new/lib/jove/.joverc.old Wed Jan 18 20:14:42 1995 --- /usr/new/lib/jove/.joverc Thu Feb 2 20:41:20 1995 *************** *** 6,8 **** --- 6,9 ---- bind-to-key pause-jove ^[s process-bind-to-key interrupt-process ^C process-bind-to-key process-newline ^M + bind-to-key ansi-codes ^[[ *** /VERSION.old Tue Jan 31 21:43:04 1995 --- /VERSION Tue Jan 31 21:43:19 1995 *************** *** 1,4 **** ! Current Patch Level: 225 2.11 BSD ============ --- 1,4 ---- ! Current Patch Level: 226 2.11 BSD ============