[Pkg-nethack-devel] nethack/sys/vms Install.vms,1.1.1.1,1.2 Makefile.src,1.1.1.1,1.2 vmsbuild.com,1.1.1.1,1.2 vmsmain.c,1.1.1.1,1.2 vmstty.c,1.1.1.1,1.2
Joshua Kwan
joshk-guest@quantz.debian.org
Tue, 09 Dec 2003 16:14:46 +0000
- Previous message: [Pkg-nethack-devel] nethack/sys/unix Makefile.src,1.1.1.1,1.2 Makefile.utl,1.1.1.1,1.2 README.linux,1.1.1.1,1.2 unixmain.c,1.1.1.1,1.2 unixunix.c,1.1.1.1,1.2
- Next message: [Pkg-nethack-devel] nethack/sys/msdos msdoshlp.txt,1.1.1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pkg-nethack/nethack/sys/vms
In directory quantz:/tmp/cvs-serv9687/sys/vms
Modified Files:
Install.vms Makefile.src vmsbuild.com vmsmain.c vmstty.c
Log Message:
Merge Nethack 3.4.3 upstream source.
Index: vmsbuild.com
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/sys/vms/vmsbuild.com,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- vmsbuild.com 7 Oct 2003 19:00:36 -0000 1.1.1.1
+++ vmsbuild.com 9 Dec 2003 16:14:44 -0000 1.2
@@ -1,5 +1,5 @@
$ ! vms/vmsbuild.com -- compile and link NetHack 3.4.* [pr]
-$ version_number = "3.4.2"
+$ version_number = "3.4.3"
$ !
$ ! usage:
$ ! $ set default [.src] !or [-.-.src] if starting from [.sys.vms]
Index: vmstty.c
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/sys/vms/vmstty.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- vmstty.c 7 Oct 2003 19:00:36 -0000 1.1.1.1
+++ vmstty.c 9 Dec 2003 16:14:44 -0000 1.2
@@ -1,4 +1,4 @@
-/* SCCS Id: @(#)vmstty.c 3.4 2002/08/21 */
+/* SCCS Id: @(#)vmstty.c 3.4 2003/09/18 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
/* tty.c - (VMS) version */
@@ -106,12 +106,20 @@
vms_getchar()
{
short key;
-
#ifdef USE_QIO_INPUT
struct _rd_iosb iosb;
unsigned long sts;
unsigned char kb_buf;
+#else /* SMG input */
+ static volatile int recurse = 0; /* SMG is not AST re-entrant! */
+#endif
+
+ if (program_state.done_hup) {
+ /* hangup has occurred; do not attempt to get further user input */
+ return ESC;
+ }
+#ifdef USE_QIO_INPUT
if (inc > 0) {
/* we have buffered character(s) from previous read */
kb_buf = *inp++;
@@ -146,8 +154,6 @@
key = getchar();
#else /*!USE_QIO_INPUT*/
- static volatile int recurse = 0; /* SMG is not AST re-entrant! */
-
if (recurse++ == 0 && kb != 0) {
smg$read_keystroke(&kb, &key);
switch (key) {
Index: vmsmain.c
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/sys/vms/vmsmain.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- vmsmain.c 7 Oct 2003 19:00:36 -0000 1.1.1.1
+++ vmsmain.c 9 Dec 2003 16:14:44 -0000 1.2
@@ -1,4 +1,4 @@
-/* SCCS Id: @(#)vmsmain.c 3.4 2001/07/27 */
+/* SCCS Id: @(#)vmsmain.c 3.4 2003/10/16 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
/* main.c - VMS NetHack */
@@ -183,7 +183,7 @@
*/
boolean remember_wiz_mode = wizard;
#endif
- const char *fq_save = fqname(SAVEF, SAVEPREFIX, 0);
+ const char *fq_save = fqname(SAVEF, SAVEPREFIX, 1);
(void) chmod(fq_save,0); /* disallow parallel restores */
(void) signal(SIGINT, (SIG_RET_TYPE) done1);
Index: Install.vms
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/sys/vms/Install.vms,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Install.vms 7 Oct 2003 19:00:35 -0000 1.1.1.1
+++ Install.vms 9 Dec 2003 16:14:44 -0000 1.2
@@ -1,4 +1,4 @@
- Instructions for Installing NetHack 3.4.2
+ Instructions for Installing NetHack 3.4.3
on a VMS (aka OpenVMS) system
=========================================
@@ -7,7 +7,7 @@
1. Building NetHack requires a C compiler (either Compaq C, DEC C,
VAX C, or GNU C) and VMS version V4.6 or later (but see note #9).
- This release has been tested with Compaq C V6.4 on Alpha/VMS V7.1
+ This release has been tested with Compaq C V6.4 on Alpha/VMS V7.3-1
and with VAX C V3.2 and GNU C 2.7.1 on VAX/VMS V5.5-2. The build
procedure (vmsbuild.com) should not need to be modified; it accepts
an option for selecting the compiler, and it can detect different
@@ -136,8 +136,8 @@
Notes:
-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
+1. Save files and bones files from versions 3.4.0, 3.4.1 and 3.4.2 will
+ work with 3.4.3; 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.
@@ -476,4 +476,4 @@
Always include version information for NetHack, the operating system,
and the C compiler used.
-21-AUG-2003
+20-OCT-2003
Index: Makefile.src
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/sys/vms/Makefile.src,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Makefile.src 7 Oct 2003 19:00:35 -0000 1.1.1.1
+++ Makefile.src 9 Dec 2003 16:14:44 -0000 1.2
@@ -90,7 +90,7 @@
# Other things that have to be reconfigured are in vmsconf.h,
# and config.h
-VERSION = 3.4.2
+VERSION = 3.4.3
MAKEDEFS = $(UTL)makedefs.exe;
@@ -368,7 +368,7 @@
dog.obj : dog.c $(HACK_H) $(INC)edog.h
dogmove.obj : dogmove.c $(HACK_H) $(INC)mfndpos.h $(INC)edog.h
dokick.obj : dokick.c $(HACK_H) $(INC)eshk.h
-dothrow.obj : dothrow.c $(HACK_H)
+dothrow.obj : dothrow.c $(HACK_H) $(INC)edog.h
drawing.obj : drawing.c $(HACK_H) $(INC)tcap.h
dungeon.obj : dungeon.c $(HACK_H) $(INC)dgn_file.h $(INC)dlb.h
eat.obj : eat.c $(HACK_H)
- Previous message: [Pkg-nethack-devel] nethack/sys/unix Makefile.src,1.1.1.1,1.2 Makefile.utl,1.1.1.1,1.2 README.linux,1.1.1.1,1.2 unixmain.c,1.1.1.1,1.2 unixunix.c,1.1.1.1,1.2
- Next message: [Pkg-nethack-devel] nethack/sys/msdos msdoshlp.txt,1.1.1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]