Compaq AA-PWCBD-TE - Manual

Compaq AA-PWCBD-TE

Compaq AA-PWCBD-TE – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
133 Page 133
134 Page 134
135 Page 135
136 Page 136
137 Page 137
138 Page 138
139 Page 139
140 Page 140
141 Page 141
142 Page 142
143 Page 143
144 Page 144
145 Page 145
146 Page 146
147 Page 147
148 Page 148
149 Page 149
150 Page 150
151 Page 151
152 Page 152
Page: / 152

Table of Contents:

  • Page 3 – Contents; Preface; ix; Overview of the DEC Text Processing Utility; iii
  • Page 4 – iv
  • Page 5 – DEC Text Processing Utility Program Development
  • Page 6 – Specifying Values for Widget Resources in DECwindows DECTPU . . .
  • Page 7 – vii
  • Page 8 – viii
  • Page 9 – Intended Audience; Internet
  • Page 10 – Mail; How To Order Additional Documentation; The following conventions are used in this manual:
  • Page 11 – bold text; italic text; Monospace text; numbers
  • Page 13 – Overview of the DEC Text Processing Utility; Description of DECTPU; Overview of the DEC Text Processing Utility 1–1
  • Page 14 – Figure 1–1 DECTPU as a Base for EVE; D E C T P U; Description of DECwindows DECTPU; –2 Overview of the DEC Text Processing Utility
  • Page 15 – Overview of the DEC Text Processing Utility 1–3
  • Page 16 – Description of EVE; –4 Overview of the DEC Text Processing Utility
  • Page 17 – Figure 1–2 DECTPU as a Base for User-Written Interfaces; You can implement extensions to EVE with any of the following:; Overview of the DEC Text Processing Utility 1–5
  • Page 18 – –6 Overview of the DEC Text Processing Utility
  • Page 19 – When writing a procedure, use the following guidelines:; Example 1–1 Sample User-Written Procedure; Terminals Supported by DECTPU; Overview of the DEC Text Processing Utility 1–7
  • Page 20 – Learning Path for DECTPU; –8 Overview of the DEC Text Processing Utility
  • Page 21 – Getting Started with DECTPU; Invoking DECTPU on OpenVMS Systems; Getting Started with DECTPU 2–1
  • Page 22 – Table 2–1 Default File Specifications on OpenVMS Systems; File; –2 Getting Started with DECTPU
  • Page 23 – Note; Invoking DECTPU from a DCL Command Procedure; To set up a special environment for interactive editing; Setting Up a Special Editing Environment; Getting Started with DECTPU 2–3
  • Page 24 – Creating a Noninteractive Application; /NODISPLAY—This qualifier suppresses screen display.; –4 Getting Started with DECTPU
  • Page 25 – Example 2–3 DCL Command Procedure INVISIBLE_TPU.COM; LOOP; Getting Started with DECTPU 2–5
  • Page 26 – Invoking DECTPU from a Batch Job; In batch DECTPU, EXIT is the same as QUIT.; Using Journal Files; DECTPU offers two journaling methods:; Table 2–2 Journaling Behavior Established by EVE; OpenVMS Qualifier; None specified; Caution; –6 Getting Started with DECTPU
  • Page 27 – Left margin setting; Getting Started with DECTPU 2–7
  • Page 28 – Truncates the resulting file name to 39 characters; Avoiding Errors Related to Virtual Address Space; Redefine TPU$WORK to point to the disk with more free space.; –8 Getting Started with DECTPU
  • Page 29 – Using OpenVMS EDIT/TPU Command Qualifiers; Getting Started with DECTPU 2–9
  • Page 30 – There are two ways to specify the character set you want to use:; Table 2–3 Character Set Values You Can Set with /CHARACTER_SET; Value; GENERAL; –10 Getting Started with DECTPU
  • Page 31 – The preceding call returns 1 if /CREATE was specified, 0 otherwise.; Getting Started with DECTPU 2–11
  • Page 32 – –12 Getting Started with DECTPU
  • Page 33 – When running DECTPU procedures in a batch job; Getting Started with DECTPU 2–13
  • Page 34 – The preceding call returns 1 if /JOURNAL was specified, 0 otherwise.; –14 Getting Started with DECTPU
  • Page 35 – Getting Started with DECTPU 2–15
  • Page 36 – –16 Getting Started with DECTPU
  • Page 37 – Getting Started with DECTPU 2–17
  • Page 38 – –18 Getting Started with DECTPU
  • Page 39 – Getting Started with DECTPU 2–19
  • Page 40 – –20 Getting Started with DECTPU
  • Page 41 – DEC Text Processing Utility Data Types; DEC Text Processing Utility Data Types 3–1
  • Page 42 – –2 DEC Text Processing Utility Data Types
  • Page 43 – fred; DEC Text Processing Utility Data Types 3–3
  • Page 44 – Integer Data Type; –4 DEC Text Processing Utility Data Types
  • Page 45 – Keyword Data Type; DEC Text Processing Utility Data Types 3–5
  • Page 46 – Table 3–1 Keywords Used for Key Names; DECTPU Key Name
  • Page 48 – –8 DEC Text Processing Utility Data Types
  • Page 49 – Nothing has happened to cause the marker to become bound.; DEC Text Processing Utility Data Types 3–9
  • Page 50 – SELECT; Example 3–1 Suppressing the Addition of Padding Blanks; Pattern Data Type; –10 DEC Text Processing Utility Data Types
  • Page 51 – Pat2 matches the string; DEC Text Processing Utility Data Types 3–11
  • Page 52 – –12 DEC Text Processing Utility Data Types
  • Page 53 – The following are the DECTPU pattern operators:; DEC Text Processing Utility Data Types 3–13
  • Page 54 – –14 DEC Text Processing Utility Data Types
  • Page 55 – DEC Text Processing Utility Data Types 3–15
  • Page 56 – –16 DEC Text Processing Utility Data Types
  • Page 57 – DEC Text Processing Utility Data Types 3–17
  • Page 58 – Process Data Type; A DECTPU process runs as a subprocess.; Program Data Type; –18 DEC Text Processing Utility Data Types
  • Page 59 – EDIT; DEC Text Processing Utility Data Types 3–19
  • Page 60 – String Data Type; DEC_MCS—DEC Multinational Character Set; –20 DEC Text Processing Utility Data Types
  • Page 61 – in the; Table 3–2 Effects of Two String-Reduction Operations; DECTPU Statement; Unspecified Data Type; DEC Text Processing Utility Data Types 3–21
  • Page 62 – –22 DEC Text Processing Utility Data Types
  • Page 63 – Later calls to ADJUST_WINDOW may change these values.; DEC Text Processing Utility Data Types 3–23
  • Page 64 – –24 DEC Text Processing Utility Data Types
  • Page 65 – Unmapping or deleting a window has the following effects:; DEC Text Processing Utility Data Types 3–25
  • Page 66 – Terminals That Do Not Support Windows; –26 DEC Text Processing Utility Data Types
  • Page 67 – Case Sensitivity of Characters; Lexical Elements of the DEC Text Processing Utility Language 4–1
  • Page 68 – GENERAL (for other general character sets); Table 4–1 Categories of ASCII Character Set Characters; Category
  • Page 69 – Lexical Elements of the DEC Text Processing Utility Language; Table 4–3 Categories for ISO Latin1 Characters; Extended control characters; There are two ways to enter control characters in DECTPU:; Lexical Elements of the DEC Text Processing Utility Language 4–3
  • Page 70 – GOLD 27 GOLD Specins; Table 4–4 DECTPU Symbols; Name
  • Page 71 – Identifiers cannot be more than 132 characters long.; Example 4–1 Global and Local Variable Declarations; Always inserts a tab, even if current mode; Lexical Elements of the DEC Text Processing Utility Language 4–5
  • Page 72 – Example 4–2 Global and Local Constant Declarations; –6 Lexical Elements of the DEC Text Processing Utility Language
  • Page 73 – Arithmetic; Table 4–5 DECTPU Operators; Type
  • Page 74 – Table 4–6 Operator Precedence; Expression
  • Page 75 – Lexical Elements of the DEC Text Processing Utility Language 4–9
  • Page 76 – –10 Lexical Elements of the DEC Text Processing Utility Language
  • Page 77 – Example 4–3 Procedure That Uses Relational Operators on Markers; LOCAL; Lexical Elements of the DEC Text Processing Utility Language 4–11
  • Page 78 – –12 Lexical Elements of the DEC Text Processing Utility Language
  • Page 79 – Lexical Elements of the DEC Text Processing Utility Language 4–13
  • Page 80 – Syntax; –14 Lexical Elements of the DEC Text Processing Utility Language
  • Page 81 – PROCEDURE version; Lexical Elements of the DEC Text Processing Utility Language 4–15
  • Page 82 – The string; –16 Lexical Elements of the DEC Text Processing Utility Language
  • Page 83 – Example 4–5 Complex Procedure with Optional Parameters; Lexical Elements of the DEC Text Processing Utility Language 4–17
  • Page 84 – Example 4–7 Procedure Within Another Procedure; THEN; –18 Lexical Elements of the DEC Text Processing Utility Language
  • Page 85 – Example 4–8 Recursive Procedure; PROCEDURE test; Lexical Elements of the DEC Text Processing Utility Language 4–19
  • Page 86 – This assignment statement stores the string; –20 Lexical Elements of the DEC Text Processing Utility Language
  • Page 87 – The ENDIF statement specifies the end of a conditional statement.; ELSE; Lexical Elements of the DEC Text Processing Utility Language 4–21
  • Page 88 – Example 4–9 shows a sample procedure that uses the CASE statement.; Example 4–9 Procedure That Uses the CASE Statement; PROCEDURE grades; –22 Lexical Elements of the DEC Text Processing Utility Language
  • Page 89 – Lexical Elements of the DEC Text Processing Utility Language 4–23
  • Page 90 – The effects of a procedural error handler are as follows:; –24 Lexical Elements of the DEC Text Processing Utility Language
  • Page 91 – Write clearer code; Lexical Elements of the DEC Text Processing Utility Language 4–25
  • Page 92 – Example 4–11 Procedure with a Case-Style Error Handler; –26 Lexical Elements of the DEC Text Processing Utility Language
  • Page 93 – Lexical Elements of the DEC Text Processing Utility Language 4–27
  • Page 94 – ! Keyword for key pressed after shift key; –28 Lexical Elements of the DEC Text Processing Utility Language
  • Page 95 – Example 4–13 Procedure That Returns a Status; Example 4–14 Using RETURN in an ON_ERROR Section; Used when EVE is spawned; ABORT; Lexical Elements of the DEC Text Processing Utility Language 4–29
  • Page 96 – Example 4–15 Simple Error Handler; EQUIVALENCE; A name to be defined as a synonym for the real_name.; –30 Lexical Elements of the DEC Text Processing Utility Language
  • Page 97 – Unbound code can occur in the following places:; Lexical Elements of the DEC Text Processing Utility Language 4–31
  • Page 98 – Lexical Keywords; Conditional compiling; –32 Lexical Elements of the DEC Text Processing Utility Language
  • Page 99 – or; Lexical Elements of the DEC Text Processing Utility Language 4–33
  • Page 100 – Specifying the Radix of Numeric Constants; The following are examples of correct numeric constants:; –34 Lexical Elements of the DEC Text Processing Utility Language
  • Page 101 – Creating DECTPU Programs; DEC Text Processing Utility Program Development 5–1
  • Page 102 – –2 DEC Text Processing Utility Program Development
  • Page 103 – Example 5–2 Syntax of a DECTPU Program; PROCEDURE; DEC Text Processing Utility Program Development 5–3
  • Page 104 – Example 5–3 Sample DECTPU Programs; ! do DECTPU quit operation; Programming in DECwindows DECTPU; Label; –4 DEC Text Processing Utility Program Development
  • Page 105 – DEC Text Processing Utility Program Development 5–5
  • Page 106 – –6 DEC Text Processing Utility Program Development
  • Page 107 – FONT; DEC Text Processing Utility Program Development 5–7
  • Page 108 – Routines; –8 DEC Text Processing Utility Program Development
  • Page 109 – DEC Text Processing Utility Program Development 5–9
  • Page 110 – closure; Specifying Values for Widget Resources in DECwindows DECTPU; –10 DEC Text Processing Utility Program Development
  • Page 111 – Table 5–1 Relationship Between DECTPU Data Types and DECwindows; DECwindows Argument Data Type; items; DEC Text Processing Utility Program Development 5–11
  • Page 112 – –12 DEC Text Processing Utility Program Development
  • Page 113 – Writing Code Compatible with DECwindows EVE; DEC Text Processing Utility Program Development 5–13
  • Page 114 – Use the MB1 mouse button with the Shift key to extend a selection; Relation of EVE Selection to DECwindows Global Selection; Compiling DECTPU Programs; –14 DEC Text Processing Utility Program Development
  • Page 115 – Executing DECTPU Programs; DEC Text Processing Utility Program Development 5–15
  • Page 116 – –16 DEC Text Processing Utility Program Development
  • Page 117 – Using DECTPU Startup Files; There are three types of DECTPU startup files:; DEC Text Processing Utility Program Development 5–17
  • Page 118 – Sequence in Which DECTPU Processes Startup Files; –18 DEC Text Processing Utility Program Development
  • Page 119 – DEC Text Processing Utility Program Development 5–19
  • Page 120 – For more information on invoking DECTPU, see Chapter 2.; Example 5–4 Sample Program for a Section File; !Call the procedure that defines the keys; –20 DEC Text Processing Utility Program Development
  • Page 121 – DEC Text Processing Utility Program Development 5–21
  • Page 122 – Example 5–5 Source Code for Minimal Interface to DECTPU; –22 DEC Text Processing Utility Program Development
  • Page 123 – Recompile the command file with the following command:; DEC Text Processing Utility Program Development 5–23
  • Page 124 – Table 5–2 shows the names and uses of these variables.; The command to invoke DECTPU with a command file is:; –24 DEC Text Processing Utility Program Development
  • Page 125 – Example 5–6 Command File for GOTO_TEXT_MARKER; DEC Text Processing Utility Program Development 5–25
  • Page 126 – Set formats for individual buffers; –26 DEC Text Processing Utility Program Development
  • Page 127 – Using an EVE Initialization File During an Editing Session; DEC Text Processing Utility Program Development 5–27
  • Page 128 – Debugging DECTPU Programs; To debug DECTPU programs, you can do one of the following:; –28 DEC Text Processing Utility Program Development
  • Page 129 – DEC Text Processing Utility Program Development 5–29
  • Page 130 – –30 DEC Text Processing Utility Program Development
  • Page 131 – Sample DECTPU Procedures; Translation of control characters; Example A–1 Line-Mode Editing; ! Continuously loop until QUIT; Sample DECTPU Procedures A–1
  • Page 132 – A.2 Translation of Control Characters; Example A–2 Procedure to Display Control Characters; A–2 Sample DECTPU Procedures
  • Page 133 – Sample DECTPU Procedures A–3
  • Page 134 – A–4 Sample DECTPU Procedures
  • Page 135 – Sample DECTPU Procedures A–5
  • Page 136 – A.3 Restoring Terminal Width Before Exiting from DECTPU; Example A–3 Procedure to Restore Screen to Original Width; A–6 Sample DECTPU Procedures
  • Page 137 – A.4 Running DECTPU from an OpenVMS Subprocess; Example A–4 Procedure to Run DECTPU from a Subprocess; I have defined a key to be; Sample DECTPU Procedures A–7
  • Page 139 – DECTPU Terminal Support; B.1 Using Screen-Oriented Editing on Supported Terminals; Table B–1 Terminal Behavior That Affects DECTPU’s Performance; Terminal; Slow autorepeat rate; B.1.1 Terminal Settings on OpenVMS Systems That Affect DECTPU; DECTPU Terminal Support B–1
  • Page 140 – B–2 DECTPU Terminal Support
  • Page 141 – B.2 Using Line-Mode Editing on Unsupported Terminals; DECTPU Terminal Support B–3
  • Page 142 – Example B–1 DCL Command Procedure for SET TERM/NOWRAP; B–4 DECTPU Terminal Support
  • Page 143 – DECTPU Debugger Commands; DCL process names are case sensitive.; DECTPU Debugger Commands C–1
  • Page 144 – SET WINDOW top, length; Suspends the current editing session and creates a new process.; STEP; C–2 DECTPU Debugger Commands
  • Page 145 – Index; Index–1
  • Page 146 – See EVE; Index–2
  • Page 147 – Index–3
  • Page 148 – Index–4
  • Page 149 – Index–5
  • Page 150 – Index–6
  • Page 151 – Index–7
Loading the manual

Guide to the DEC Text
Processing Utility

Order Number: AA–PWCBD–TE

April 2001

This manual introduces the DEC Text Processing Utility (DECTPU). It
is for experienced programmers as well as new users of DECTPU.

Revision/Update Information:

This manual supersedes the Guide

to the DEC Text Processing Utility,
Version 3.1

Software Version:

OpenVMS Alpha Version 7.3
OpenVMS VAX Version 7.3

The content of this manual has not
changed sinced OpenVMS Version 7.1

Compaq Computer Corporation
Houston, Texas

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - Contents; Preface; ix; Overview of the DEC Text Processing Utility; iii

Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix 1 Overview of the DEC Text Processing Utility 1.1 Description of DECTPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1 1.1.1 ...

Page 4 - iv

2.6.8 /JOURNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14 2.6.9 /MODIFY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–15 2.6.10 /OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 5 - DEC Text Processing Utility Program Development

4.4 Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–5 4.5 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–5 4.6 Constants . . . . . . . . . . . . . . . . . . . . . . . . . ...

Other Compaq Models

All Compaq Other