Browse Prior Art Database

User Programmability for Word Processors

IP.com Disclosure Number: IPCOM000045855D
Original Publication Date: 1983-Apr-01
Included in the Prior Art Database: 2005-Feb-07
Document File: 3 page(s) / 72K

Publishing Venue

IBM

Related People

Kasuga, H: AUTHOR [+2]

Abstract

Glossary function, recording keystrokes to enter in a document later, is a simple type of user programming that many word processors provide today. This article describes how this glossary function can be expanded to provide full user programmability, thereby allowing users to fully customize their word processors.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 3

User Programmability for Word Processors

Glossary function, recording keystrokes to enter in a document later, is a simple type of user programming that many word processors provide today. This article describes how this glossary function can be expanded to provide full user programmability, thereby allowing users to fully customize their word processors.

The first step toward full user programmability is to create a file containing keystrokes for recall and/or programming statements. Such file, herein called a "glossary document", may be created like any other document where alphanumeric keystrokes are recorded as normal, but a special sequence of keys can be used to record a special function key. Once a glossary document is created in this way, it can be recalled by pressing a special glossary key, such as RECALL, and then the glossary name, whereby the recorded keystrokes are inserted at the current cursor location in the document being edited and any text functions recorded are executed as the keystrokes are entered.

An operator who works on many types of documents may want more than one set of glossary documents, one set for each type of document. In this case, he may activate a set of glossary documents by ATTACHing a glossary directory to the workstation to see what document names and functions exist. This means that one command can be used to indicate which set of glossary documents is to be used. Different sets of glossary documents may contain documents with the same glossary name. The glossary document executed will be the one in the attached directory.

Once a mechanism has been set up to recall text strings and text commands, a conventional glossary function can be extended to allow logic control, such as IF and GOTO statements, in a glossary document. A program statement may be distinguished from a text statement by ending it with the ENTER key rather than the RETURN key.

The system will remember which statements are program statements and which ones are text. In this way, an operator can write simple programs to perform tedious editing functions, such as checking a column of numbers and aligning all decimal points.

Fig. 1 snows a simple use of Program statements combined with text lines. In this example, if the variable X is greater than 1, the text beginning with "We wish to extend ...." is inserted in the docu...