User Manual
Doc-To-Help Standard Manual
by Robelle Solutions Technology Inc.
Program and manual copyright © 1977-2023
Robelle Solutions Technology Inc.
Permission is granted to reprint this
document (but not for profit), provided that copyright notice is given.
Qedit and Suprtool are trademarks of
Robelle Solutions Technology Inc. Windows is a trademark of Microsoft
Corporation. Other product and company names mentioned herein may be the
trademarks of their respective owners.
Robelle Solutions Technology Inc.
7360 – 137 Street, Suite 372
Surrey, B.C. Canada V3W 1A3
Phone: 604.501.2001
Fax: 604.501.2003
E-mail: sales@robelle.com
E-mail: support@robelle.com
Web: www.robelle.com
Contents
Qedit 6.5 for HP-UX. i
User Manual. i
Contents. i
Welcome to Qedit. 9
Introduction. 9
Documentation. 10
User
Manual 10
Printed
Documentation. 10
Additional Software. 10
Qcat 10
Qaccess. 11
Compare. 11
Notation. 11
Highlights. 13
Highlights In
Version 6.5. 13
Highlights In Version 6.3. 13
Highlights
In Version 6.2. 13
Highlights
In Version 6.1. 14
Highlights In Version 6.0. 14
Highlights In Version 5.9. 14
Installing Qedit/UX. 15
General Installation Notes. 15
Who Should Use These Instructions?. 15
Summary of Installation Steps. 15
Step 1: Log On as Root. 15
Step 2: Create Robelle Directory. 16
Step 3: Restore Files. 16
Step 4: Set Up PATH (Optional) 16
Step 5: Start the Qedit for Windows Server (optional) 16
Getting a Quick Start with HP Full-Screen Editing. 19
Introduction. 19
Starting Visual Mode. 20
Screen Layout. 21
Home Line. 22
Status Line. 22
Text Lines. 22
Template Line. 22
Special Indicator Columns. 23
Using Your Keyboard. 23
Moving the Cursor 23
Editing the Text Lines. 24
Control Functions. 24
Reflection for DOS Keyboards. 25
Other PC Keyboards. 25
Function Keys. 26
Browsing Through Your File. 27
Cut-and-Paste. 28
Cutting Operations. 28
Pasting Operations. 29
Resetting Cut-and-Paste. 29
Copying a Block of Text 29
Cut-and-Paste Between Files. 30
Dividing and Gluing Operations. 31
Dividing Lines in Visual Mode. 31
Gluing Lines in Visual Mode. 31
Excluding Lines From Visual Mode Display. 32
Justifying Lines in Visual Mode. 32
Renumbering Lines. 33
Inserting Blank Lines. 33
Hold Files. 33
Marking Changes Without Using Line Numbers. 33
Paste from a Non-Qedit File. 34
Home Line Commands. 34
Finding Strings. 35
Changing Strings. 35
Help on Visual Mode. 35
Formatting Paragraphs. 36
Undoing Changes in Visual Mode. 36
Refreshing the Screen. 36
Other Line Mode Commands. 37
Truncated Home Line. 37
Exit from Visual 37
Getting a Quick Start with VT Full-Screen Editing. 39
Introduction. 39
Home and End keys. 39
Starting Screen Mode. 40
Troubleshooting. 40
Screen Layout. 40
Status Line. 41
Text Lines. 41
Message Line. 41
Using Your Keyboard. 42
Moving the Cursor 42
Editing the Text Lines. 43
Control Functions. 44
Browsing Through Your File. 44
Cut-and-Paste. 45
Resetting Cut-and-Paste. 45
Copying a Block of Text 45
Splitting and Joining Lines. 46
Getting a Quick Start with Line Mode Editing. 47
Introduction. 47
Adding Lines to a File. 47
Looking at the File. 48
Browsing the File. 49
Searching the File. 49
Editing Lines. 50
Global Changes. 52
Copying Lines. 53
Moving Lines. 53
Deleting Lines. 54
Help Command. 54
Saving the File. 55
Open and Shut for Instant Access. 55
Running Qedit under HP-UX. 57
Running Qedit. 57
Visual Mode for HP Terminals. 57
Screen Mode for VT Terminals. 58
Edit Several Files at Once. 58
How to Edit Several Files?. 59
Starting a New Scratch File. 59
Configuring Different Shells. 59
Bourne and Korn Shells. 59
C Shell 60
Setting Up a PATH for Qedit. 60
Bourne and Korn Shells. 60
C Shell 61
Control Characters and stty. 61
Qeditmgr Configuration Files. 61
Default Set Commands. 62
On-Line vs. Batch Access. 62
Command Line Options. 62
Initial Command Line:
-ccmdstring. 63
Editing a Single File:
-s. 63
Exit with Verify:
-v. 63
"Discard Changes?" on Exit 63
HP-UX Notes. 64
EDITOR Variable. 64
Scratch File. 64
Hold Files. 65
Shell Commands. 65
Shell Command History. 66
Tab Stops. 67
Hardcoded File Names. 67
/opt/robelle/qeditmgr 67
$HOME/.qeditmgr 68
/opt/robelle/help/qedit 68
Visual Mode. 68
Variables that Drive Qedit 68
Setting Variables in Your Shell 69
RCRTMODEL Variable. 69
RPCVERSION Variable. 72
RCRTWIDTH Variable. 73
Function Key Labels. 73
RCRTSTRAPSGH for Handshaking. 73
QEDITMGRTRACE Variable. 74
QEDCURWFILE Variable. 74
QEDSTOREDPWD and QEDPROMPTEDPWD Variables. 74
ROBELLE Environment Variable. 75
Converting Qedit Files with qcat. 76
Differences Between MPE and HP-UX. 76
Open/Shut 76
Current "*" File Name. 76
Missing Features. 76
Qedit for Microsoft Windows. 79
Introduction. 79
Server Process. 79
HP-UX 10.0. 79
Port Number 81
Log Files. 81
Console Messages. 81
Access Log. 82
Error Log. 82
Trace Log. 82
Log File Names. 82
Qedit Issues and Solutions. 85
Running Qedit with Reflection. 85
Alt-Y vs. :Reflect 85
Form Feed Causing Return/Line Feed. 86
Completion Codes. 86
Controlling the PC. 86
Accidental Exit from Reflection. 86
Changing the Exit Keystroke. 87
Files without NewLine Characters. 88
Lines, Strings and Ranges. 89
Qedit Commands. 91
Introduction. 91
General Notes. 91
Abbreviations. 91
Uppercase or Lowercase. 92
Multiple Commands per Line. 92
Comments on Command Lines. 92
Stopping Commands with Control-Y. 93
Implicit Commands. 93
Function Keys. 93
Shell Commands. 94
Calculator Commands. 94
Add Command [A] 95
Add (Adding New Lines) 95
Add (Adding a String as a Line) 97
Add (Copying Lines within a File) 97
Add (Moving Lines within a File) 98
Add (Copying Lines Between Files) 99
Append Command [AP] 101
Backward Command [BA/F5] 102
Before Command [B] 103
CD Command [CD] 105
Change Command [C] 106
Change (Changing Strings) 106
Change (Changing Columns) 109
Close Command [CL] 111
Colcopy Command
[COL] 112
Colmove Command
[COLM] 115
Delete Command [D] 118
Destroy Command [DES] 120
Divide Command [DI] 121
:Do Command [DO] 122
Exit Command [E/F8] 123
Find Command [F/F4] 124
Findup Command [FINDU/F3] 126
Form Command
[FORM] 127
Forward Command [FO/F6] 128
Garbage Command [GAR] 129
Glue Command [G] 130
Help Command [H/?] 131
Hold Command [HO] 132
Justify Command [J] 134
Keep Command [K] 141
List Command [L] 145
:Listredo Command [LISTREDO/F7] 158
:Listundo Command [LISTU] 159
LS Command [LS] 160
Lsort Command [LSO] 161
Merge Command [ME] 162
Modify Command [M] 164
New Command [N] 177
Open Command [O] 178
Proc Command [P] 182
Q Command [Q] 183
:Redo Command [REDO] 184
:Reflect Command [REFLECT] 186
Renumber Command [REN] 188
Replace Command [R] 189
Set Command [S] 190
Account 192
Alias. 192
Autocont 194
Check. 195
Decimal 195
DL size. 196
Editinput 196
Expandtabs. 197
Extentsize. 197
Extprog. 197
Filename. 198
FORTRAN.. 198
Halfbright 198
Hints. 199
Hppath. 199
Increment 199
Interactive. 199
Justify. 200
Keep. 200
Language. 203
Left 206
Length. 207
Lib. 207
Limits. 207
List 208
Maxdata. 208
Modify. 208
Open. 211
Pattern. 211
Priority. 212
Prompt 212
Redo. 212
Right 214
RL file name. 214
Shift 214
Spell 214
Statistics. 215
Stringdelimiters. 215
Tabs. 216
Term.. 217
Text 217
Totals. 219
UDC. 220
Undo. 220
Varsub. 220
Visual 222
Warnings. 235
Whichcomp. 235
Window.. 235
Work. 236
Wraparound. 238
X. 238
Zip. 243
Shut Command [SH] 244
Spell Command [SP] 245
Text Command [T] 246
Undo Command [UN] 252
Up Command [UP/F2] 254
Use Command [U] 255
Verify Command [V] 256
Visual Command [VI/F1] 257
Words Command [W] 260
Zave Command [Z] 261
ZZ Command. 262
Calculator Command [=] 263
Troubleshooting and Error Messages. 267
Introduction. 267
Messages. 267
Quit Errors. 270
Errors in Visual. 270
Using Visual with X.25. 270
Using Visual on HP-UX. 270
Terminals Supported by Visual 270
Problems with 700/9x Terminals. 271
Visual Error Messages. 271
File Formats. 275
Introduction. 275
Qedit Workfiles. 275
Original Format Workfiles. 275
Jumbo Workfiles. 276
External Files. 277
Regular Expressions. 281
Introduction. 281
Metacharacters. 281
Character Class. 283
Escape Character. 285
Escaped Sequences in Regular Expressions. 286
Backreferences in Regular Expressions. 287
Escaped Characters in Replacement String. 288
Qedit Glossary. 289
Introduction. 289
Terms. 289
Abbreviating. 289
Batch. 289
Calculator 290
Column. 290
Command. 291
Control Character 291
CRT. 292
Current Line. 292
Defaults. 292
External File. 292
File Names. 293
Full-Screen Editing. 293
Hold File. 293
J Option. 294
Jumbo Files. 294
Keep File. 294
Language. 294
Left 295
Length. 295
Line. 295
Linenum.. 295
Margins. 296
Memory Lock. 296
Patterns. 297
Quiet-Q Option. 298
Range. 298
Rangelist 298
Relative Line Numbers. 300
Right 300
Shifting. 301
String. 301
Tab. 301
Template-T Option. 302
Visual Editing. 302
Window.. 302
Workfile. 303
Special Characters. 304
? Means Help, Nonprinting Characters, Alphanumeric (in
Patterns) or Optional (in Regexp) 304
$ Means Hex, Memory Lock, List Option, Previous File or
End-Of-Line (in Regexp) 304
^ Means Findup, Control-Char, Start-of-line (in Regexp)
or Negate (in Regexp) 305
. Means Nonprinting, Reset, Decimal Point or Any
Character (in Regexp) 306
! Means Shell Script or Too Long. 306
% Means Octal or String. 306
* Means Current, Refresh, Multiply or Quantifier (in
Regexp) 306
\ Means Previous, String, Literal Match (in Regexp) or
Special Characters (in Regexp) 307
/ Means Prompt, Range Delimiter, Stop, Exit, or Divide. 308
[ Means FIRST, [default] or Start Class (in Regexp) 308
] Means LAST or End Class (in Regexp) 309
{ } Are for Comments or Indentation. 309
@ Means ALL. 309
& Means Literal Match. 310
: Means Shell Commands or String. 310
; Means Multiple Commands. 310
, Means a List 311
= Means Copy or Calculate. 311
< Means Move, I/O Redirection or Backward Page. 311
> Means Forward Page, I/O Redirection, Modify or Qhelp. 311
" Means String. 312
( Means Start Parameter, Command or Subpattern (in
Regexp) 312
) Means End Parameter, Command or Subpattern (in Regexp) 312
+ Means Ahead Some Lines, Add or Quantifier (in Regexp) 313
- Means Back Some Lines, Minus or Range (in Regexp) 313
# Means Numeric Pattern. 314
~ Means Spaces (Pattern), Recent Page or Field. 314