Sign In
Upload
Manuals
Brands
Compaq Manuals
Software
DECTPU
Compaq DECTPU Manuals
Manuals and User Guides for Compaq DECTPU. We have
1
Compaq DECTPU manual available for free PDF download: Manual
Compaq DECTPU Manual (152 pages)
Guide to the DEC Text Processing Utility
Brand:
Compaq
| Category:
Software
| Size: 0.43 MB
Table of Contents
Table of Contents
3
Intended Audience
9
Preface
9
Related Documents
9
1 Overview of the DEC Text Processing Utility
13
Description of DECTPU
13
DECTPU Features
13
DECTPU and User Applications
14
DECTPU Environments
14
Description of Decwindows DECTPU
14
DECTPU as a Base for EVE
14
Decwindows Dectpu and Decwindows Features
15
Decwindows DECTPU and the Decwindows User Interface Language
16
Description of EVE
16
DECTPU Language
17
DECTPU as a Base for User-Written Interfaces
17
Data Types
18
Language Declarations
18
Language Statements
18
Built-In Procedures
18
Sample User-Written Procedure
19
User-Written Procedures
19
Terminals Supported by DECTPU
19
Learning Path for DECTPU
20
2 Getting Started with DECTPU
21
Invoking DECTPU on Openvms Systems
21
Default File Specifications
22
Startup Files
22
Default File Specifications on Openvms Systems
22
Invoking DECTPU from a DCL Command Procedure
23
Setting up a Special Editing Environment
23
DCL Command Procedure FILENAME.COM
24
DCL Command Procedure FORTRAN_TS.COM
24
Creating a Noninteractive Application
24
DCL Command Procedure INVISIBLE_TPU.COM
25
DECTPU Command File GSR.TPU
25
Invoking DECTPU from a Batch Job
26
Using Journal Files
26
Keystroke Journaling
26
Journaling Behavior Established by EVE
26
Keystroke Journaling
27
Buffer-Change Journaling
27
Buffer-Change Journal File-Naming Algorithm
28
Avoiding Errors Related to Virtual Address Space
28
Using Openvms EDIT/TPU Command Qualifiers
29
Character_Set
29
Command
30
Character Set Values You Can Set with /CHARACTER_SET
30
Create
31
Debug
32
Display
32
Initialization
33
Interface
34
Journal
34
Modify
35
Output
36
Read_Only
37
Recover
38
Section
39
Start_Position
40
3 DEC Text Processing Utility Data Types
41
Array Data Type
42
Buffer Data Type
43
Integer Data Type
44
Keyword Data Type
45
Keywords Used for Key Names
46
Learn Data Type
47
Marker Data Type
48
Pattern Data Type
50
Suppressing the Addition of Padding Blanks
50
Using Pattern Built-In Procedures and Keywords
52
Using Keywords to Build Patterns
52
Using Pattern Operators
53
Pattern Concatenation Operator)
53
(Pattern Linking Operator)
53
Pattern Alternation Operator)
54
(Partial Pattern Assignment Operator)
54
Relational Operators
55
Compiling and Executing Patterns
56
Searching for a Pattern
56
Anchoring a Pattern
57
Process Data Type
58
Program Data Type
58
Range Data Type
59
String Data Type
60
Unspecified Data Type
61
Effects of Two String-Reduction Operations
61
Widget Data Type
62
Window Data Type
62
Defining Window Dimensions
63
Creating Windows
63
Displaying Window Values
64
Mapping Windows
64
Removing Windows
65
Using the Screen Manager
65
Getting Information on Windows
65
Terminals that Do Not Support Windows
66
4 Lexical Elements of the DEC Text Processing Utility Language
67
Overview
67
Case Sensitivity of Characters
67
Character Sets
68
DEC Multinational Character Set (DEC_MCS)
68
Categories of ASCII Character Set Characters
68
Categories of DEC Multinational Character Set Characters
68
ISO Latin1 Character Set (ISO_LATIN1)
69
General Character Sets
69
Entering Control Characters
69
Categories for ISO Latin1 Characters
69
DECTPU Symbols
70
Identifiers
71
Variables
71
Global and Local Variable Declarations
71
Constants
72
Global and Local Constant Declarations
72
Operators
73
DECTPU Operators
73
Expressions
74
Operator Precedence
74
Arithmetic Expressions
76
Relational Expressions
76
Pattern Expressions
77
Boolean Expressions
77
Procedure that Uses Relational Operators on Markers
77
Reserved Words
78
Keywords
78
Built-In Procedure Names
78
Predefined Constants
78
Declarations and Statements
79
Module Declaration
80
Procedure Declaration
81
Procedure Names
81
Procedure Parameters
81
Simple Procedure with Parameters
82
Complex Procedure with Optional Parameters
83
Procedures that Return a Result
84
Recursive Procedures
84
Procedure that Returns a Result
84
Procedure Within Another Procedure
84
Local Variables
85
Constants
85
ON_ERROR Statements
85
Recursive Procedure
85
Assignment Statement
86
Repetitive Statement
86
Conditional Statement
86
Case Statement
87
Procedure that Uses the CASE Statement
88
Error Handling
89
Procedural Error Handlers
90
Procedure that Uses the ON_ERROR Statement
90
Case-Style Error Handlers
91
Procedure with a Case-Style Error Handler
92
Ctrl/C Handling
94
RETURN Statement
94
Procedure that Returns a Value
94
ABORT Statement
95
Procedure that Returns a Status
95
Using RETURN in an ON_ERROR Section
95
Miscellaneous Declarations
96
Equivalence
96
Local
96
Constant
96
Variable
96
Simple Error Handler
96
Lexical Keywords
98
Conditional Compilation
99
Specifying the Radix of Numeric Constants
100
5 DEC Text Processing Utility Program Development
101
Creating DECTPU Programs
101
Simple Programs
102
Complex Programs
102
SHOW (SUMMARY) Display
102
Program Syntax
103
Syntax of a DECTPU Program
103
Programming in Decwindows DECTPU
104
Widget Support
104
Sample DECTPU Programs
104
Input Focus Support
105
Global Selection Support
106
Difference between Global Selection and Clipboard
106
Handling of Multiple Global Selections
106
Relation of Global Selection to Input Focus
106
Response to Requests for Information about the Global Selection
107
Using Callbacks
107
Background on Decwindows Callbacks
108
Internally Defined DECTPU Callback Routines and Application-Level Callback Action Routines
108
Internally Defined DECTPU Callback Routines with UIL
108
Internally Defined DECTPU Callback Routines with Widgets Not Defined by UIL
109
Application-Level Callback Action Routines
109
Callable Interface-Level Callback Routines
109
Using Closures
110
Specifying Values for Widget Resources in Decwindows DECTPU
110
DECTPU Data Types for Specifying Resource Values
110
Specifying a List as a Resource Value
111
Relationship between DECTPU Data Types and Decwindows Argument Data Types
111
Writing Code Compatible with Decwindows EVE
113
Select Ranges in Decwindows EVE
113
Dynamic Selection
113
Static Selection
113
Found Range Selection
113
Relation of EVE Selection to Decwindows Global Selection
114
Compiling DECTPU Programs
114
Compiling on the EVE Command Line
115
Compiling in a DECTPU Buffer
115
Executing DECTPU Programs
115
Procedure Execution
116
Process Suspension
116
Using DECTPU Startup Files
117
Section Files
117
Command Files
117
Initialization Files
118
Sequence in Which DECTPU Processes Startup Files
118
Using Section Files
119
Creating and Processing a New Section File
119
Extending an Existing Section File
120
Sample Program for a Section File
120
Sample Section File
121
Source Code for Minimal Interface to DECTPU
122
Recommended Conventions for Section Files
123
Using Command Files
124
Special DECTPU Variables that Require a Value from a Layered Application
124
Using EVE Initialization Files
125
Command File for GOTO_TEXT_MARKER
125
Using an EVE Initialization File at Startup
126
Using an EVE Initialization File During an Editing Session
127
How an EVE Initialization File Affects Buffer Settings
127
SHOW DEFAULTS BUFFER Display
127
Debugging DECTPU Programs
128
Using Your Own Debugger
128
Using the DECTPU Debugger
128
Debugging Section Files
128
Debugging Command Files
129
Debugging Other DECTPU Source Code
129
Getting Started with the DECTPU Debugger
129
Handling Errors
130
A.1 Line-Mode Editor
131
A–1 Line-Mode Editing
131
A.2 Translation of Control Characters
132
A–2 Procedure to Display Control Characters
132
A.3 Restoring Terminal Width before Exiting from DECTPU
136
A–3 Procedure to Restore Screen to Original Width
136
A.4 Running DECTPU from an Openvms Subprocess
137
A–4 Procedure to Run DECTPU from a Subprocess
137
Terminal Behavior that Affects Dectpu's Performance
139
B.1 Using Screen-Oriented Editing on Supported Terminals
139
B.1.1 Terminal Settings on Openvms Systems that Affect DECTPU
139
B.1.2 SET TERMINAL Command
141
B.2 Using Line-Mode Editing on Unsupported Terminals
141
B.3 Using Terminal Wrap
141
B–1 DCL Command Procedure for SET TERM/NOWRAP
142
Advertisement
Advertisement
Related Products
Compaq DEC Text Processing Utility (DECTPU) Guide
Compaq DEC Text Processing Utility
Compaq dc5750 - Microtower PC
Compaq DECnet SNA Gateway for Synchronous Transport
Compaq DECnet SNA Gateway-ST
Compaq Deskpro 400 - Desktop PC
Compaq Deskpro AP200
Compaq Deskpro EC Series
Compaq Deskpro AP550
Compaq Deskpro AP500
Compaq Categories
Desktop
Laptop
Server
Monitor
Storage
More Compaq Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL