Browse Prior Art Database

THE TXDT PACKAGE-INTERLISP TEXT EDITING PRIMITIVES

IP.com Disclosure Number: IPCOM000128914D
Original Publication Date: 1981-Jan-01
Included in the Prior Art Database: 2005-Sep-20

Publishing Venue

Software Patent Institute

Related People

Moore, J.S.: AUTHOR [+3]

Abstract

The TXDT package is a collection of INTERLISP programs designed for those who wish to build text editors in INTERLISP. TXDT provides a new INTERLISP data type, called a buffer, and programs for efficiently inserting, deleting, searching and manipulating text in buffers. Modifications may be made undoable. A unique feature of TXDT is that an address may be ";stuck"; to a character occurrence so as to follow that character wherever it is subsequently moved. TXDT also has provisions for fonts.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 4% of the total text.

Page 1 of 30

THIS DOCUMENT IS AN APPROXIMATE REPRESENTATION OF THE ORIGINAL.

©; Xerox Palo Alto Research Center, January, 1981

THE TXDT PACKAGE-INTERLISP TEXT EDITING PRIMITIVES

BY J STROTHER MOORE

January 1981
CSL-81 -2
Copyright Xerox Corporation 1981. All Rights Reserved.

ABSTRACT

The TXDT package is a collection of INTERLISP programs designed for those who wish to build text editors in INTERLISP. TXDT provides a new INTERLISP data type, called a buffer, and programs for efficiently inserting, deleting, searching and manipulating text in buffers. Modifications may be made undoable. A unique feature of TXDT is that an address may be "stuck" to a character occurrence so as to follow that character wherever it is subsequently moved. TXDT also has provisions for fonts.

KEY WORDS AND PHRASES

string searching, word processing, fonts, text representation, undoing, INTERLISP, text editing CR CATEGORIES
3.70, 3.73, 3.74

XEROX I
PALO ALTO RESEARCH CENTERS 3333 Coyote Hill Road / Palo Alto / California 94304 Table of Contents

1. Historic Preface ..... 1
2. Introduction .....1
3. Buffers and Boxed-addresses ..... 2
4. Specifying Addresses ..... 3
5. Buffers ..... 4
6. Windows into the Buffer ..... 6
7. Objects That May be Inserted ..... 7
8. Caveats About Files and SYSOUTS ..... 8
9 Line Terminations ..... 8
10. Messages and Fonts ..... 9
11. Interrupts ..... 10
12. Getting Started ..... 10
13. File Handling ..... 11
14. Modification Functions ..... 12
15. Addressing Functions ..... 15
16. Printing Functions ..... 20
17. Message Functions ..... 22
18. Character Functions ..... 23

Xerox Corporation Page 1 Jan 01, 1981

Page 2 of 30

THE TXDT PACKAGE-INTERLISP TEXT EDITING PRIMITIVES

19. Implementation Functions ..... 24
20. Variables ..... 29
21. Error Messages ..... 30
22. Datatypes ..... 31

1. Historical Preface

In 1971, at the University of Edinburgh, Robert S. Boyer and I developed a method of representing text that was economical in use of storage, efficient for many common operation and permitted the implementation of "undoable" modification.. Using that representation, we implemented an editor, called the 77-editor (named after the disk sector on which it resided), in the programming language POP-2. The editor is described in [ Ref 1 ] .

ID 1973, I moved to Xerox Palo Alto Research Center where I implemented the editor in INTERLISP-10. That early implementation became the basis of an experimental text editor patterned after POET implemented by Warren Teitelman. Warren gradually evolved the idea of a friendly display-based editor into a full-fledged interface to Interlisp [ Ref 2 ] and I evolved my editor primitives to suit his needs. The entire system of editing primitives was implemented several time" from the ground up and in 19751 documented (in an unpublished PARC report) an early version of the "TXDT packages.

In 1976, I left PARC and joined SRI but Warren and I continued informally in our established roles for several years. Many features we...