1 Copyright (c) 1993-1994 by Xerox Corporation. All rights reserved.
3 THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
4 OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
6 Permission is hereby granted to use or copy this program
7 for any purpose, provided the above notices are retained on all copies.
8 Permission to modify the code and to distribute modified code is granted,
9 provided the above notices are retained, and a notice that the code was
10 modified is included with the above copyright notice.
12 Please send bug reports to Hans-J. Boehm (boehm@sgi.com).
14 This is a string packages that uses a tree-based representation.
15 See cord.h for a description of the functions provided. Ec.h describes
16 "extensible cords", which are essentially output streams that write
17 to a cord. These allow for efficient construction of cords without
18 requiring a bound on the size of a cord.
20 de.c is a very dumb text editor that illustrates the use of cords.
21 It maintains a list of file versions. Each version is simply a
22 cord representing the file contents. Nonetheless, standard
23 editing operations are efficient, even on very large files.
24 (Its 3 line "user manual" can be obtained by invoking it without
25 arguments. Note that ^R^N and ^R^P move the cursor by
26 almost a screen. It does not understand tabs, which will show
27 up as highlighred "I"s. Use the UNIX "expand" program first.)
28 To build the editor, type "make cord/de" in the gc directory.
30 This package assumes an ANSI C compiler such as gcc. It will
31 not compile with an old-style K&R compiler.