diff -Naurd ../nethack-3.4.1/sys/vms/install.com ./sys/vms/install.com --- ../nethack-3.4.1/sys/vms/install.com Sun Feb 23 14:43:39 2003 +++ ./sys/vms/install.com Mon Sep 1 14:33:32 2003 @@ -17,7 +17,7 @@ $ $ ! note: all filespecs contain some punctuation, $ ! to avoid inadvertent logical name interaction -$ play_files = "PERM.,RECORD.,LOGFILE." +$ play_files = "PERM.,RECORD.,LOGFILE.,PANICLOG." $ help_files = "HELP.,HH.,CMDHELP.,WIZHELP.,OPTHELP.,HISTORY.,LICENSE." $ data_files = "DATA.,RUMORS.,ORACLES.,OPTIONS.,QUEST.DAT" $ guidebook = "[.doc]Guidebook.txt" @@ -48,6 +48,8 @@ $ dlb := $sys$disk:[-.util]dlb $ milestone = "write sys$output f$fao("" !5%T "",0)," $ if p3.nes."" .and. f$edit(p4,"UPCASE").nes."VERBOSE" then milestone = "!" +$ echo = "write sys$output" +$ warn = echo !could be "write sys$error" $! $! make sure we've got a playground location $ gamedir := 'gamedir' @@ -108,9 +110,11 @@ $ g = f$element(i,",",dlb_files) $ if g.eqs."," then goto ddone $ wild = f$locate("*",g).ne.f$locate("%",g) +$ fcnt = 0 $floop: $ f = f$search(g) $ if f.eqs."" then goto fdone +$ fcnt = fcnt + 1 $! strip device, directory, and version from name $ f = f$parse(f,,,"NAME") + f$parse(f,,,"TYPE") $! strip trailing dot, if present, and change case @@ -120,6 +124,7 @@ $ write pfile$ f $ if wild then goto floop $fdone: +$ if fcnt.eq.0 then warn "? no file(s) found for """,g,"""" $ i = i + 1 $ goto dloop $ddone: @@ -223,7 +228,7 @@ $ milestone "" $ define/nolog nethackdir 'gamedir' $ define/nolog hackdir 'gamedir' -$ write sys$output - +$ echo - f$fao("!/ Nethack installation complete. !/ Playground is !AS !/",gamedir) $ exit $ @@ -244,14 +249,17 @@ $ if g.eqs."," then goto ldone $ g = p2 + g $ wild = f$locate("*",g).ne.f$locate("%",g) +$ fcnt = 0 $eloop: $ f = f$search(g) $ if f.eqs."" then goto edone +$ fcnt = fcnt + 1 $ f = f - f$parse(f,,,"VERSION") $ e = f$parse(f,,,"NAME") + f$parse(f,,,"TYPE") $ call copy_file 'f' 'gamedir''e' "''p3'" $ if wild then goto eloop $edone: +$ if fcnt.eq.0 then warn "? no file(s) found for """,g,"""" $ i = i + 1 $ goto lloop $ldone: diff -Naurd ../nethack-3.4.1/sys/vms/Install.vms ./sys/vms/Install.vms --- ../nethack-3.4.1/sys/vms/Install.vms Sun Feb 23 14:43:39 2003 +++ ./sys/vms/Install.vms Mon Sep 1 14:33:32 2003 @@ -1,4 +1,4 @@ - Instructions for Installing NetHack 3.4.1 + Instructions for Installing NetHack 3.4.2 on a VMS (aka OpenVMS) system ========================================= @@ -44,6 +44,8 @@ [.sys .share .sounds] -- AIFF format audio files [.sys .unix] -- guess :-) [.sys .wince] -- Windows CE + [.sys .wince .ceinc] -- more WinCE + [.sys .wince .ceinc .sys] -- ditto [.sys .winnt] -- Windows NT [.win .gem] -- window routines for Atari/GEM [.win .gnome] -- window routines for Unix/GNOME @@ -134,10 +136,10 @@ Notes: -1. Save files and bones files from versions 3.4.0 will work with 3.4.1; - those from earlier versions will not. The scoreboard file (RECORD) - from 3.4.0 or 3.3.x will also work; one from version 3.2.x is - slightly different format but should be compatible. +1. Save files and bones files from versions 3.4.0 and 3.4.1 will work + with 3.4.2; those from earlier versions will not. The scoreboard + file (RECORD) from 3.4.x or 3.3.x will also work; one from version + 3.2.x is slightly different format but should be compatible. 2. To specify user-preference options in your environment, define the logical name NETHACKOPTIONS to have the value of a quoted string @@ -474,4 +476,4 @@ Always include version information for NetHack, the operating system, and the C compiler used. -10-FEB-2003 +21-AUG-2003 diff -Naurd ../nethack-3.4.1/sys/vms/Makefile.src ./sys/vms/Makefile.src --- ../nethack-3.4.1/sys/vms/Makefile.src Sun Feb 23 14:43:40 2003 +++ ./sys/vms/Makefile.src Mon Sep 1 14:33:32 2003 @@ -90,7 +90,7 @@ # Other things that have to be reconfigured are in vmsconf.h, # and config.h -VERSION = 3.4.1 +VERSION = 3.4.2 MAKEDEFS = $(UTL)makedefs.exe; diff -Naurd ../nethack-3.4.1/sys/vms/Makefile.top ./sys/vms/Makefile.top --- ../nethack-3.4.1/sys/vms/Makefile.top Sun Feb 23 14:43:40 2003 +++ ./sys/vms/Makefile.top Mon Sep 1 14:33:32 2003 @@ -1,5 +1,5 @@ # NetHack Makefile (VMS) - top level for making & installing everything. -# SCCS Id: @(#)Makefile.top 3.4 1996/03/02 +# SCCS Id: @(#)Makefile.top 3.4 2003/05/19 # Copy this file to Makefile.; edit the appropriate values for # GAMEDIR ("playground" location) and GAMEOWNER (UIC or identifier @@ -26,7 +26,7 @@ GAMEDIR = # defaults to [.play] GAMEOWNER = # defaults to installer's UIC # these are the distributed values in [.include]vmsconf.h -#GAMEDIR = DISK$USERS:[GAMES.NETHACK.3-3-0.PLAY] +#GAMEDIR = DISK$USERS:[GAMES.NETHACK.3-4-2.PLAY] #GAMEOWNER = NHWIZARD # just about everything, except installation diff -Naurd ../nethack-3.4.1/sys/vms/vmsbuild.com ./sys/vms/vmsbuild.com --- ../nethack-3.4.1/sys/vms/vmsbuild.com Sun Feb 23 14:43:40 2003 +++ ./sys/vms/vmsbuild.com Mon Sep 1 14:33:32 2003 @@ -1,5 +1,5 @@ $ ! vms/vmsbuild.com -- compile and link NetHack 3.4.* [pr] -$ version_number = "3.4.1" +$ version_number = "3.4.2" $ ! $ ! usage: $ ! $ set default [.src] !or [-.-.src] if starting from [.sys.vms] diff -Naurd ../nethack-3.4.1/include/vmsconf.h ./include/vmsconf.h --- ../nethack-3.4.1/include/vmsconf.h Sun Feb 23 14:43:23 2003 +++ ./include/vmsconf.h Mon Sep 1 14:33:32 2003 @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)vmsconf.h 3.4 2001/12/07 */ +/* SCCS Id: @(#)vmsconf.h 3.4 2003/05/19 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -16,7 +16,7 @@ * extra room for patching longer values into an existing executable. */ #define Local_WIZARD "NHWIZARD\0\0\0\0" -#define Local_HACKDIR "DISK$USERS:[GAMES.NETHACK.3-3-0.PLAY]\0\0\0\0\0\0\0\0" +#define Local_HACKDIR "DISK$USERS:[GAMES.NETHACK.3-4-2.PLAY]\0\0\0\0\0\0\0\0" /* * This section cleans up the stuff done in config.h so that it