fix typos
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
1. NetHack 3.7 was built and tested on OpenVMS on both the Integrity
|
||||
and Alpha platform using the HP C V7.3 for OpenVMS compiler. While
|
||||
not tested, older versions of DEC C will most likely work as compatibility
|
||||
with older systems is a goal of the VMS porting team. Unfortunatly,
|
||||
with older systems is a goal of the VMS porting team. Unfortunately,
|
||||
ancient VAX C probably will no longer work. The set of Makefiles provided
|
||||
are known to be out of date; use vmsbuild.com instead.
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ $ ! compiler-option : either "VSIC", "VAXC", "DECC",
|
||||
$ ! "GNUC" or "" or "fetchlua" !default in 3.7 is VSIC
|
||||
$ ! link-option : either "SHARE[able]" or "LIB[rary]" !default SHARE
|
||||
$ ! cc-switches : optional qualifiers for CC (such as "/noOpt/Debug")
|
||||
$ ! linker-switches : optional qualifers for LINK (/Debug or /noTraceback)
|
||||
$ ! linker-switches : optional qualifiers for LINK (/Debug or /noTraceback)
|
||||
$ ! interface : "TTY" or "CURSES" or "TTY+CURSES" or "CURSES+TTY"
|
||||
$ ! notes:
|
||||
$ ! If the symbol "CC" is defined, compiler-option is not used (unless it
|
||||
@@ -77,7 +77,7 @@ $ copy sys$input: sys$error: !p1 usage
|
||||
or "GNUC" -- use GNU C to compile everything
|
||||
or "LINK" -- skip compilation, just relink nethack.exe
|
||||
or "SPEC[IAL]" -- just compile and link dlb.exe and recover.exe
|
||||
or "FETCHLUA" -- skip compilaton, just fetch lua from lua.org
|
||||
or "FETCHLUA" -- skip compilation, just fetch lua from lua.org
|
||||
or "BUILDLUA" -- build [-.lib.lua]lua'LUAVER'.olb
|
||||
or "" -- carry out default operation (VAXC unless 'CC' is defined)
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <starlet.h>
|
||||
#endif
|
||||
|
||||
/* lint supression due to lack of extern.h */
|
||||
/* lint suppression due to lack of extern.h */
|
||||
int vms_link(const char *, const char *);
|
||||
int vms_unlink(const char *);
|
||||
int vms_creat(const char *, unsigned int);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "config.h"
|
||||
#include "mail.h"
|
||||
|
||||
/* lint supression due to lack of extern.h */
|
||||
/* lint suppression due to lack of extern.h */
|
||||
unsigned long init_broadcast_trapping(void);
|
||||
unsigned long enable_broadcast_trapping(void);
|
||||
unsigned long disable_broadcast_trapping(void);
|
||||
@@ -71,7 +71,7 @@ static long pasteboard_id = 0; /* SMG's magic cookie */
|
||||
* Unrecognized broadcasts result in the mail-daemon
|
||||
* arriving and announcing the display text, but no scroll being created.
|
||||
* If SHELL is undefined, then all broadcasts are treated as 'other'; since
|
||||
* no subproceses are allowed, there'd be no way to respond to the scroll.
|
||||
* no subprocesses are allowed, there'd be no way to respond to the scroll.
|
||||
*
|
||||
* When a scroll of mail is read by the character, readmail() extracts
|
||||
* the command string and uses it for the default when prompting the
|
||||
@@ -99,7 +99,7 @@ static long pasteboard_id = 0; /* SMG's magic cookie */
|
||||
* Anything else results in just the message text being passed along, no
|
||||
* scroll of mail so consequently no command to execute when scroll read.
|
||||
* The user can set up ``$ XYZZY :== SEND'' prior to invoking NetHack if
|
||||
* vanilla JNET responses to Bitnet messages are prefered.
|
||||
* vanilla JNET responses to Bitnet messages are preferred.
|
||||
*
|
||||
* Static return buffers are used because only one broadcast gets
|
||||
* processed at a time, and the essential information in each one is
|
||||
|
||||
@@ -55,7 +55,7 @@ main(int argc, char *argv[])
|
||||
atexit(byebye);
|
||||
/* vms_basename(,FALSE) strips device, directory, suffix, and version;
|
||||
the result is returned in a static buffer so we make a copy that
|
||||
isn't at risk of gettting clobbered by core's handling of DEBUGFILES */
|
||||
isn't at risk of getting clobbered by core's handling of DEBUGFILES */
|
||||
progname = dupstr(vms_basename(argv[0], FALSE));
|
||||
gh.hname = progname;
|
||||
gh.hackpid = getpid();
|
||||
|
||||
@@ -517,7 +517,7 @@ setftty(void)
|
||||
settty_needed = TRUE;
|
||||
}
|
||||
|
||||
/* enable kbd interupts if enabled when game started */
|
||||
/* enable kbd interrupts if enabled when game started */
|
||||
void
|
||||
intron(void)
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ extern unsigned long smg$init_term_table_by_type(), smg$del_term_table();
|
||||
#define vms_ok(sts) ((sts) & 1) /* odd => success */
|
||||
|
||||
/* this could be static; it's only used within this file;
|
||||
it won't be used at all if C_LIB$INTIALIZE gets commented out below,
|
||||
it won't be used at all if C_LIB$INITIALIZE gets commented out below,
|
||||
so make it global so that compiler won't complain that it's not used */
|
||||
int vmsexeini(const void *, const void *, const unsigned char *);
|
||||
|
||||
@@ -845,11 +845,11 @@ vmsexeini(const void *inirtn_unused, const void *clirtn_unused,
|
||||
* are appended rather than overwriting each other).
|
||||
*
|
||||
* VAX C made global variables become named program sections, to be
|
||||
* compatable with Fortran COMMON blocks, simplifying mixed-language
|
||||
* programs. GNU C for VAX/VMS did the same, to be compatable with
|
||||
* compatible with Fortran COMMON blocks, simplifying mixed-language
|
||||
* programs. GNU C for VAX/VMS did the same, to be compatible with
|
||||
* VAX C. By default, DEC C makes global variables be global symbols
|
||||
* instead, with its /Extern_Model=Relaxed_Ref_Def mode, but can be
|
||||
* told to be VAX C compatable by using /Extern_Model=Common_Block.
|
||||
* told to be VAX C compatible by using /Extern_Model=Common_Block.
|
||||
*
|
||||
* We don't want to force that for the whole program; occasional use
|
||||
* of /Extern_Model=Strict_Ref_Def to find mistakes is too useful.
|
||||
@@ -866,7 +866,7 @@ vmsexeini(const void *inirtn_unused, const void *clirtn_unused,
|
||||
* So, we switch modes for this hack only. Besides, psect attributes
|
||||
* for lib$initialize are different from the ones used for ordinary
|
||||
* variables, so we'd need to resort to some linker magic anyway.
|
||||
* (With assembly language, in addtion to having full control of the
|
||||
* (With assembly language, in addition to having full control of the
|
||||
* psect attributes in the source code, Macro32 would include enough
|
||||
* information in its object file such that linker wouldn't need any
|
||||
* extra instructions from us to make this work.) [If anyone links
|
||||
|
||||
Reference in New Issue
Block a user