Qedit 5.8 for HP e3000

User Manual

Doc-To-Help Standard Manual


 

Program and manual copyright © 1977-2005 Robelle Solutions Technology Inc.

Permission is granted to reprint this document (but not for profit), provided that copyright notice is given.

Updated Friday, August 08, 2008

 

 

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.

I

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

 

Welcome to Qedit 1

Introduction. 1

Documentation. 2

Change Notice. 2

Printed Documentation. 2

Documentation Download. 2

Other Documentation. 2

Printdoc Program.. 2

Other Manuals of Interest 2

Customer Support 3

Robelle Newsletter 3

QLIB and Bonus Contributed Software. 3

Notation. 4

New to Qedit 5.8. 5

Installing Qedit 7

General Installation Notes. 7

Who Should Use These Instructions?. 7

Summary of Installation Steps. 7

Qedit Compiler Interfaces. 7

Important Note About Passwords. 8

STREAMX Users. 8

Step 1: Install Qedit 8

Step 2: Install QLIB and Bonus Programs. 9

Building the Spell Dictionary. 10

Step 3: Install NM Compiler Interface. 10

Installing the Interface. 10

Compiling Instructions. 11

Step 4: Install CM Compiler Interface. 11

Choosing a CM Installation Method. 11

Integrating CM Compiler Changes. 11

Isolating CM Compiler Changes. 12

Step 5: Saving Disc Space. 12

Purging Obsolete Files. 12

Minimal Set of Files. 12

Moving Qedit to Another Account 13

Moving All the Files. 13

Redirecting the File Names. 14

Moving a "Hooked" Qedit 14

Running the MPEXHOOKed Qedit 14

Removing the Compiler Interface. 15

Removing the NM Interface. 15

Removing the Integral CM Interface. 15

Removing the Isolated CM Interface. 16

Getting a Quick Start with HP Full-Screen Editing   17

Introduction. 17

Starting Visual Mode. 18

Screen Layout 19

Home Line. 19

Status Line. 19

Text Lines. 19

Template Line. 19

Special Indicator Columns. 20

Using Your Keyboard. 20

Moving the Cursor 20

Editing the Text Lines. 20

Control Functions. 21

Reflection for DOS Keyboards. 21

Other PC Keyboards. 22

Function Keys. 22

Browsing Through Your File. 23

Cut-and-Paste. 24

Cutting Operations. 24

Pasting Operations. 25

Resetting Cut-and-Paste. 25

Copying a Block of Text 25

Cut-and-Paste Between Files. 26

Dividing and Gluing Operations. 26

Dividing Lines in Visual Mode. 26

Gluing Lines in Visual Mode. 27

Excluding Lines From Visual Mode Display. 27

Justifying Lines in Visual Mode. 28

Renumbering Lines. 28

Inserting Blank Lines. 28

Hold Files. 28

Marking Changes Without Using Line Numbers. 28

Paste from a Non-Qedit File. 29

Home Line Commands. 29

Finding Strings. 29

Changing Strings. 30

Help on Visual Mode. 30

Compile, Link, and Run. 30

Formatting Paragraphs. 31

Undoing Changes in Visual Mode. 31

Refreshing the Screen. 31

Other Line Mode Commands. 31

Truncated Home Line. 32

Exit from Visual 32

Getting a Quick Start with Line Mode Editing   33

Introduction. 33

Adding Lines to a File. 33

Looking at the File. 34

Browsing the File. 35

Searching the File. 35

Editing Lines. 36

Global Changes. 37

Copying Lines. 38

Moving Lines. 38

Deleting Lines. 39

Help Command. 39

Saving the File. 40

Open and Shut for Instant Access. 40

Running Qedit under MPE   41

Introduction. 41

Edit in Line Mode or in Full-Screen Mode. 41

Edit Several Files at Once. 42

Qeditmgr Configuration Files. 42

Limiting Compile Priority. 43

Default Set Commands. 43

Using Qedit in Batch. 43

Summary of Parm= Values. 44

From the Posix Shell 44

Exit and Entry Options. 44

Exit with Verify. 45

Info= First File to Edit 45

Random Name for Primary Scratch File. 45

"Discard Changes?" on Exit 45

Info= "-p 99" Specifies Parm Value. 45

Info= "-c cmdstring". 46

Parm 512 to Edit a Single File. 46

Info= An Empty File to Fill 47

Info= Temporary File. 47

Info= Can Create New Files. 47

Parm Values to Suspend or Not 47

Info= Commands Only. 48

Basicentry Option. 48

JCWs That Drive Qedit 49

RCRTMODEL JCW... 49

RPCVERSION JCW... 50

RCRTWIDTH JCW... 51

RCRTSTRAPSGH for Handshaking. 51

RLABELDEFAULT JCW... 53

QEDITMGRTRACE JCW... 53

QEDPARMBITS JCW... 53

QEDCURWFILE Variable. 54

QEDSTOREDPWD and QEDPROMPTEDPWD Variables. 54

Qedit for Microsoft Windows  55

Introduction. 55

Server Process. 55

Logon Sequence. 55

QEDSERVMODE JCW... 56

Log Files. 56

Qedit Issues and Solutions  59

Running Qedit with Reflection. 59

RPCVERSION JCW... 59

Using a Command File to Start Up. 59

Alt-Y vs. :Reflect 60

Qedit and Reflection File Transfers. 60

Form Feed Causing Return/Line Feed. 61

Typeahead and Visual Mode. 61

Completion Codes. 61

Controlling the PC.. 62

Accidental Exit from Reflection. 62

Changing the Exit Keystroke. 62

Running Qedit in MPE/iX.. 63

Unresolved Externals on MPE/iX 4.0. 63

Compiling on MPE/iX.. 63

XDB: the Symbolic Debugger 63

Command Files and Variables. 64

Visual Mode. 64

EOF vs. LIMIT.. 64

Disc Space for Files and Xltrim.. 64

Extents. 64

Qedit as the HPDesk Editor 65

Configuring HPDesk. 65

Configuring Qedit in HPDesk. 65

DeskQed. 65

Getting Programs to Read Qedit Files. 66

Qinput 67

Qcompxl 67

Qeditaccess Subroutine. 67

Qedify. 67

Qedify and $Include. 68

Editing Wide Files. 69

Using the New Command. 69

Using the Text Command. 69

Lines, Strings and Ranges. 70

Using Qedit with MPE Programming Languages  73

Introduction. 73

Editerr: Trapping Compiler Errors. 73

Limitations and Restrictions. 74

Linking PowerHouse with Qedit 75

Invoking PowerHouse from Qedit 75

Configuring Qedit as Your Editor 76

Editing PowerHouse Subfiles. 77

COBOL. 77

Selecting a Compiler 77

Sequence Numbers and Comments. 77

Tagging Source Changes. 78

Copylib Members. 78

Trapping Syntax Errors. 78

FORTRAN.. 78

Pascal 79

C Language. 79

SPL. 80

TRANSACT.. 80

RPG.. 80

BASIC.. 81

Segmenter 81

Common Uses of Qedit 83

Introduction. 83

Qedit as Word Processor 83

QNote UDC for Occasional Memos. 83

Justify Capability. 83

Check Spelling. 84

Prose: A Text Processor 85

Using TDP from within Qedit 86

Qedit as a File Utility. 86

Sorting a Range of Lines. 86

Searching Groups of Files for Strings. 86

Editing Data Files. 87

Editing Program Files. 89

Qedit as an Operations Tool 89

Editing Stream Files. 89

Native-Mode Output Spool Files. 90

Editing Bells, Tabs and Escapes. 90

Aborting All Users to Back Up. 90

Qedit Commands  93

Introduction. 93

General Notes. 93

Abbreviations. 93

Uppercase or Lowercase. 93

Multiple Commands per Line. 94

Comments on Command Lines. 94

STREAMX Warning. 94

Stopping Commands with Control-Y.. 95

Implicit Commands. 95

Function Keys. 95

Command Files and UDCs. 96

MPE Commands. 96

Differences from MPE. 96

Calculator Commands. 97

QEDITCOUNT JCW... 97

QEDCURWFILE Variable. 97

External Program Commands. 97

:Activate Command [AC/:A] 98

Add Command [A] 99

Add (Adding New Lines) 99

Add (Adding a String as a Line) 101

Add (Copying Lines within a File) 101

Add (Moving Lines within a File) 102

Add (Copying Lines Between Files) 103

Append Command [AP] 105

Backward Command [BA/F5] 106

Before Command [B] 107

:Beginfile and :Endfile Commands. 109

Change Command [C] 110

Change (Changing Strings) 110

Change (Changing Columns) 113

Close Command [CL] 114

Colcopy Command  [COL] 115

Colmove Command  [COLM] 118

:Compile Command [CO/:C] 121

Delete Command [D] 124

Destroy Command [DES/:D] 126

:Display Command [DISPLAY] 127

Divide Command [DI] 128

:Do Command [DO] 129

:Editerror Command [EDITERROR] 130

:Escape Command [ESCAPE] 132

Exit Command [E/F8] 133

Find Command [F/F4] 134

Findup Command [FINDU/F3] 136

Form Command [FORM]