Merge recent changes into NetHack-3.7
This commit is contained in:
6
README
6
README
@@ -109,8 +109,8 @@ Please read items (1), (2) and (3) BEFORE doing anything with your new code.
|
||||
Intel Pentium or better (or clone) running Linux, BSDI, or
|
||||
Windows (7 through 10)
|
||||
Intel 80386 or greater (or clone) boxes running Linux, or BSDI
|
||||
Mac OS X 10.11 (follow the instructions in sys/unix, not sys/mac)
|
||||
OpenVMS (aka VMS) V8.4 on Alpha and on Integrity/Itanium/IA64
|
||||
Mac OS X 10.11 (follow the instructions in sys/unix, not sys/mac)
|
||||
OpenVMS (aka VMS) V8.4 on Alpha and on Integrity/Itanium/IA64
|
||||
|
||||
Instructions have been provided by way of community contribution on:
|
||||
msdos protected mode using djgpp including a Linux-host djgpp
|
||||
@@ -148,7 +148,7 @@ Please read items (1), (2) and (3) BEFORE doing anything with your new code.
|
||||
Intel x86 running a version of Windows prior to XP.
|
||||
Mips M2000 running RiscOS 4.1
|
||||
NeXT running Mach (using BSD configuration)
|
||||
Palm Size PC 1.1 devices running Windows CE 2.11
|
||||
Palm Size PC 1.1 devices running Windows CE 2.11
|
||||
Pocket PC devices running Windows CE 3.0 and higher
|
||||
Pyramid 9820x running OSx 4.4c
|
||||
SGI Iris running IRIX
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
* fix accessing mons[-1] when monster figures out if a tin cures stoning
|
||||
* have string_for_opt() return empty_optstr on failure
|
||||
* ensure existing callers of string_for_opt() check return value before using it
|
||||
* fix potential buffer overflow in add_menu_coloring()0
|
||||
* fix potential buffer overflow in add_menu_coloring()
|
||||
* fix potential buffer overflow in sym_val()
|
||||
* fix potential buffer overflow in pline(), raw_printf(), and config_error_add()
|
||||
* fix potential buffer overflow in choose_windows()
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
freeware CD, you will need to pass "/Define=_DECC_V4_SOURCE" as the
|
||||
third argument to vmsbuild.com in step #5. The version of yacc
|
||||
or bison in that distribution places '#include <stdlib.h>' in the
|
||||
generated code, before nethack's '#include "config.h"', leading to
|
||||
generated code, before NetHack's '#include "config.h"', leading to
|
||||
conflicts that prevent compilation from completing.
|
||||
|
||||
5. To build NETHACK.EXE and its auxiliary programs, execute the
|
||||
@@ -157,12 +157,7 @@ Notes:
|
||||
versions of VMS. (Note: in the distributed sources, this has already
|
||||
been uncommented.)
|
||||
|
||||
3. vmsbuild.com includes commands to try to build the 'curses' interface
|
||||
but they won't work. That interface requires 'ncurses' or 'PDcurses',
|
||||
not the older 'curses' (neither the VMS-specific variation nor the
|
||||
BSD-derived one) included with the C run-time library.
|
||||
|
||||
4. To specify user-preference options in your environment, define the
|
||||
3. To specify user-preference options in your environment, define the
|
||||
logical name NETHACKOPTIONS to have the value of a quoted string
|
||||
containing a comma separated list of option values. The option names
|
||||
are case-insensitive.
|
||||
@@ -195,7 +190,7 @@ Notes:
|
||||
placed in the playground directory by install.com. Also, an example
|
||||
configuration file can be found in [.win.X11]nethack.rc.)
|
||||
|
||||
5. [As mentioned above, the set of Makefiles is out of date so disregard
|
||||
4. [As mentioned above, the set of Makefiles is out of date so disregard
|
||||
this note....]
|
||||
Instead of using vmsbuild.com to compile and link everything, you can
|
||||
use the set of Makefiles found in the vms subdirectory, provided you
|
||||
@@ -236,7 +231,7 @@ Notes:
|
||||
[Note: Makefile.* have been updated occasionally but not exercised
|
||||
for a long time, so might not be in working order.]
|
||||
|
||||
6. termcap is an ASCII data file containing descriptions of terminal
|
||||
5. termcap is an ASCII data file containing descriptions of terminal
|
||||
capabilities and the escape sequences that software must use to take
|
||||
advantage of them. If you do not already have a termcap file in use
|
||||
on your system there is a small one in file [.SYS.SHARE]TERMCAP. It
|
||||
@@ -264,11 +259,13 @@ Notes:
|
||||
termcap file, otherwise a message about "Unknown terminal type" will
|
||||
be printed and NetHack will exit.
|
||||
|
||||
7. Both vmsbuild.com and Makefile.src have provisions to build nethack's
|
||||
6. Both vmsbuild.com and Makefile.src have provisions to build NetHack's
|
||||
'curses' interface, but the source code for it won't compile using
|
||||
the implementation of curses which is supplied with VMS.
|
||||
the implementation of curses which is supplied with VMS (either the
|
||||
VMS-specific variant or the BSD-derived one). It requires 'ncurses'
|
||||
or 'PDcurses'.
|
||||
|
||||
8. NetHack contains code which attempts to make it secure in case it's
|
||||
7. NetHack contains code which attempts to make it secure in case it's
|
||||
installed with privileges (to allow the playground to be protected
|
||||
against world write access). This has only undergone limited testing,
|
||||
so install NetHack with privileges at your own risk. If you discover
|
||||
@@ -321,7 +318,7 @@ Notes:
|
||||
built NetHack, you can relink with tracebacks disabled by doing
|
||||
$ @[.SYS.VMS]VMSBUILD "LINK" "" "" "/noTrace/noDebug"
|
||||
|
||||
9. If you can't or won't install nethack.exe with privileges and if you
|
||||
8. If you can't or won't install nethack.exe with privileges and if you
|
||||
don't have access to a privileged account yourself, then if you intend
|
||||
to allow other users to access your copy of NetHack you should probably
|
||||
place an ACL on the playground directory and its save subdirectory.
|
||||
@@ -354,7 +351,7 @@ Notes:
|
||||
you to run recover.exe on behalf of other users, because you won't be
|
||||
able to create files owned by them unless you have elevated privileges.
|
||||
|
||||
10. Many NetHack commands can be aborted by sending it the <escape>
|
||||
9. Many NetHack commands can be aborted by sending it the <escape>
|
||||
character when it wants input. This is displayed as ESC inside the
|
||||
game. Digital VK201 keyboards (used by VT2xx and VT3xx and older
|
||||
VAXstations) and VK401 keyboards (used by VT4xx, newer VAXstations,
|
||||
@@ -394,7 +391,7 @@ Notes:
|
||||
be sure to remember to eventually reattach to the NetHack subprocess;
|
||||
otherwise the game in progress won't get saved when you logout.
|
||||
|
||||
11. NetHack optionally maintains a logfile which receives one line appended
|
||||
10. NetHack optionally maintains a logfile which receives one line appended
|
||||
to it whenever a game ends. This can be disabled entirely by adding
|
||||
an "#undef LOGFILE" directive to vmsconf.h prior to building the
|
||||
program, or it can be disabled later by removing the file(s) LOGFILE.;*
|
||||
@@ -405,7 +402,7 @@ Notes:
|
||||
more elaborate log file named XLOGFILE containing more information is
|
||||
handled similarly.
|
||||
|
||||
12. Some attempt at support for VMS versions earlier than V4.6 has been
|
||||
11. Some attempt at support for VMS versions earlier than V4.6 has been
|
||||
included, but no such obsolete system was available for testing it.
|
||||
vmsbuild.com detects the need for the extra support routines and
|
||||
arranges automatically for them to be compiled. The reason that
|
||||
@@ -416,7 +413,7 @@ Notes:
|
||||
[That was written many years ago and the chance of it still working
|
||||
is very small.]
|
||||
|
||||
13. vmsbuild.com collects almost all of the object files (xxx.OBJ) into
|
||||
12. vmsbuild.com collects almost all of the object files (xxx.OBJ) into
|
||||
an object library (NETHACK.OLB) as it compiles the source files.
|
||||
This should prevent the quota-exceeded problems from the linker
|
||||
that some sites have reported for prior versions. Note that if you
|
||||
@@ -428,7 +425,7 @@ Notes:
|
||||
If you forget to replace the library entry, your newly compiled code
|
||||
will not be included in the new executable image.
|
||||
|
||||
14. To access "wizard mode"--intended for debugging purposes, not to
|
||||
13. To access "wizard mode"--intended for debugging purposes, not to
|
||||
spoil the game with unlimited wishes--you must be running from the
|
||||
username compiled into the game via Local_WIZARD in vmsconf.h, and
|
||||
you must specify "-D" on the command line when invoking NetHack.
|
||||
@@ -439,10 +436,10 @@ Notes:
|
||||
Any character name you specify will be ignored in favor of "wizard".
|
||||
|
||||
[More out of date information. Rather than compile-time Local_WIZARD,
|
||||
users(s) allowed to entre wizard mode are now controlled by the entry
|
||||
users(s) allowed to run in wizard mode are now controlled by the entry
|
||||
WIZARDS in the file SYSCONF.]
|
||||
|
||||
15. At program startup time, NetHack uses the empty file PERM to prevent
|
||||
14. At program startup time, NetHack uses the empty file PERM to prevent
|
||||
two different processes from using the same character name (under the
|
||||
same UIC ownership) at the same time. It does this by temporarily
|
||||
giving that file a second directory entry named PERM.LOCK, then
|
||||
@@ -484,7 +481,7 @@ Notes:
|
||||
is accomplished using temporary entry RECORD.LOCK and LOGFILE using
|
||||
entry LOGFILE.LOCK.
|
||||
|
||||
16. Unless you have both Motif and the Athena Widget set from MIT, you
|
||||
15. Unless you have both Motif and the Athena Widget set from MIT, you
|
||||
will not be able to use the X11 interface on VMS. Even if you do
|
||||
have both those things, such a configuration has not been tested and
|
||||
there are no provisions for it in vmsbuild.com. Makefile.src does
|
||||
@@ -510,7 +507,7 @@ Notes:
|
||||
window manager in order for any changes to take effect; it's easiest
|
||||
to just make the session manager quit and then log in again.
|
||||
|
||||
17. If necessary, send problem reports via e-mail to
|
||||
16. If necessary, send problem reports via e-mail to
|
||||
<devteam@nethack.org>
|
||||
Always include version information for NetHack, the operating system,
|
||||
and the C compiler used.
|
||||
|
||||
Reference in New Issue
Block a user