1
by Daniel Schepler
Import upstream version 1.8.2 |
1 |
XZip version 1.8.2 |
2 |
||
3 |
by Andrew Plotkin (erkyrath@eblong.com) |
|
4 |
based on ZIP V2.0.7 by Mark Howell (howell_ma@movies.enet.dec.com) |
|
5 |
web site: http://www.eblong.com/zarf/xzip.html |
|
6 |
||
7 |
This is set up for a fairly generic ANSI C compiler. If you get it to |
|
8 |
compile under some particular system, please send me mail, and I'll |
|
9 |
stick in the relevant #ifdefs and whatnot.
|
|
10 |
||
11 |
You MUST define either BIG_END_MODE, LITTLE_END_MODE, or
|
|
12 |
AUTO_END_MODE, by uncommenting one of the lines in the Makefile. If
|
|
13 |
you don't know which is right, try one and see if the program runs |
|
14 |
right. The error messages are nice and obvious. The AUTO_END_MODE |
|
15 |
checks a BYTE_ORDER definition which is in the system headers of |
|
16 |
*some* Unixes. If Murphy's Law strikes, go back to BIG_END_MODE or |
|
17 |
LITTLE_END_MODE.
|
|
18 |
||
19 |
If your compiler can't find X11 headers or libraries, change the |
|
20 |
definitions of XLIB and XINCLUDE in the Makefile. There are some |
|
21 |
sample values there. If you find other values that work on particular |
|
22 |
operating systems, send me email. |
|
23 |
||
24 |
If you get errors in xio.c about fd_set or FD_SET being undefined, put |
|
25 |
"-DNEEDS_SELECT_H" in the SYSTEMFLAGS line, as has been done for the |
|
26 |
RS6000. |
|
27 |
||
28 |
If you get errors about bcopy being undefined, put "-DNO_BCOPY" in the |
|
29 |
SYSTEMFLAGS line. |
|
30 |
||
31 |
If you get errors about random or srandom being undefined, put |
|
32 |
"-DLOUSY_RANDOM" in the SYSTEMFLAGS line. |
|
33 |
||
34 |
If you set DESTDIR to the directory you want things installed in, you |
|
35 |
can just type "make install". That also installs the man |
|
36 |
page. Otherwise, "make" or "make xzip" will just build the executable. |
|
37 |
||
38 |
The FONTDEF_XXX definitions are the fonts used by the various |
|
39 |
attributes in the interpreter. As you see, they must be delimited by " |
|
40 |
(double-quotes). If the supplied fonts aren't on your system, pick
|
|
41 |
some that are. All the fonts should look the same size. (I use
|
|
42 |
14-point Times and 12-point Courier because they look better together
|
|
43 |
than same-size Times and Courier.)
|
|
44 |
||
45 |
Version history:
|
|
46 |
||
47 |
1.8.2:
|
|
48 |
Added the -spec option, to make the interpreter label itself as
|
|
49 |
spec 1.0 compliant
|
|
50 |
Fixed small bugs in arithmetic shift right and printing newlines.
|
|
51 |
Added support for 64-byte-long properties (spec 1.0 feature)
|
|
52 |
||
53 |
1.8.1:
|
|
54 |
Fixed the scripton_flag bug (control.c wouldn't compile with a pre-ANSI
|
|
55 |
C compiler)
|
|
56 |
The keypad page-up and page-down keys now work, for those keyboards that
|
|
57 |
have such things.
|
|
58 |
Fixed a bug which could cause a crash on exit.
|
|
59 |
Fixed the set_font opcode to follow the current Z-Spec, and return 0
|
|
60 |
if the font is not available.
|
|
61 |
||
62 |
1.8:
|
|
63 |
Added extended save and restore opcodes.
|
|
64 |
Added support for the portable Quetzal save file format. Yes, the save
|
|
65 |
format is changing again. If you don't want this, comment out the
|
|
66 |
definition of "USE_QUETZAL" in the ztypes.h file. |
|
67 |
Added nested output streams, as described in Z-Spec 1.0.
|
|
68 |
Arrow keys now work right.
|
|
69 |
Fixed bug in scripting (garbage appearing after command inputs)
|
|
70 |
||
71 |
1.7:
|
|
72 |
Added the -strictz option for better z-code error checking.
|
|
73 |
Fixed bugs in @tokenise whch were causing "You don't see that here" |
|
74 |
messages.
|
|
75 |
Fixed a problem with color opcodes halting the interpreter.
|
|
76 |
||
77 |
1.6.1:
|
|
78 |
Made the timed-input code work right. (How embarrassing.)
|
|
79 |
Set all the header bits right.
|
|
80 |
||
81 |
1.6:
|
|
82 |
Made the division/modulo code more portable.
|
|
83 |
Put in support for more Unixes.
|
|
84 |
Put in support for INFOCOM_PATH environment variable.
|
|
85 |
||
86 |
1.5:
|
|
87 |
Changed the save file format to be machine-independent (and compatible
|
|
88 |
with JZip.) This means that *this version will not read save files
|
|
89 |
created with XZip 1.4*, if you are on a little-endian machine.
|
|
90 |
Added support for international / accented characters.
|
|
91 |
Fixed bug in signed division and modulo operations.
|
|
92 |
Added PICKLE support, not that anyone cares.
|
|
93 |
||
94 |
1.4:
|
|
95 |
Added support for the new V8 Z-code format.
|
|
96 |
Fixed a bug in the display of reverse-video text (especially in sections
|
|
97 |
of whitespace which contained both reverse and normal fonts.)
|
|
98 |
||
99 |
1.3:
|
|
100 |
Added support for fixed-width sections of text. (This was supposed to
|
|
101 |
work already, but the z-machine doesn't work like I thought it |
|
102 |
did. Sigh.) Also fixed small scrolling bug. |
|
103 |
||
104 |
1.2: |
|
105 |
Improved support for timed input (a la Border Zone) and input in the |
|
106 |
status window (a la Bureacracy). |
|
107 |
Added macros and the explain-key function. |
|
108 |
||
109 |
1.1: |
|
110 |
It now reads command-line options as well as X resources. |
|
111 |
Changed name of random() function to ziprandom(), to avoid conflict with |
|
112 |
the standard random(). |
|
113 |
Added __STDC__ conditionals to support non-ANSI compilers. |
|
114 |
||
115 |
1.0: |
|
116 |
Initial release. |