xref: /original-bsd/contrib/sc/CHANGES (revision 1e395994)
1CHANGES BETWEEN 6.1 and 6.7
2
3Dave Lewis -
4	Found and fixed a null pointer derefrece in the 'R' command.
5
6Rob McMahon -
7	Changed the ctl() macro to work with ANSI style compilers.
8	Cleaned up some non-readonly text problems.
9
10Rick Linck -
11	Fixed a bug in lex.c - Ann Arbor Ambassadors have long ks and ke
12	termcap entries.
13
14Sam Drake -
15	A fix for undefined C_* symbols in AIX.
16
17Peter Brower -
18	Cleaned up the INTERNATIONAL ifdefs with more portable code.
19
20Glen Ditchfield
21	Cleaned up a problem in crypt.c when the encrypted file shrank.
22
23Bob Bond -
24	Vi style editing for the command line.
25	A bug in range name aliases.
26
27Jeff Buhrt -
28	-Added "~" filename expansion.
29	-702 columns (A-ZZ) and unlimited rows/cells based on max. memory
30	-fixed a few bugs
31	-slightly decreased CPU usage
32	-MAKES backup copies of files
33	-understands ~$HOME stuff
34
35CHANGES BETWEEN 5.1 and 6.1:
36
37Andy Valencia -
38	xmalloc aligns data to a double boundary.
39
40Lawrence Cipriani -
41	Fixed a bug in the "do you want to save this" sequence.
42
43Soren Lundsgaard -
44	A null pointer derefrence.
45
46Rick Perry -
47	Cleaned up a problem with modchk() in sc.c.
48
49Gregory Bond -
50	Added code for multi argument versions of @min and @max.
51
52Tad Mannes -
53	Added code to save/restore hidden rows and columns when the
54	data base is saved or restored.
55
56Marius Olafsson -
57	INTERNATIONAL changes.  Allows full 8 bit characters (if
58	curses supports them.)
59
60Kurt Horton -
61	Added support for @pv, @fv and @pmt financial functins.
62	Tested lots of different systems, linting.
63
64John Campbell -
65	Support for VMS.  See VMS_NOTES.
66
67Peter King -
68	 User selection of row or column order for recalculation.
69		Also affects order of traversing regions in /f and /r
70	 User setting of automatic or manual recalculation.
71	 User setting of number of times to try recalculation.
72	 + and - commands when in non-numeric mode to do
73		increment and decrement operations.
74	@index, @stindex, @atan2, @lookup  functions.
75	Save/restore options.
76	Support for TeX, LaTeX, and better support for tbl in "T" cmd.
77	Provision of a copyent function to copy entries (same code repeated
78		in several locations)
79	Forwrow, backrow, forwcol, backcol functions to replace
80		repeated code
81	Correct interpretation of ESCAPE or ^G as an abort when in a
82		two character command such as 'ar' or 'ac'
83	Cleanup in eval() - catches non-trap function errors.
84
85Bob Bond -
86       Added search options to "g".
87       Added supression of hidden columns to "W"
88       Added the mod operator "%"
89       New help functions.
90       Constant prescale "$"
91       Added string matching to @lookup.
92       Some more bug fixes.
93       Testing, integration, documentation.
94
95Alan Silverstein-
96	Greatly revised the manual entry.
97	Added menus for ^E command and row/column commands, which
98	involved a bunch of code cleanup.
99
100	Changed top row display to clearly indicate string labels
101	versus number parts, and to distinguish string functions from
102	constant labels.
103
104	When the character cursor is on a cell (not topline), ^H
105	(backspace) is like ^B (move back one cell), rather than being
106	ignored.
107
108	When the character cursor is on a cell (not topline), ^I (tab)
109	is like ^F (move forward one cell), rather than being ignored.
110	^R is no longer identical with ^L.  Now ^R highlights all cells
111	which should be entered by a user because they contain constant
112	numeric values (not the result of a numeric expression).
113
114	Added a ^X command, similar to ^R, which highlights cells which
115	have expressions.  It also displays the expressions in the
116	highlighted cells as left-justified strings, instead of the
117	label and/or value of the cell.
118
119	Added indirection functions (@nval() and @sval()) for simple
120	table lookups.  Given a column name and row number, they return
121	the numeric or string value of the selected cell.
122
123	Added external functions (@ext()) for non-trivial
124	computations.  Given a command name and argument, it calls the
125	command and reads back one output line.
126
127	Added a ^T,e command to toggle enabling of external functions.
128
129	Changed ^T,t to only control the top line display, and added
130	^T,c to control current cell highlighting.  (Separated the
131	functions.)
132
133	"!" (shell escape) gives a vi-style warning if there were any
134	changes since the last write.  (No change to manual entry.)
135
136	Fixed some startup, error, and prompt messages to be cleaner
137	and/or more consistent.  (No changes to manual entry.)
138
139	Fixed a bug:  If @substr() upper bound (third parameter) is
140	past the end of the string operand, return the substring
141	through the end of the string, rather than returning a null
142	string.
143
144	Fixed a bug:  Reset SIGINT to default after forking before
145	calling shell escape program and before starting pipeline (for
146	commands which support this).  Didn't reset SIGINT before
147	calling crypt and external functions because in both cases it
148	should be irrelevant.  (No change to manual entry.)
149
150CHANGES BETWEEN 6.1 and 6.2:
151
152
153Chris Cole-
154	Compatibility with Lotus 1-2-3
155		a) @hlookup(expr,range,expr)
156		b) @vlookup(expr,range,expr)
157		c) @round(expr,expr)
158		d) @if(expr,expr,expr)
159		e) @abs(expr)
160